Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MineConfig ¶
type Miner ¶
type Miner struct {
// contains filtered or unexported fields
}
Miner 负责出块调度算法,决定什么时候该出块。本身并不负责区块封装的逻辑
func New ¶
func New(cfg MineConfig, chain Chain, dm *deputynode.Manager, txPool TxPool) *Miner
Click to show internal directories.
Click to hide internal directories.