Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockHeightReporter ¶ added in v0.7.1
type BlockHeightReporter interface {
IncrementTo(height primitives.BlockHeight)
}
type ChainState ¶
type ChainState map[primitives.ContractName]ContractState
type StatePersistence ¶
type StatePersistence interface { Write(height primitives.BlockHeight, ts primitives.TimestampNano, proposer primitives.NodeAddress, root primitives.Sha256, diff ChainState) error Read(contract primitives.ContractName, key string) ([]byte, bool, error) ReadMetadata() (primitives.BlockHeight, primitives.TimestampNano, primitives.NodeAddress, primitives.Sha256, error) }
Click to show internal directories.
Click to hide internal directories.