package
0.0.0-20210528025807-a826b3808dd2
Repository: https://github.com/blockchainworkers/conch.git
Documentation: pkg.go.dev
# Functions
CanTransfer checks wether there are enough funds in the address' account to make a transfer.
GetHashFn returns a GetHashFunc which retrieves header hashes by number 获取块号码对于的块hash.
NewAccountStateDb new instance.
NewEVMContext creates a new context for use in the EVM.
Transfer subtracts amount from sender and adds amount to recipient using the given Db.
TryLoadFromDisk 尝试从磁盘加载AccountState.
# Structs
AccountState 实现vm的StateDB的接口 用于进行测试.