cosmos-sdk: github.com/cosmos/cosmos-sdk/store/transient Index | Files

package transient

import "github.com/cosmos/cosmos-sdk/store/transient"

Index

Package Files

store.go

type Store Uses

type Store struct {
    dbadapter.Store
}

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) 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(pruning types.PruningOptions)

Implements CommitStore

Package transient imports 3 packages (graph) and is imported by 2 packages. Updated 2019-08-25. Refresh now. Tools for package owners.