diff options
Diffstat (limited to 'src/txmempool.h')
-rw-r--r-- | src/txmempool.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/txmempool.h b/src/txmempool.h index 1abf641ed2..d7d308038c 100644 --- a/src/txmempool.h +++ b/src/txmempool.h @@ -728,11 +728,17 @@ public: */ void GetTransactionAncestry(const uint256& txid, size_t& ancestors, size_t& descendants, size_t* ancestorsize = nullptr, CAmount* ancestorfees = nullptr) const; - /** @returns true if the mempool is fully loaded */ + /** + * @returns true if we've made an attempt to load the mempool regardless of + * whether the attempt was successful or not + */ bool GetLoadTried() const; - /** Sets the current loaded state */ - void SetLoadTried(bool loaded); + /** + * Set whether or not we've made an attempt to load the mempool (regardless + * of whether the attempt was successful or not) + */ + void SetLoadTried(bool load_tried); unsigned long size() const { |