package
3.1.4+incompatible
Repository: https://github.com/maxinyugh/theta-protocol-ledger.git
Documentation: pkg.go.dev

# Functions

AreChainsEqual returns whehter two chains are the same.
AssertChainsEqual asserts that two chains are the same.
AssertChainsNotEqual asserts that two chains are not the same.
No description provided by the author
CreateTestChain creates a chain for testing.
CreateTestChainByBlocks creates a chain with given string slice in format: [block1_hash, block1_parent_hash, block2_hash, block1_parent_hash, ...].
NewChain creates a new Chain instance.

# Structs

No description provided by the author
Chain represents the blockchain and also is the interface to underlying store.
TxIndexEntry is a positional metadata to help looking up a transaction given only its hash.
TxReceiptEntry records smart contract Tx execution result.