diff options
| author | bitflash <admin@bitflash.network> | 2026-08-18 10:16:59 -0300 |
|---|---|---|
| committer | bitflash <admin@bitflash.network> | 2026-08-18 10:16:59 -0300 |
| commit | 00c7aaed74e57da18598faa6751b7720598de3bd (patch) | |
| tree | 914f2851ce35919230c51ca083d3a964d6722408 /src/test_relayproc.cpp | |
| parent | 2a2b9d74f8fb6b5d86d750e6e5d18c942738f95c (diff) | |
wallet: clearer refusal for an empty or misnamed SQLite backend
Review follow-up on the SQLite activation. Two guards, both fail-closed;
neither is a correctness fix -- FinishLoadedWallet already refuses a
missing default key -- but they make the refusal say what happened:
- an empty or non-wallet wallet.sqlite is refused with "no default key
record; it may be empty or not a wallet export", instead of the generic
"no usable default public key" that reads as corruption;
- a misspelled -walletbackend value (e.g. sqlit) is refused instead of
silently falling through to Berkeley DB; -walletbackend=bdb is accepted
as the explicit default.
Diffstat (limited to 'src/test_relayproc.cpp')
0 files changed, 0 insertions, 0 deletions