aboutsummaryrefslogtreecommitdiff
path: root/src/chain.h
diff options
context:
space:
mode:
authorFabian Jahr <fjahr@protonmail.com>2023-10-03 18:18:41 +0200
committerFabian Jahr <fjahr@protonmail.com>2023-10-06 19:43:32 +0200
commita482f86779a6182d87004b463c0eaf21038181c3 (patch)
tree11f51f6c1c72d35e95e8109ebd62d8a7f44ed351 /src/chain.h
parent82e48d20f1243fb7733e872a29661b151ab5d523 (diff)
downloadbitcoin-a482f86779a6182d87004b463c0eaf21038181c3.tar.xz
chain: Rename HaveTxsDownloaded to HaveNumChainTxs
Co-authored-by: MarcoFalke <falke.marco@gmail.com>
Diffstat (limited to 'src/chain.h')
-rw-r--r--src/chain.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/chain.h b/src/chain.h
index 78b06719f4..4bf2001f74 100644
--- a/src/chain.h
+++ b/src/chain.h
@@ -280,10 +280,8 @@ public:
* Note that this will be true for the snapshot base block, if one is loaded (and
* all subsequent assumed-valid blocks) since its nChainTx value will have been set
* manually based on the related AssumeutxoData entry.
- *
- * TODO: potentially change the name of this based on the fact above.
*/
- bool HaveTxsDownloaded() const { return nChainTx != 0; }
+ bool HaveNumChainTxs() const { return nChainTx != 0; }
NodeSeconds Time() const
{