Versions in this module Expand all Collapse all v0 v0.0.3 Feb 7, 2021 Changes in this version + func UseLogger(logger l.Logger) + type BitcoinpayFull struct + func (qm *BitcoinpayFull) APIs() []rpc.API + func (qm *BitcoinpayFull) GetAddressApi() *address.AddressApi + func (qm *BitcoinpayFull) GetBlockManager() *blkmgr.BlockManager + func (qm *BitcoinpayFull) GetCpuMiner() *miner.CPUMiner + func (qm *BitcoinpayFull) GetPeerServer() *peerserver.PeerServer + func (qm *BitcoinpayFull) Start(server *peerserver.PeerServer) error + func (qm *BitcoinpayFull) Stop() error + type BitcoinpayLight struct + func (light *BitcoinpayLight) APIs() []rpc.API + func (light *BitcoinpayLight) Start(server *peerserver.PeerServer) error + func (light *BitcoinpayLight) Stop() error + type Node struct + Config *config.Config + DB database.DB + Params *params.Params + func NewNode(cfg *config.Config, database database.DB, chainParams *params.Params, ...) (*Node, error) + func (n *Node) GetBitcoinpayFull() *BitcoinpayFull + func (n *Node) RegisterService() error + func (n *Node) Start() error + func (n *Node) Stop() error + func (n *Node) WaitForShutdown() + type PrivateBlockChainAPI struct + func NewPrivateBlockChainAPI(node *BitcoinpayFull) *PrivateBlockChainAPI + func (api *PrivateBlockChainAPI) Banlist() (interface{}, error) + func (api *PrivateBlockChainAPI) RemoveBan(host *string) (interface{}, error) + func (api *PrivateBlockChainAPI) SetRpcMaxClients(max int) (interface{}, error) + func (api *PrivateBlockChainAPI) Stop() (interface{}, error) + type PrivateLogAPI struct + func NewPrivateLogAPI(node *BitcoinpayFull) *PrivateLogAPI + func (api *PrivateLogAPI) SetLogLevel(level string) (interface{}, error) + type PublicBlockChainAPI struct + func NewPublicBlockChainAPI(node *BitcoinpayFull) *PublicBlockChainAPI + func (api *PublicBlockChainAPI) GetNodeInfo() (interface{}, error) + func (api *PublicBlockChainAPI) GetPeerInfo() (interface{}, error) + func (api *PublicBlockChainAPI) GetRpcInfo() (interface{}, error) + type Service interface + APIs func() []rpc.API + Start func(server *peerserver.PeerServer) error + Stop func() error + type ServiceConstructor struct + func NewServiceConstructor(name string, constructor func(ctx *ServiceContext) (Service, error)) ServiceConstructor + type ServiceContext struct + type ServiceStopError struct + Services map[reflect.Type]error + func (e *ServiceStopError) Error() string