package
0.0.0-20210730035956-6ee08864794d
Repository: https://github.com/fletaio/fleta_v1.git
Documentation: pkg.go.dev
# Functions
BuildLevelRoot returns the level root hash.
HashTransaction returns the hash of the transaction.
HashTransactionByType returns the hash of the transaction using the type.
NewBlockCreator returns a BlockCreator.
NewChain returns a Chain.
NewStore returns a Store.
# Variables
errors.
errors.
errors.
errors.
errors.
errors.
errors.
errors.
errors.
errors.
errors.
errors.
errors.
errors.
errors.
errors.
errors.
errors.
errors.
errors.
errors.
errors.
errors.
errors.
errors.
errors.
# Structs
BlockCreator helps to create block.
Chain manages the chain data using processes.
ConsensusBase is a base handler of the chain consensus.
Store saves the target chain state All updates are executed in one transaction with FileSync option.
# Interfaces
AccountTransaction defines common functions of account model based transactions.
Committer enables to commit block with pre-executed context.
Consensus defines chain consensus functions.