Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DBProvider ¶
DBProvider takes a DBContext and returns an instantiated DB.
type Node ¶
type Node struct { cmn.BaseService // contains filtered or unexported fields }
func DefaultNewNode ¶
DefaultNewNode returns a blockchain node with default settings for the PrivValidator, and DBProvider. It implements NodeProvider.
func (*Node) RunForever ¶
func (n *Node) RunForever()
RunForever waits for an interrupt signal and stops the node.
Click to show internal directories.
Click to hide internal directories.