From 450ab9d961193f529779c922e9d5a3202f52a6d2 Mon Sep 17 00:00:00 2001 From: Eric Grill Date: Wed, 14 Jan 2026 10:38:39 +0000 Subject: [PATCH] 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 --- src/auxpow.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/auxpow.h b/src/auxpow.h index 06c13da0c..f948d8393 100644 --- a/src/auxpow.h +++ b/src/auxpow.h @@ -36,8 +36,9 @@ private: public: CTransactionRef tx; 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 vMerkleBranch; /* An nIndex == -1 means that hashBlock (in nonzero) refers to the earliest