package
0.0.0-20190422181059-ff6bfbe53892
Repository: https://github.com/chain/txvm.git
Documentation: pkg.go.dev

# Functions

Copy makes a copy of provided snapshot.
Empty returns an empty state snapshot.

# Variables

ErrConflictingNonce means ApplyTx encountered a transaction with a nonce already in the blockchain state.
ErrEmptyState means ApplyTx was called on an uninitialized blockchain state.
ErrNonceReference means a nonce referenced a non-recent, non-initial block ID.
ErrPrevout means a transaction tried to input a contract with an unknown ID.
ErrUnfinalized means a transaction with no finalize instruction is being applied to a snapshot.

# Structs

Snapshot represents a snapshot of the blockchain, including the contracts tree and issuance memory.
Snapshot contains a blockchain's state.