package
1.0.0
Repository: https://github.com/bytom/bystack.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
Package storage is a generated protocol buffer package.

# Functions

CalcBlockHashesKey make up hashes key with prefix + height.
CalcBlockHeaderKey make up header key with prefix + hash.
CalcBlockTransactionsKey make up txs key with prefix + hash.
CalcContractKey calculate contract key.
No description provided by the author
GetBlockHashesByHeight return block hashes by given height.
GetBlockHeader return the block header by given hash.
GetBlockTransactions return the block transactions by given hash.
GetMainChainHash return BlockHash by given height.
NewStore creates and returns a new Store object.
No description provided by the author

# Variables

BlockHashesKeyPrefix key Prefix.
BlockStoreKey block store key.
No description provided by the author
No description provided by the author

# Structs

A Store encapsulates storage for blockchain validation.