Versions in this module Expand all Collapse all v2 v2.0.1 Jul 5, 2020 Changes in this version + const BITSPERKEY + type LevelDBStore struct + func NewLevelDBStore(file string) (*LevelDBStore, error) + func NewMemLevelDBStore() (*LevelDBStore, error) + func (self *LevelDBStore) BatchCommit() error + func (self *LevelDBStore) BatchDelete(key []byte) + func (self *LevelDBStore) BatchPut(key []byte, value []byte) + func (self *LevelDBStore) Close() error + func (self *LevelDBStore) Delete(key []byte) error + func (self *LevelDBStore) Get(key []byte) ([]byte, error) + func (self *LevelDBStore) Has(key []byte) (bool, error) + func (self *LevelDBStore) NewBatch() + func (self *LevelDBStore) NewIterator(prefix []byte) common.StoreIterator + func (self *LevelDBStore) Put(key []byte, value []byte) error