Versions in this module Expand all Collapse all v0 v0.0.1 Mar 19, 2019 Changes in this version + func DefaultDBProvider(ctx *DBContext) (dbm.DB, 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 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 NewNode(config *cfg.Config, privValidator types.PrivValidator, nodeKey *p2p.NodeKey, ...) (*Node, error) + func (n *Node) BlockStore() *bc.BlockStore + func (n *Node) Config() *cfg.Config + func (n *Node) ConfigureRPC() + func (n *Node) ConsensusReactor() *cs.ConsensusReactor + func (n *Node) ConsensusState() *cs.ConsensusState + func (n *Node) EventBus() *types.EventBus + func (n *Node) EvidencePool() *evidence.EvidencePool + func (n *Node) GenesisDoc() *types.GenesisDoc + func (n *Node) IsListening() bool + func (n *Node) Listeners() []string + func (n *Node) MempoolReactor() *mempl.MempoolReactor + func (n *Node) NodeInfo() p2p.NodeInfo + func (n *Node) OnStart() error + func (n *Node) OnStop() + func (n *Node) PrivValidator() types.PrivValidator + func (n *Node) ProxyApp() proxy.AppConns + func (n *Node) Switch() *p2p.Switch + type NodeGreeting struct + ChainID string + Message string + Time time.Time + Version string + type NodeID struct + Name string + PubKey crypto.PubKey + type NodeProvider func(*cfg.Config, log.Logger) (*Node, error) + type PrivNodeID struct + PrivKey crypto.PrivKey + func (pnid *PrivNodeID) SignGreeting() *SignedNodeGreeting + type SignedNodeGreeting struct + Signature []byte