Documentation
¶
Index ¶
- type Store
- func (ts *Store) Commit([]*types.KVStoreKey) (id types.CommitID)
- func (ts *Store) CommitWithVersion(KVStoreList []*types.KVStoreKey, _ int64) types.CommitID
- func (ts *Store) GetStoreType() types.StoreType
- func (ts *Store) LastCommitID() (id types.CommitID)
- func (ts *Store) SetPruning(pruning types.PruningOptions)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
Store is a wrapper for a MemDB with Commiter implementation
func (*Store) Commit ¶
func (ts *Store) Commit([]*types.KVStoreKey) (id types.CommitID)
Implements CommitStore Commit cleans up Store.
func (*Store) CommitWithVersion ¶ added in v1.3.1
Implements Committer/CommitStore.
func (*Store) LastCommitID ¶
Implements CommitStore
func (*Store) SetPruning ¶
func (ts *Store) SetPruning(pruning types.PruningOptions)
Implements CommitStore
Click to show internal directories.
Click to hide internal directories.