Versions in this module Expand all Collapse all v2 v2.0.0 Feb 23, 2022 Changes in this version + type Builder func(ctx *Context) (Database, error) + type Context struct + Cfg databaseconfig.Config + EncodingConfig *params.EncodingConfig + Logger logging.Logger + func NewContext(cfg databaseconfig.Config, encodingConfig *params.EncodingConfig, ...) *Context + type Database interface + Close func() + HasBlock func(height int64) (bool, error) + HasValidator func(address string) (bool, error) + SaveBlock func(block *types.Block) error + SaveCommitSignatures func(signatures []*types.CommitSig) error + SaveMessage func(msg *types.Message) error + SaveTx func(tx *types.Tx) error + SaveValidators func(validators []*types.Validator) error + type PruningDb interface + GetLastPruned func() (int64, error) + Prune func(height int64) error + StoreLastPruned func(height int64) error v2.0.0-stargate Feb 23, 2022 Other modules containing this package github.com/forbole/juno/v3 github.com/forbole/juno/v4 github.com/forbole/juno/v5 github.com/forbole/juno/v6