Size of data block in bytes.
Size of data block in bytes. Used in JIT cost calculations.
Default global EvalSettings instance.
A profiler which is used by default if EvalSettings.isMeasureOperationTime is enabled.
Empty data environment.
Helper method to compute cost details for the given method call.
Evaluate the given expression in the given Ergo context using the given settings.
Evaluate the given expression in the given Ergo context using the given settings. The given Value is evaluated as-is and is not changed during evaluation.
special.sigma.Context instance used for script execution
CostAccumulator instance used for accumulating costs
collection of segregated constants which can be refered by
ConstantPlaceholders in exp
ErgoTree expression represented as sigmastate.Values.Value
evaluation settings
1) the result of evaluating exp
in a given context and
2) an accumulated JIT cost estimation.
Evaluate the given expression in the given Ergo context using the given settings.
Evaluate the given expression in the given Ergo context using the given settings. The given Value is evaluated as-is and is not changed during evaluation.
ErgoLikeContext used for script execution
collection of segregated constants which can be refered by
ConstantPlaceholders in exp
ErgoTree expression represented as Value
evaluation settings
1) the result of evaluating exp
in a given context and
2) an accumulated JIT cost estimation.
Evaluate the given ErgoTree in the given Ergo context using the given settings.
Evaluate the given ErgoTree in the given Ergo context using the given settings. The given ErgoTree is evaluated as-is and is not changed during evaluation.
ErgoLikeContext used for script execution
script represented as ErgoTree
evaluation settings
a sigma protocol proposition (as SigmaBoolean) and accumulated JIT cost estimation.
Creates a new ErgoTreeEvaluator instance with the given profiler and settings.
Creates a new ErgoTreeEvaluator instance with the given profiler and settings.
The returned evaluator can be used to initialize the currentEvaluator
variable.
As a result, cost-aware operations (code blocks) can be implemented, even when those
operations don't involve ErgoTree evaluation.
As an example, see methods in sigmastate.SigSerializer and
sigmastate.FiatShamirTree where cost-aware code blocks are used.
Returns a current evaluator for the current thread.