mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-04-03 20:35:17 +02:00
doc: Remove outdated nTx faking comment
This was fixed in commit b50554babd.
Also, address the typo nits from:
* https://github.com/bitcoin/bitcoin/pull/29370#discussion_r1531789314
* https://github.com/bitcoin/bitcoin/pull/30598#discussion_r1711982543
This commit is contained in:
@@ -5399,7 +5399,7 @@ void ChainstateManager::CheckBlockIndex()
|
||||
// and the transactions were not pruned (pindexFirstMissing
|
||||
// is null), it is a potential candidate. The check
|
||||
// excludes pruned blocks, because if any blocks were
|
||||
// pruned between pindex the current chain tip, pindex will
|
||||
// pruned between pindex and the current chain tip, pindex will
|
||||
// only temporarily be added to setBlockIndexCandidates,
|
||||
// before being moved to m_blocks_unlinked. This check
|
||||
// could be improved to verify that if all blocks between
|
||||
|
||||
@@ -1094,8 +1094,7 @@ public:
|
||||
//! - Verify that the hash of the resulting coinsdb matches the expected hash
|
||||
//! per assumeutxo chain parameters.
|
||||
//! - Wait for our headers chain to include the base block of the snapshot.
|
||||
//! - "Fast forward" the tip of the new chainstate to the base of the snapshot,
|
||||
//! faking nTx* block index data along the way.
|
||||
//! - "Fast forward" the tip of the new chainstate to the base of the snapshot.
|
||||
//! - Move the new chainstate to `m_snapshot_chainstate` and make it our
|
||||
//! ChainstateActive().
|
||||
[[nodiscard]] util::Result<CBlockIndex*> ActivateSnapshot(
|
||||
|
||||
Reference in New Issue
Block a user