upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/bitflashd.cpp
diff options
context:
space:
mode:
authorbitflash <admin@bitflash.network>2026-08-18 10:16:59 -0300
committerbitflash <admin@bitflash.network>2026-08-18 10:16:59 -0300
commit00c7aaed74e57da18598faa6751b7720598de3bd (patch)
tree914f2851ce35919230c51ca083d3a964d6722408 /src/bitflashd.cpp
parent2a2b9d74f8fb6b5d86d750e6e5d18c942738f95c (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/bitflashd.cpp')
0 files changed, 0 insertions, 0 deletions