Versions in this module Expand all Collapse all v1 v1.0.0 Jan 6, 2023 Changes in this version + func DefaultDBProvider(ctx *DBContext) (dbm.DB, error) + func LoadStateFromDBOrGenesisDocProvider(stateDB dbm.DB, genesisDocProvider GenesisDocProvider) (sm.State, *types.GenesisDoc, error) + type DBContext struct + Config *cfg.Config + ID string + type DBProvider func(*DBContext) (dbm.DB, error) + type GenesisDocProvider func() (*types.GenesisDoc, error) + func DefaultGenesisDocProviderFunc(config *cfg.Config) GenesisDocProvider + type Greeting struct + ChainID string + Message string + Time time.Time + Version string + type ID struct + Name string + PubKey crypto.PubKey + type MetricsProvider func(chainID string) (*cs.Metrics, *p2p.Metrics, *mempl.Metrics, *sm.Metrics) + func DefaultMetricsProvider(config *cfg.InstrumentationConfig) MetricsProvider + type Node struct + func DefaultNewNode(config *cfg.Config, logger log.Logger) (*Node, error) + func NewLRPNode(config *cfg.Config, privValidator types.PrivValidator, nodeKey *p2p.NodeKey, ...) (*Node, error) + func NewNode(config *cfg.Config, privValidator types.PrivValidator, nodeKey *p2p.NodeKey, ...) (*Node, error) + func (n *Node) BlockStore() *store.BlockStore + func (n *Node) Config() *cfg.Config + func (n *Node) ConfigureRPC() error + func (n *Node) ConsensusReactor() *cs.Reactor + func (n *Node) ConsensusState() *cs.State + func (n *Node) EventBus() *types.EventBus + func (n *Node) EvidencePool() *evidence.Pool + func (n *Node) GenesisDoc() *types.GenesisDoc + func (n *Node) IsListening() bool + func (n *Node) Listeners() []string + func (n *Node) Mempool() mempl.Mempool + func (n *Node) MempoolReactor() *mempl.Reactor + func (n *Node) NodeInfo() p2p.NodeInfo + func (n *Node) OnStart() error + func (n *Node) OnStop() + func (n *Node) PEXReactor() *pex.Reactor + func (n *Node) PrivValidator() types.PrivValidator + func (n *Node) ProxyApp() proxy.AppConns + func (n *Node) StateDB() dbm.DB + func (n *Node) Switch() *p2p.Switch + type Option func(*Node) + func CustomReactors(reactors map[string]p2p.Reactor) Option + type PrivNodeID struct + PrivKey crypto.PrivKey + func (pnid *PrivNodeID) SignGreeting() *SignedNodeGreeting + type Provider func(*cfg.Config, log.Logger) (*Node, error) + type SignedNodeGreeting struct + Signature []byte