Documentation ¶
Index ¶
- type Miner
- type PovMinerAlgoBlock
- type PovWorker
- func (w *PovWorker) GetChain() *pov.PovBlockChain
- func (w *PovWorker) GetConfig() *config.Config
- func (w *PovWorker) GetMiningInfo(in interface{}, out interface{})
- func (w *PovWorker) GetPovConsensus() pov.ConsensusPov
- func (w *PovWorker) GetTxPool() *pov.PovTxPool
- func (w *PovWorker) GetWork(in interface{}, out interface{})
- func (w *PovWorker) Init() error
- func (w *PovWorker) OnEventRpcSyncCall(name string, in interface{}, out interface{})
- func (w *PovWorker) Start() error
- func (w *PovWorker) Stop() error
- func (w *PovWorker) SubmitWork(in interface{}, out interface{})
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 PovMinerAlgoBlock ¶ added in v1.3.0
type PovMinerAlgoBlock struct {
// contains filtered or unexported fields
}
type PovWorker ¶
type PovWorker struct {
// contains filtered or unexported fields
}
func NewPovWorker ¶
func (*PovWorker) GetChain ¶
func (w *PovWorker) GetChain() *pov.PovBlockChain
func (*PovWorker) GetMiningInfo ¶ added in v1.3.0
func (w *PovWorker) GetMiningInfo(in interface{}, out interface{})
func (*PovWorker) GetPovConsensus ¶
func (w *PovWorker) GetPovConsensus() pov.ConsensusPov
func (*PovWorker) GetWork ¶ added in v1.3.0
func (w *PovWorker) GetWork(in interface{}, out interface{})
func (*PovWorker) OnEventRpcSyncCall ¶ added in v1.3.0
func (*PovWorker) SubmitWork ¶ added in v1.3.0
func (w *PovWorker) SubmitWork(in interface{}, out interface{})
Click to show internal directories.
Click to hide internal directories.