Conversation
Several tests call disconnect_nodes() on each node-pair in rapid succession, resulting in a race condition if a node disconnects a peer in-between the calculation of the nodeid's to disconnect and the invocation of the disconnectnode rpc call. Handle this. GitHub-Pull: bitcoin#13201 Rebased-From: 09c6699
GitHub-Pull: bitcoin#13184 Rebased-From: f30e9be
-zapwallettxes should be disallowed when starting bitcoin in multiwallet mode. GitHub-Pull: bitcoin#13030 Rebased-From: 3476e3c
ac6c2c6 to
e56783e
Compare
|
Removed #13199 for now, that may be slightly more complicated to backport. |
|
There seems to be a problem with two of the tests: |
|
Fails because commit [wallet] [tests] Test disallowed multiwallet params uses the new Can be fixed by backporting #12718 (although I don't know how much that would conflict) or by applying this diff to the Test disallowed multiwallet params commit: |
Add a test to check that bitcoind fails to start when specifying -zapwallettxes, -salvagewallet and -upgradewallet when running in multiwallet mode. GitHub-Pull: bitcoin#13030 Rebased-From: 1f83839
Ensures that callbacks are invoked in the order in which the chain is updated Resolves bitcoin#12978 GitHub-Pull: bitcoin#12988 Rebased-From: d86edd3
e56783e to
acdf433
Compare
|
Thanks @jnewbery, I've updated the Test disallowed multiwallet params commit with your suggested changes. |
|
utACK 6c4a1f777ed934f313389a56e5f68d34d5804c7f |
|
The last commit is already on the 0.16 branch, no need to include it twice. |
|
utACK acdf433 (without the last commit they are clean cherry-picks except for the test change. Didn't review anything else) |
6c4a1f7 to
acdf433
Compare
acdf433 Hold cs_main while calling UpdatedBlockTip() and ui.NotifyBlockTip (Jesse Cohen) 5ff571e [wallet] [tests] Test disallowed multiwallet params (John Newbery) 4c14e7b [wallet] Fix zapwallettxes/multiwallet interaction. (John Newbery) 4087dd0 RPC Docs: gettxout*: clarify bestblock and unspent counts (David A. Harding) b8aacd6 [qa] Handle disconnect_node race (Suhas Daftuar) Pull request description: Backports: - #13201 [qa] Handle disconnect_node race - #13184 RPC Docs: gettxout*: clarify bestblock and unspent counts - #13030 [bugfix] [wallet] Fix zapwallettxes/multiwallet interaction. - #12988 Hold cs_main while calling UpdatedBlockTip() signal to the 0.16 branch. Tree-SHA512: 8f65002bbafaf9c436f89051b2d79bf6a668fbd07bd317c64af238ed4a7c8efe776864b739a7f2869f1e3daa16f2f4366a85f41b188f9c454879d2c7b309be50
Backports:
to the 0.16 branch.