Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Chain ¶ added in v1.3.0
type Chain interface { CurrentBlock() *types.Block SubscribeNewBlock(ch chan *types.Block) subscribe.Subscription MineBlock(*consensus.BlockMaterial) }
type MineConfig ¶
type Miner ¶
type Miner struct {
// contains filtered or unexported fields
}
func New ¶
func New(cfg MineConfig, chain Chain, dm *deputynode.Manager, extra []byte) *Miner
func (*Miner) GetMinerAddress ¶
Click to show internal directories.
Click to hide internal directories.