Files
dragonx/src/wallet
DanSandClaude Opus 5.5 a7b15e40a0 wallet: say why a zsweep or autoshield round failed when its tx is rejected
When CommitAutomatedTx refused a transaction (AcceptToMemoryPool rejected it),
the sweep and autoshield ops returned false without setting an error, so the
operation finished as "failed" with an empty message:

  Sweep operation finished. (status=failed, error=)

Seen twice in 175 sweep rounds in the 2026-12-01 soak; one was a note already
spent by another transaction ("sapling nullifier ... exists"). Both ops now set
RPC_WALLET_ERROR and a message naming the rejected txid, pointing at debug.log
for the mempool's reason (CommitTransaction does not return it), and saying the
next round retries. Consolidation already records a per-address reason.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-12-01 15:11:48 -06:00
..
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-10-01 10:49:13 -04:00
2024-02-27 23:59:59 +01:00