aboutsummaryrefslogtreecommitdiff
path: root/src/httpserver.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2018-10-24 16:41:18 +0200
committerWladimir J. van der Laan <[email protected]>2018-10-24 16:44:43 +0200
commita74ed3a05b27886e0a674c328e7ae13da8cacadb (patch)
tree10e24cc89360cf83b69f4c490f026d7ddc6f3636 /src/httpserver.cpp
parentMerge #14451: Add BIP70 deprecation warning and allow building GUI without BI... (diff)
parentqa: Ensure wallet unload during walletpassphrase timeout (diff)
downloaddiscoin-a74ed3a05b27886e0a674c328e7ae13da8cacadb.tar.xz
discoin-a74ed3a05b27886e0a674c328e7ae13da8cacadb.zip
Merge #14453: rpc: Fix wallet unload during walletpassphrase timeout
8907df9e02ec47ef249a7422faa766f06aa01e94 qa: Ensure wallet unload during walletpassphrase timeout (João Barbosa) 321decffa1fbf213462d97e5372bd0c4eeb99635 rpc: Fix wallet unload during walletpassphrase timeout (João Barbosa) Pull request description: Replaces the raw wallet pointer in the `RPCRunLater` callback with a `std::weak_ptr` to check if the wallet is not expired. To test: ``` bitcoind -regtest bitcoin-cli -regtest encryptwallet foobar bitcoin-cli -regtest walletpassphrase foobar 5 && bitcoin-cli -regtest unloadwallet "" ``` Fixes #14452. Tree-SHA512: 311e839234f5fb7955ab5412a2cfc1903ee7132ea56a8ab992ede3614586834886bd65192b76531ae0aa3a526b38e70ca2e1cdbabe52995906ff97b49d93c268
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions