Documentation ¶
Index ¶
- func NewTribeService(ctx *node.ServiceContext) (node.Service, error)
- type TribeService
- func (self *TribeService) APIs() []rpc.API
- func (self *TribeService) GetLeaders(num *big.Int, hash *common.Hash) ([]common.Address, *big.Int, error)
- func (self *TribeService) Protocols() []p2p.Protocol
- func (self *TribeService) Start(server *p2p.Server) error
- func (self *TribeService) Stop() error
- func (self *TribeService) VerifyMiner(mbox params.Mbox)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTribeService ¶
func NewTribeService(ctx *node.ServiceContext) (node.Service, error)
Types ¶
type TribeService ¶
type TribeService struct {
// contains filtered or unexported fields
}
implements node.Service
func (*TribeService) APIs ¶
func (self *TribeService) APIs() []rpc.API
func (*TribeService) GetLeaders ¶
func (*TribeService) Protocols ¶
func (self *TribeService) Protocols() []p2p.Protocol
func (*TribeService) Stop ¶
func (self *TribeService) Stop() error
func (*TribeService) VerifyMiner ¶
func (self *TribeService) VerifyMiner(mbox params.Mbox)
Click to show internal directories.
Click to hide internal directories.