chief

package
v0.0.0-...-c2b07a9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 28, 2022 License: GPL-3.0 Imports: 17 Imported by: 1

Documentation

Index

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 (self *TribeService) GetLeaders(num *big.Int, hash *common.Hash) ([]common.Address, *big.Int, error)

func (*TribeService) Protocols

func (self *TribeService) Protocols() []p2p.Protocol

func (*TribeService) Start

func (self *TribeService) Start(server *p2p.Server) error

func (*TribeService) Stop

func (self *TribeService) Stop() error

func (*TribeService) VerifyMiner

func (self *TribeService) VerifyMiner(mbox params.Mbox)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL