Documentation ¶
Index ¶
- Constants
- func LoadAccountState(ws state.WorkingSet, addrHash hash.PKHash) (*state.Account, error)
- func LoadOrCreateAccountState(ws state.WorkingSet, addr string, init *big.Int) (*state.Account, error)
- func SetNonce(act action.Action, state *state.Account)
- func StoreState(ws state.WorkingSet, addr string, state state.State) error
- type Protocol
Constants ¶
View Source
const TransferSizeLimit = 32 * 1024
TransferSizeLimit is the maximum size of transfer allowed
Variables ¶
This section is empty.
Functions ¶
func LoadAccountState ¶
LoadAccountState loads an account state
func LoadOrCreateAccountState ¶
func LoadOrCreateAccountState(ws state.WorkingSet, addr string, init *big.Int) (*state.Account, error)
LoadOrCreateAccountState either loads an account state or creates an account state
func StoreState ¶
StoreState put updated state to trie
Types ¶
Click to show internal directories.
Click to hide internal directories.