Packages

o

sigmastate

FiatShamirTree

object FiatShamirTree

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FiatShamirTree
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final val ToBytes_DHT: OperationCostInfo[FixedCost]

    Represents cost of serializing UncheckedDiffieHellmanTuple or UnprovenDiffieHellmanTuple node of ProofTree.

  5. final val ToBytes_ProofTreeConjecture: OperationCostInfo[FixedCost]

    Represents cost of serializing ProofTreeConjecture node of ProofTree.

  6. final val ToBytes_Schnorr: OperationCostInfo[FixedCost]

    Represents cost of serializing UncheckedSchnorr or UnprovenSchnorr node of ProofTree.

  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. val internalNodePrefix: Byte

    Prefix byte which is put before the other ProofTreeConjecture serialized bytes.

  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. val leafPrefix: Byte

    Prefix byte which is put before the other ProofTreeLeaf serialized bytes.

  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  21. def toBytes(tree: ProofTree, w: SigmaByteWriter)(implicit E: ErgoTreeEvaluator): Unit

    Prover Step 7: Convert the tree to a byte array s for input to the Fiat-Shamir hash function.

    Prover Step 7: Convert the tree to a byte array s for input to the Fiat-Shamir hash function. The conversion should be such that the tree can be unambiguously parsed and restored given the array. For each non-leaf node, the string should contain its type (OR or AND). For each leaf node, the string should contain the Sigma-protocol statement being proven and the commitment. The string should not contain information on whether a node is marked "real" or "simulated", and should not contain challenges, responses and/or the real/simulated flag for any node.

    tree

    the tree to take commitments from

    w

    writer which is used for serialization

    E

    optional evaluator (can be null) which is used for profiling of operations. When E is null, then profiling is turned-off and has no effect on the execution. HOTSPOT: don't beautify the code

  22. def toBytes(tree: ProofTree)(implicit E: ErgoTreeEvaluator): Array[Byte]

    Prover Step 7: Convert the tree to a byte array s for input to the Fiat-Shamir hash function.

    Prover Step 7: Convert the tree to a byte array s for input to the Fiat-Shamir hash function. See the other overload for detailed docs.

  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped