Wladimir J. van der Laan
2ae58d5bfb
Merge #11864 : Make CWallet::FundTransaction atomic
...
03a5dc9 [wallet] Make CWallet::FundTransaction atomic (João Barbosa)
95d4450 [wallet] Tidy up CWallet::FundTransaction (João Barbosa)
Pull request description:
This PR fixes a race for `setLockedCoins` when `lockUnspents` is true. For instance, it should not be possible to use the same unspent in concurrent `fundrawtransaction` calls.
Now the `cs_main` and `cs_wallet` locks are held during `CreateTransaction` and `LockCoin`(s). Also added some style nits around the change.
Tree-SHA512: ccf383c0c5f6db775655a3e9ccd200c3bd831a83afae2b7c389564c74f7227f5bea86a4775727de2c3603b188f383f8a12d3f9d6d94f7887865c31c94ce95ef6
2017-12-14 10:38:20 +01:00
..
2017-12-13 14:05:25 +01:00
2017-11-17 15:34:51 +01:00
2017-11-16 08:23:01 +13:00
2017-11-16 08:23:01 +13:00
2017-11-16 22:26:34 +01:00
2017-11-16 08:23:01 +13:00
2017-12-12 14:56:25 +01:00
2017-12-13 17:34:08 +01:00
2017-12-12 14:56:25 +01:00
2017-09-29 16:02:39 +02:00
2017-12-13 14:05:25 +01:00
2017-12-13 14:05:25 +01:00
2017-09-29 14:35:46 +02:00
2017-12-14 10:38:20 +01:00
2017-11-30 17:10:05 -05:00
2017-11-16 22:26:34 +01:00
2017-11-16 08:23:01 +13:00
2017-11-30 17:10:05 -05:00
2017-11-30 17:10:05 -05:00
2017-11-16 08:23:01 +13:00
2017-11-11 18:07:28 -05:00
2017-11-16 08:23:01 +13:00
2017-11-16 08:23:01 +13:00
2017-11-16 08:23:01 +13:00
2017-09-28 16:02:16 -07:00
2017-11-17 15:11:50 +01:00
2017-11-16 08:23:01 +13:00
2017-11-18 00:50:59 +13:00
2017-11-16 08:23:01 +13:00
2017-11-16 08:23:01 +13:00
2017-11-16 08:23:01 +13:00
2017-11-16 08:23:01 +13:00
2017-12-01 15:19:07 +01:00
2017-11-16 08:23:01 +13:00
2017-12-13 14:05:25 +01:00
2017-11-16 08:23:01 +13:00
2017-11-16 08:23:01 +13:00
2017-11-16 22:26:34 +01:00
2017-11-16 08:23:01 +13:00
2017-11-16 08:23:01 +13:00
2017-11-16 22:26:34 +01:00
2017-11-16 08:23:01 +13:00
2017-11-16 22:26:34 +01:00
2017-11-16 08:23:01 +13:00
2017-12-13 14:05:25 +01:00
2017-11-16 08:23:01 +13:00
2017-11-16 08:23:01 +13:00
2017-11-16 08:23:01 +13:00
2017-11-16 08:23:01 +13:00
2017-11-16 08:23:01 +13:00
2017-11-16 08:23:01 +13:00
2017-12-12 14:56:25 +01:00
2017-11-16 08:23:01 +13:00
2017-11-16 08:23:01 +13:00
2017-11-16 08:23:01 +13:00
2017-11-16 08:23:01 +13:00
2017-11-16 08:23:01 +13:00
2017-11-16 08:23:01 +13:00
2017-12-12 10:27:53 +01:00
2017-11-16 22:26:34 +01:00
2017-11-16 08:23:01 +13:00
2017-11-16 22:26:34 +01:00
2017-11-16 08:23:01 +13:00
2017-11-18 00:50:58 +13:00
2017-10-04 14:54:41 +02:00
2017-11-17 14:04:02 +01:00
2017-11-18 00:48:34 -08:00
2017-11-16 08:23:01 +13:00
2017-11-16 08:23:01 +13:00
2017-11-16 08:23:01 +13:00
2017-11-16 22:26:34 +01:00
2017-12-07 10:06:38 -05:00
2017-12-13 14:05:25 +01:00
2017-11-16 08:23:01 +13:00
2017-12-13 05:42:32 +01:00
2017-11-23 07:59:58 +01:00
2017-11-16 22:26:34 +01:00
2017-11-16 08:23:01 +13:00
2017-12-13 05:42:32 +01:00
2017-12-13 05:42:32 +01:00
2017-11-16 08:23:01 +13:00
2017-11-16 08:23:01 +13:00
2017-11-16 08:23:01 +13:00
2017-11-16 08:23:01 +13:00
2017-11-16 08:23:01 +13:00
2017-12-05 11:03:59 -10:00
2017-11-16 08:23:01 +13:00
2017-11-16 08:23:01 +13:00
2017-11-16 08:23:01 +13:00
2017-12-13 14:05:25 +01:00
2017-11-16 08:23:01 +13:00
2017-11-16 08:23:01 +13:00
2017-11-16 08:23:01 +13:00
2017-11-30 17:10:05 -05:00
2017-11-16 08:23:01 +13:00
2017-11-27 15:01:47 -08:00
2017-11-18 11:35:14 -08:00
2017-11-16 08:23:01 +13:00
2017-11-16 08:23:01 +13:00
2017-10-29 21:12:12 +08:00
2017-11-16 08:23:01 +13:00
2017-11-16 08:23:01 +13:00
2017-11-16 08:23:01 +13:00
2017-11-16 08:23:01 +13:00
2017-11-16 08:23:01 +13:00
2017-12-07 10:06:38 -05:00
2017-11-16 08:23:01 +13:00
2017-11-16 08:23:01 +13:00
2017-11-16 08:23:01 +13:00
2017-11-16 08:23:03 +13:00
2017-12-12 14:56:25 +01:00
2017-12-11 17:06:22 +01:00
2017-11-16 08:23:01 +13:00
2017-11-16 08:23:01 +13:00
2017-11-16 08:23:01 +13:00
2017-09-28 16:24:30 -07:00
2017-11-16 08:23:01 +13:00
2017-12-12 14:56:25 +01:00
2017-12-12 14:36:57 +01:00
2017-11-28 12:12:05 +01:00
2017-11-16 08:23:01 +13:00
2017-11-16 08:23:01 +13:00
2017-11-16 08:23:01 +13:00
2017-11-16 08:23:01 +13:00