aboutsummaryrefslogtreecommitdiff
path: root/src/platform
diff options
context:
space:
mode:
authorj-berman <justinberman@protonmail.com>2025-09-15 09:47:17 -0700
committerj-berman <justinberman@protonmail.com>2025-10-07 11:02:17 -0700
commit9239d36691bfe94dda12cc925903fed5e761fbe3 (patch)
tree6cd7880b0d335d007ac04794c90655938a698f53 /src/platform
parenta440e917906b92b74daa107e49fcb963266242fa (diff)
downloadmonzero-core-9239d36691bfe94dda12cc925903fed5e761fbe3.tar.gz
monzero-core-9239d36691bfe94dda12cc925903fed5e761fbe3.tar.xz
monzero-core-9239d36691bfe94dda12cc925903fed5e761fbe3.zip
wallet: identify spends in pool when scanning
- Make sure to mark identified spends in the pool as spends. The wallet might not know these have been spent if it wasn't the wallet that relayed the tx to the daemon, or the wallet was cleared via rescan_bc. - Make sure to add spends to m_unconfirmed_txs if not present. - Make sure to process the entire pool again if refreshing for the first time. The wallet fetches pool and blocks at the same time. The wallet scans blocks first, then pool. If the wallet identifies received outputs in the chain, then it may have spent those received outputs in the pool. So we make sure to re-process the entire pool again after scanning the chain for the first time. - Multisig wallets that know about spent key images can now detect spend txs in the pool. Update tests for that.
Diffstat (limited to 'src/platform')
0 files changed, 0 insertions, 0 deletions