Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNebletAlreadyRunning throws when the neblet is already running. ErrNebletAlreadyRunning = errors.New("neblet is already running") )
Functions ¶
func LoadConfig ¶
func LoadConfig(filename string) *nebletpb.Config
Types ¶
type Neblet ¶
type Neblet struct {
// contains filtered or unexported fields
}
Neblet manages life cycle of blockchain services.
func (*Neblet) AccountManager ¶
AccountManager returns account manager reference.
func (*Neblet) BlockChain ¶
func (n *Neblet) BlockChain() *core.BlockChain
BlockChain returns block chain reference.
func (*Neblet) Config ¶
func (n *Neblet) Config() nebletpb.Config
Config returns neblet configuration.
func (*Neblet) NetService ¶
func (n *Neblet) NetService() *p2p.NetService
NetService returns p2p manager reference.
Click to show internal directories.
Click to hide internal directories.