Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Account ¶
type Account struct { Nonce uint64 Address string PublicKey string StateRoot string AddressHash cmn.HexBytes Balance uint64 Erc20Address string LastBlockHeight uint64 ExternalNonce uint64 EBalances map[string]map[string]EBalance FirstExternalAddress map[string]string LockedBalance map[string]map[string]uint64 }
Account : Account Detail
type EBalance ¶
EBalance is external balance model
func (*EBalance) UpdateBalance ¶
UpdateBalance sets EBalance's balance.
func (*EBalance) UpdateBlockHeight ¶
UpdateBlockHeight sets EBalance's last block height.
func (*EBalance) UpdateNonce ¶
UpdateNonce sets EBalance's nonce.
type OldAccount ¶
type Trie ¶
type Trie interface { TryGet(key []byte) ([]byte, error) TryUpdate(key, value []byte) error TryDelete(key []byte) error Commit(onleaf trie.LeafCallback) ([]byte, error) Hash() []byte //common.Hash NodeIterator(startKey []byte) trie.NodeIterator GetKey([]byte) []byte }
Trie modified referring Ethereum Merkle Patricia Trie.
Click to show internal directories.
Click to hide internal directories.