cosmos-sdk: Index | Files

package transient

import ""


Package Files


type Store Uses

type Store struct {

Store is a wrapper for a MemDB with Commiter implementation

func NewStore Uses

func NewStore() *Store

Constructs new MemDB adapter

func (*Store) Commit Uses

func (ts *Store) Commit() (id types.CommitID)

Implements CommitStore Commit cleans up Store.

func (*Store) GetPruning Uses

func (ts *Store) GetPruning() types.PruningOptions

GetPruning is a no-op as pruning options cannot be directly set on this store. They must be set on the root commit multi-store.

func (*Store) GetStoreType Uses

func (ts *Store) GetStoreType() types.StoreType

Implements Store.

func (*Store) LastCommitID Uses

func (ts *Store) LastCommitID() (id types.CommitID)

Implements CommitStore

func (*Store) SetPruning Uses

func (ts *Store) SetPruning(_ types.PruningOptions)

Package transient imports 3 packages (graph) and is imported by 4 packages. Updated 2020-09-25. Refresh now. Tools for package owners.