Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConfig = Config{}
DefaultConfig returns a default configuration for a node
Functions ¶
func RegisterAPI ¶
func RegisterAPI(node *Node)
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
func (*API) Status ¶
func (api *API) Status() NodeStatus
type Node ¶
type Node struct { service.BaseService // contains filtered or unexported fields }
Node is the highest level interface to a full node. It includes all configuration information and running services.
func (*Node) Chain ¶
func (n *Node) Chain() *core.BlockChain
type NodeStatus ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.