Object

sigmastate

FiatShamirTree

Related Doc: package sigmastate

Permalink

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final val ToBytes_DHT: OperationCostInfo[FixedCost]

    Permalink

    Represents cost of serializing UncheckedDiffieHellmanTuple or UnprovenDiffieHellmanTuple node of ProofTree.

  5. final val ToBytes_ProofTreeConjecture: OperationCostInfo[FixedCost]

    Permalink

    Represents cost of serializing ProofTreeConjecture node of ProofTree.

  6. final val ToBytes_Schnorr: OperationCostInfo[FixedCost]

    Permalink

    Represents cost of serializing UncheckedSchnorr or UnprovenSchnorr node of ProofTree.

  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  14. val internalNodePrefix: Byte

    Permalink

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

  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. val leafPrefix: Byte

    Permalink

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

  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  21. def toBytes(tree: ProofTree, w: SigmaByteWriter)(implicit E: ErgoTreeEvaluator): Unit

    Permalink

    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]

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped