Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DPosService ¶
type DPosService struct { common.ServiceLifecycle // contains filtered or unexported fields }
func NewDPosService ¶
func NewDPosService(cfg *config.Config, accounts []*types.Account) *DPosService
func (*DPosService) DPos ¶
func (dps *DPosService) DPos() *consensus.DPoS
func (*DPosService) Init ¶
func (dps *DPosService) Init() error
func (*DPosService) Start ¶
func (dps *DPosService) Start() error
func (*DPosService) Status ¶
func (dps *DPosService) Status() int32
func (*DPosService) Stop ¶
func (dps *DPosService) Stop() error
type LedgerService ¶
type LedgerService struct { common.ServiceLifecycle Ledger *ledger.Ledger // contains filtered or unexported fields }
func NewLedgerService ¶
func NewLedgerService(cfg *config.Config) *LedgerService
func (*LedgerService) Init ¶
func (ls *LedgerService) Init() error
func (*LedgerService) Start ¶
func (ls *LedgerService) Start() error
func (*LedgerService) Status ¶
func (ls *LedgerService) Status() int32
func (*LedgerService) Stop ¶
func (ls *LedgerService) Stop() error
type P2PService ¶ added in v1.1.0
type P2PService struct { common.ServiceLifecycle // contains filtered or unexported fields }
func NewP2PService ¶ added in v1.1.0
func NewP2PService(cfg *config.Config) (*P2PService, error)
func (*P2PService) Init ¶ added in v1.1.0
func (p *P2PService) Init() error
func (*P2PService) Node ¶ added in v1.1.0
func (p *P2PService) Node() *p2p.QlcService
func (*P2PService) Start ¶ added in v1.1.0
func (p *P2PService) Start() error
func (*P2PService) Status ¶ added in v1.1.0
func (p *P2PService) Status() int32
func (*P2PService) Stop ¶ added in v1.1.0
func (p *P2PService) Stop() error
type RPCService ¶
type RPCService struct { common.ServiceLifecycle // contains filtered or unexported fields }
func NewRPCService ¶
func NewRPCService(cfg *config.Config) (*RPCService, error)
func (*RPCService) Init ¶
func (rs *RPCService) Init() error
func (*RPCService) RPC ¶
func (rs *RPCService) RPC() *rpc.RPC
func (*RPCService) Start ¶
func (rs *RPCService) Start() error
func (*RPCService) Status ¶
func (rs *RPCService) Status() int32
func (*RPCService) Stop ¶
func (rs *RPCService) Stop() error
type SqliteService ¶ added in v1.1.0
type SqliteService struct { common.ServiceLifecycle Relation *relation.Relation // contains filtered or unexported fields }
func NewSqliteService ¶ added in v1.1.0
func NewSqliteService(cfg *config.Config) (*SqliteService, error)
func (*SqliteService) Init ¶ added in v1.1.0
func (r *SqliteService) Init() error
func (*SqliteService) Start ¶ added in v1.1.0
func (r *SqliteService) Start() error
func (*SqliteService) Status ¶ added in v1.1.0
func (r *SqliteService) Status() int32
func (*SqliteService) Stop ¶ added in v1.1.0
func (r *SqliteService) Stop() error
type WalletService ¶
type WalletService struct { common.ServiceLifecycle Wallet *wallet.WalletStore }
func NewWalletService ¶
func NewWalletService(cfg *config.Config) *WalletService
func (*WalletService) Init ¶
func (ws *WalletService) Init() error
func (*WalletService) Start ¶
func (ws *WalletService) Start() error
func (*WalletService) Status ¶
func (ws *WalletService) Status() int32
func (*WalletService) Stop ¶
func (ws *WalletService) Stop() error
Click to show internal directories.
Click to hide internal directories.