Object/Trait

sigmastate.interpreter

Interpreter

Related Docs: trait Interpreter | package interpreter

Permalink

object Interpreter

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

Type Members

  1. case class ReductionResult(value: SigmaBoolean, cost: Long) extends Product with Serializable

    Permalink

    Result of ErgoTree reduction procedure by JIT-based interpreter (see fullReduction, reduceToCrypto and friends).

    Result of ErgoTree reduction procedure by JIT-based interpreter (see fullReduction, reduceToCrypto and friends).

    value

    the value of SigmaProp type which represents a logical statement verifiable via sigma protocol.

    cost

    the estimated cost of the contract execution (in block's scale).

  2. type ScriptEnv = Map[String, Any]

    Permalink

    Represents properties of interpreter invocation.

  3. type VerificationResult = (Boolean, Long)

    Permalink

    Result of Box.ergoTree verification procedure (see verify method).

    Result of Box.ergoTree verification procedure (see verify method). The first component is the value of Boolean type which represents a result of SigmaProp condition verification via sigma protocol. The second component is the estimated cost of contract execution.

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 ComputeCommitments_DHT: OperationCostInfo[FixedCost]

    Permalink

    Represents the cost of computing DiffieHellmanTupleInteractiveProver.computeCommitment.

  5. final val ComputeCommitments_Schnorr: OperationCostInfo[FixedCost]

    Permalink

    Represents the cost of computing DLogInteractiveProver.computeCommitment.

  6. final val Eval_SigmaPropConstant: OperationCostInfo[FixedCost]

    Permalink

    Represents the cost spent by JIT evaluator on a simple ErgoTree containing SigmaPropConstant.

    Represents the cost spent by JIT evaluator on a simple ErgoTree containing SigmaPropConstant. It doesn't include cost of crypto verification.

  7. final val ProveDHTupleVerificationCost: JitCost

    Permalink

    Verification cost of each ProveDHTuple node of SigmaBoolean proposition tree.

  8. final val ProveDlogVerificationCost: JitCost

    Permalink

    Verification cost of each ProveDlog node of SigmaBoolean proposition tree.

  9. val ScriptNameProp: String

    Permalink

    Property name used to store script name.

  10. def WhenSoftForkReductionResult(cost: Long): ReductionResult

    Permalink

    The result of script reduction when soft-fork condition is detected by the old node, in which case the script is reduced to the trivial true proposition and takes up 0 cost.

  11. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. val emptyEnv: ScriptEnv

    Permalink

    Empty interpreter properties.

  14. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  16. def error(msg: String): Nothing

    Permalink

    Helper method to throw errors from Interpreter.

  17. def estimateCryptoVerifyCost(sb: SigmaBoolean): JitCost

    Permalink

    Computes the estimated cost of verification of sigma proposition.

    Computes the estimated cost of verification of sigma proposition. The cost is estimated ahead of time, without actually performing expencive crypto operations.

    sb

    sigma proposition

    returns

    estimated cost of verification of the given proposition in JIT scale

  18. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  21. val interpreterInitCost: Int

    Permalink

    Initial cost of instantiating an interpreter and creating ErgoLikeContext.

    Initial cost of instantiating an interpreter and creating ErgoLikeContext. Added once per transaction.

  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. final def ne(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  27. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  28. val verifySignatureProfiler: Profiler

    Permalink

    An instance of profiler used to measure cost parameters of verifySignature operations.

  29. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped