j-berman e6b86af931 wallet2: fix rescanning tx via scan_tx
- Detach & re-process txs >= lowest scan height
- ensures that if a user calls scan_tx(tx1) after scanning tx2,
the wallet correctly processes tx1 and tx2
- if a user provides a tx with a height higher than the wallet's
last scanned height, the wallet will scan starting from that tx's
height
- scan_tx requires trusted daemon iff need to re-process existing
txs: in addition to querying a daemon for txids, if a user
provides a txid of a tx with height *lower* than any *already*
scanned txs in the wallet, then the wallet will also query the
daemon for all the *higher* txs as well. This is likely
unexpected behavior to a caller, and so to protect a caller from
revealing txid's to an untrusted daemon in an unexpected way,
require the daemon be trusted.
2023-06-15 02:21:29 -07:00
..
2023-01-16 13:00:18 +01:00
2023-01-16 13:00:18 +01:00
2023-01-16 13:00:18 +01:00
2023-05-06 18:13:18 +02:00
2023-04-25 11:12:56 -04:00
2023-04-25 11:21:22 -04:00
2023-04-25 11:12:56 -04:00
2023-04-25 11:19:38 -04:00
2023-04-25 11:12:56 -04:00
2023-01-16 13:00:18 +01:00
2023-04-25 11:12:56 -04:00
2023-01-16 13:00:18 +01:00
2023-01-16 13:00:18 +01:00
2023-01-16 13:00:18 +01:00
2023-01-16 13:00:18 +01:00
2023-01-16 13:00:18 +01:00
2023-01-16 13:00:18 +01:00
2023-01-16 13:00:18 +01:00
2023-01-16 13:00:18 +01:00
2023-04-25 11:22:50 -04:00
2023-01-16 13:00:18 +01:00
2023-04-25 11:12:56 -04:00
2023-04-25 11:21:48 -04:00
2023-01-16 13:00:18 +01:00
2023-04-25 11:12:56 -04:00