Documentation ¶
Index ¶
- type GlobalStore
- 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) NewNodeStore(addr common.Address) *mock.NodeStore
- func (s *GlobalStore) Put(addr common.Address, key []byte, data []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GlobalStore ¶
type GlobalStore struct {
// contains filtered or unexported fields
}
func NewGlobalStore ¶
func NewGlobalStore() *GlobalStore
func (*GlobalStore) NewNodeStore ¶
func (s *GlobalStore) NewNodeStore(addr common.Address) *mock.NodeStore
Click to show internal directories.
Click to hide internal directories.