aboutsummaryrefslogtreecommitdiff
path: root/src/node/miner.h
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2022-04-01 10:26:54 +0200
committerMarcoFalke <falke.marco@gmail.com>2022-04-01 11:00:42 +0200
commitfa38b1c8bd29e2c792737f6481ab928e46396b7e (patch)
treeec47db1452c4de5793cac3824e6c9e2e29792313 /src/node/miner.h
parent7ab9fc32d6a88d0c9a008d6e63ddc7460e5ea0c5 (diff)
downloadbitcoin-fa38b1c8bd29e2c792737f6481ab928e46396b7e.tar.xz
Remove buggy and confusing IncrementExtraNonce
Diffstat (limited to 'src/node/miner.h')
-rw-r--r--src/node/miner.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/node/miner.h b/src/node/miner.h
index 5fd9abc280..c8093ec883 100644
--- a/src/node/miner.h
+++ b/src/node/miner.h
@@ -200,8 +200,6 @@ private:
int UpdatePackagesForAdded(const CTxMemPool::setEntries& alreadyAdded, indexed_modified_transaction_set& mapModifiedTx) EXCLUSIVE_LOCKS_REQUIRED(m_mempool.cs);
};
-/** Modify the extranonce in a block */
-void IncrementExtraNonce(CBlock* pblock, const CBlockIndex* pindexPrev, unsigned int& nExtraNonce);
int64_t UpdateTime(CBlockHeader* pblock, const Consensus::Params& consensusParams, const CBlockIndex* pindexPrev);
/** Update an old GenerateCoinbaseCommitment from CreateNewBlock after the block txs have changed */