Versions in this module Expand all Collapse all v0 v0.4.2 Jun 28, 2019 v0.4.1 Jun 13, 2019 Changes in this version + type GlobalStore struct + func NewGlobalStore(path string) (s *GlobalStore, err error) + func (s *GlobalStore) Close() error + func (s *GlobalStore) Delete(addr common.Address, key []byte) error + func (s *GlobalStore) Export(w io.Writer) (n int, err error) + func (s *GlobalStore) Get(addr common.Address, key []byte) (data []byte, err error) + func (s *GlobalStore) HasKey(addr common.Address, key []byte) bool + func (s *GlobalStore) Import(r io.Reader) (n int, err error) + func (s *GlobalStore) KeyNodes(key []byte, startAddr *common.Address, limit int) (nodes mock.Nodes, err error) + func (s *GlobalStore) Keys(startKey []byte, limit int) (keys mock.Keys, err error) + func (s *GlobalStore) NewNodeStore(addr common.Address) *mock.NodeStore + func (s *GlobalStore) NodeKeys(addr common.Address, startKey []byte, limit int) (keys mock.Keys, err error) + func (s *GlobalStore) Nodes(startAddr *common.Address, limit int) (nodes mock.Nodes, err error) + func (s *GlobalStore) Put(addr common.Address, key []byte, data []byte) error