package eval
- Alphabetic
- By Inheritance
- eval
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- trait AvlTreeVerifier extends AnyRef
Represents a verifier of authenticated AVL+ tree created from a proof.
Represents a verifier of authenticated AVL+ tree created from a proof. The verifier holds the tree data parsed from the proof.
- abstract class CostDetails extends AnyRef
Abstract representation of cost results obtained during evaluation.
- abstract class ErgoTreeEvaluator extends AnyRef
- case class EvalSettings(isMeasureOperationTime: Boolean, isMeasureScriptTime: Boolean, isDebug: Boolean = false, isLogEnabled: Boolean = false, costTracingEnabled: Boolean = false, profilerOpt: Option[Profiler] = None, isTestRun: Boolean = false, printTestVectors: Boolean = false, evaluationMode: Option[EvaluationMode] = None, scriptCostLimitInEvaluator: Int = 1000000) extends Product with Serializable
Configuration parameters of the evaluation run.
- case class GivenCost(cost: JitCost, actualTimeNano: Option[Long] = None) extends CostDetails with Product with Serializable
Result of cost evaluation represented using simple given value.
Result of cost evaluation represented using simple given value. Used to represent cost of AOT costing.
- cost
the given value of the total cost
- actualTimeNano
measured time of execution (if some)
- abstract class Profiler extends AnyRef
- case class TracedCost(trace: Seq[CostItem], actualTimeNano: Option[Long] = None) extends CostDetails with Product with Serializable
Detailed results of cost evaluation represented by trace.
Detailed results of cost evaluation represented by trace. NOTE: the
trace
is obtained during execution of ErgoTree operations.- trace
accumulated trace of all cost items (empty for AOT costing)
- actualTimeNano
measured time of execution (if some)
Value Members
- val SigmaDsl: CSigmaDslBuilder.type
The primary reference to Global instance of SigmaDsl.
The primary reference to Global instance of SigmaDsl. Besides operations of SigmaDslBuilder class, this instance also contains methods, which are not available in Dsl code, and which are not in SigmaDslBuilder interface. For example methods like
Box
,toErgoBox
are available here, but not available in Dsl.- See also
SigmaDslBuilder
- def ensureTypeCarringValue(v: Any, tT: RType[Any]): Any
Encapsulate platform-specific logic of ensuring the value carries its precise type.
Encapsulate platform-specific logic of ensuring the value carries its precise type. For JVM this is identity function. For JS it can transform to AnyValue, if the type is numeric
- object CostDetails
- object ErgoTreeEvaluator
- object EvalSettings extends Serializable
- object Extensions