Documentation ¶
Index ¶
- type RemoteDB
- func (self *RemoteDB) BatchDelete(key []byte)
- func (self *RemoteDB) BatchPut(key []byte, value []byte)
- func (self *RemoteDB) Get(key []byte) ([]byte, error)
- func (self *RemoteDB) GetAccount(addr web3.Address) *storage.EthAccount
- func (self *RemoteDB) GetBlockHash(height uint64) web3.Hash
- func (self *RemoteDB) GetStorage(addr web3.Address, key web3.Hash) web3.Hash
- func (self *RemoteDB) NewIterator(prefix []byte) schema.StoreIterator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RemoteDB ¶
type RemoteDB struct { Trace bool Accounts map[web3.Address]*storage.EthAccount Storage map[storageKey]web3.Hash // contains filtered or unexported fields }
func NewRemoteDB ¶
func (*RemoteDB) BatchDelete ¶
func (*RemoteDB) GetAccount ¶
func (self *RemoteDB) GetAccount(addr web3.Address) *storage.EthAccount
func (*RemoteDB) GetStorage ¶
func (*RemoteDB) NewIterator ¶
func (self *RemoteDB) NewIterator(prefix []byte) schema.StoreIterator
Click to show internal directories.
Click to hide internal directories.