docs: Update vMerkleBranch comment in auxpow.h

Replace outdated TODO comment questioning whether vMerkleBranch is
used. The field IS actively used:

- Set by InitMerkleBranch() in auxpow.cpp:42
- Verified in CAuxPow::check() in auxpow.cpp:100
- Serialized/deserialized for auxpow data

The new comment accurately documents the field's purpose.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Eric Grill 2026-01-14 10:38:39 +00:00
parent 2c513d0172
commit 450ab9d961

View File

@ -36,8 +36,9 @@ private:
public: public:
CTransactionRef tx; CTransactionRef tx;
uint256 hashBlock; uint256 hashBlock;
// Dogecoin TODO: Is this used? If not remove. If it is, I don't think it's actually set
// anywhere. Check with Namecore /** Merkle branch connecting this transaction to the block's merkle root.
* Set by InitMerkleBranch() and verified in CAuxPow::check(). */
std::vector<uint256> vMerkleBranch; std::vector<uint256> vMerkleBranch;
/* An nIndex == -1 means that hashBlock (in nonzero) refers to the earliest /* An nIndex == -1 means that hashBlock (in nonzero) refers to the earliest