aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/chainparams.cpp
diff options
context:
space:
mode:
authorRyan Ofsky <ryan@ofsky.org>2023-06-14 09:30:33 -0400
committerRyan Ofsky <ryan@ofsky.org>2023-06-14 09:30:39 -0400
commit6663c802fee07692283d55a785896d8712d11d9c (patch)
tree563debe819356d38fa905114cf03ac8bdef4137f /src/kernel/chainparams.cpp
parent427853ab49f610e971b73ea4cc1d5366747e52b1 (diff)
parentcdba23db353a1beff831ff4fc83d01ed64e8c2a9 (diff)
Merge bitcoin/bitcoin#25634: wallet, tests: Expand and test when the blank wallet flag should be un/set
cdba23db353a1beff831ff4fc83d01ed64e8c2a9 wallet: Document blank flag use in descriptor wallets (Ryan Ofsky) 43310200dce8d450ae5808824af788cefaa5d6db wallet: Ensure that the blank wallet flag is unset after imports (Andrew Chow) e9379f1ffa7a4eebce397f1150317e840655e021 rpc, wallet: Include information about blank flag (Andrew Chow) Pull request description: The `blank` wallet flag is used to indicate that the wallet intentionally does not have any keys, scripts, or descriptors, and it prevents the automatic generation of those things for such a wallet. Once the wallet contains any of those data, it is unnecessary, and possibly incorrect, to have `blank` set. This PR fixes a few places where this was not properly happening. It also adds a test for this unset behavior. ACKs for top commit: S3RK: reACK cdba23db353a1beff831ff4fc83d01ed64e8c2a9 ryanofsky: Code review ACK cdba23db353a1beff831ff4fc83d01ed64e8c2a9. Only change since last review is dropping the commit which makes createwallet RPC set BLANK flag automatically when DISABLE_PRIVATE_KEYS flag is set Tree-SHA512: 85bc2a9754df0531575d5c8f4ad7e8f38dcd50083dc29b3283dacf56feae842e81f34654c5e1781f2dadb0560ff80e454bbc8ca3b2d1fab1b236499ae9abd7da
Diffstat (limited to 'src/kernel/chainparams.cpp')
0 files changed, 0 insertions, 0 deletions