Skip to content

[pull] master from bitcoin:master#829

Merged
pull[bot] merged 3 commits intorizalgowandy:masterfrom
bitcoin:master
Jan 10, 2023
Merged

[pull] master from bitcoin:master#829
pull[bot] merged 3 commits intorizalgowandy:masterfrom
bitcoin:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull bot commented Jan 10, 2023

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

aureleoules and others added 3 commits December 8, 2022 16:45
109cbb8 doc: Add release notes for #26618 (Aurèle Oulès)
b13902d rpc: Prevent unloading a wallet when rescanning (Aurèle Oulès)

Pull request description:

  Fixes #26463.

  This PR prevents a user from unloading a wallet if it is currently rescanning.

  To test:

  ```bash
  ./src/bitcoin-cli -testnet -named createwallet wallet_name=wo disable_private_keys=true
  ./src/bitcoin-cli -testnet -rpcwallet=wo importdescriptors '[{
    "desc": "addr(mmcuW74MyJUZuLnWXGQLoNXPrS9RbFz6gD)#tpnrahgc",
        "timestamp": 0,
        "active": false,
        "internal": false,
        "next": 0
  }]'
  ./src/bitcoin-cli -testnet unloadwallet wo
  error code: -4
  error message:
  Wallet is currently rescanning. Abort existing rescan or wait.

ACKs for top commit:
  achow101:
    ACK 109cbb8
  w0xlt:
    ACK 109cbb8
  kouloumos:
    ACK 109cbb8
  promag:
    ACK 109cbb8

Tree-SHA512: 15fdddf4cf9f3fa08f52069fe4a25a76e04a55bb2586b031bfb0393dce7f175dcdb52823e132a7dff6a894539beeb980a1aad2a792790be036be6977628149b2
@pull pull bot added the ⤵️ pull label Jan 10, 2023
@pull pull bot merged commit 1aedc3b into rizalgowandy:master Jan 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants