Documentation ¶
Index ¶
- type Miner
- type PovMineBlock
- type PovWorker
- func (w *PovWorker) GetChain() *pov.PovBlockChain
- func (w *PovWorker) GetCoinbaseAccount() *types.Account
- func (w *PovWorker) GetConfig() *config.Config
- func (w *PovWorker) GetPovConsensus() pov.ConsensusPov
- func (w *PovWorker) GetTxPool() *pov.PovTxPool
- func (w *PovWorker) Init() error
- func (w *PovWorker) Start() error
- func (w *PovWorker) Stop() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Miner ¶
type Miner struct {
// contains filtered or unexported fields
}
func (*Miner) GetLogger ¶
func (miner *Miner) GetLogger() *zap.SugaredLogger
func (*Miner) GetPovEngine ¶
func (*Miner) GetSyncState ¶
type PovMineBlock ¶
type PovWorker ¶
type PovWorker struct {
// contains filtered or unexported fields
}
func NewPovWorker ¶
func (*PovWorker) GetChain ¶
func (w *PovWorker) GetChain() *pov.PovBlockChain
func (*PovWorker) GetCoinbaseAccount ¶
func (*PovWorker) GetPovConsensus ¶
func (w *PovWorker) GetPovConsensus() pov.ConsensusPov
Click to show internal directories.
Click to hide internal directories.