Files
dragonx/src/gtest
DanSandClaude Opus 5.5 9bd2fd2b92 wallet: add -walletsaveatshutdown to turn the shutdown save off
The shutdown save writes every note-bearing tx with its witness cache,
which takes tens of seconds on a large wallet: about 15 s unloaded and
30-40 s under load for a 631 MB regtest wallet, and more for a mainnet
wallet of 1-2 GB. A deployment that kills the daemon sooner (an old GUI
with a 20 s kill, a short service stop timeout) gains nothing from it:
the kill rolls the save back, and the next start spends extra time on
BDB recovery.

-walletsaveatshutdown=0 skips the save and logs why. The default stays
on. The shipped init scripts run with -disablewallet, so their stop
timeouts are left as they are.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 12:39:25 -05: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-02-27 23:59:59 +01: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-02-27 23:59:59 +01: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-02-27 23:59:59 +01: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-02-27 23:59:59 +01: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-02-27 23:59:59 +01: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-02-27 23:59:59 +01: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