Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ModifyCoinbasePayload ¶
func ModifyCoinbasePayload(payload []byte, coinbaseData *externalapi.DomainCoinbaseData, coinbasePayloadScriptPublicKeyMaxLength uint8) ([]byte, error)
ModifyCoinbasePayload modifies the coinbase payload based on the provided scriptPubKey and extra data.
func New ¶
func New( databaseContext model.DBReader, subsidyGenesisReward uint64, preHalvingPhaseBaseSubsidy uint64, coinbasePayloadScriptPublicKeyMaxLength uint8, genesisHash *externalapi.DomainHash, halvingPhaseDaaScore uint64, halvingPhaseBaseSubsidy uint64, dagTraversalManager model.DAGTraversalManager, ghostdagDataStore model.GHOSTDAGDataStore, acceptanceDataStore model.AcceptanceDataStore, daaBlocksStore model.DAABlocksStore, blockStore model.BlockStore, pruningStore model.PruningStore, blockHeaderStore model.BlockHeaderStore) model.CoinbaseManager
New instantiates a new CoinbaseManager
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.