package
4.0.2-stable+incompatible
Repository: https://github.com/algorand/go-algorand.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
Eval is the main evaluator entrypoint (in addition to StartEvaluator) used by Ledger.Validate() Ledger.AddBlock() Ledger.trackerEvalVerified()(accountUpdates.loadFromDisk())
Validate: Eval(ctx, l, blk, true, txcache, executionPool) AddBlock: Eval(context.Background(), l, blk, false, txcache, nil) tracker: Eval(context.Background(), l, blk, false, txcache, nil).
MakeDebugBalances creates a ledger suitable for dryrun and debugger.
MakeTxnGroupDeltaTracer creates a TxnGroupDeltaTracer.
StartEvaluator creates a BlockEvaluator, given a ledger and a block header of the block that the caller is planning to evaluate.
# Variables
ErrNotInCowCache is returned when a lookup method requests a cached value, but it can't be found.
ErrRoundZero is self-explanatory.
# Structs
BlockEvaluator represents an in-progress evaluation of a block against the ledger.
EvaluatorOptions defines the evaluator creation options.
StateDeltaSubset exports a subset of ledgercore.StateDelta fields for a sparse encoding.
TxnGroupDeltaTracer collects groups of StateDelta objects covering groups of txns.
TxnGroupDeltaWithIds associates all the Ids (group and Txn) with a single state delta object
revive:disable:var-naming.
# Interfaces
LedgerForCowBase represents subset of Ledger functionality needed for cow business.
LedgerForEvaluator defines the ledger interface needed by the evaluator.