Merge bitcoin-core/gui#705: doc: Fix comment about how wallet txs are sorted
c497a198dbFix comment about how wallet txs are sorted (John Moffett) Pull request description: The wallet transactions in the node are not sorted by txid (or any hash) since https://github.com/bitcoin/bitcoin/pull/24699. This is how they're stored in memory now: https://github.com/bitcoin-core/gui/blob/835212cd1d8f8fc7f19775f5ff8cc21c099122b2/src/wallet/wallet.h#L397-L399 ACKs for top commit: achow101: ACKc497a198dbjarolrod: ACKc497a198dbTree-SHA512: e72559991688452ef254474d4235dc75fac655bce04909c3a0eece907360f4c6f57707db9b4373a4bd2271b23c57e863684c33e0728adf48e477c5499cdfdad7
This commit is contained in:
1 file changed
+1
-4
@@ -93,10 +93,7 @@ public:
|
||||
|
||||
TransactionTableModel *parent;
|
||||
|
||||
/* Local cache of wallet.
|
||||
* As it is in the same order as the CWallet, by definition
|
||||
* this is sorted by sha256.
|
||||
*/
|
||||
//! Local cache of wallet sorted by transaction hash
|
||||
QList<TransactionRecord> cachedWallet;
|
||||
|
||||
/** True when model finishes loading all wallet transactions on start */
|
||||
|
||||
Reference in new issue
Block a user