Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Factory ¶
type Factory interface {
NewMiningManager(consensus consensusreference.ConsensusReference, params *dagconfig.Params, mempoolConfig *mempool.Config) MiningManager
}
Factory instantiates new mining managers
type MiningManager ¶
type MiningManager interface { GetBlockTemplate(coinbaseData *external.DomainCoinbaseData) (block *external.DomainBlock, isNearlySynced bool, err error) ClearBlockTemplate() GetBlockTemplateBuilder() miningmodel.BlockTemplateBuilder miningmempoolmodel.Mempool AddMiningBlock(*external.TempBlock) (block *external.TempBlock, err error) }
Click to show internal directories.
Click to hide internal directories.