Commit 7517294
committed
Fix mempool.cs vs cs_inventory potential deadlock
POTENTIAL DEADLOCK DETECTED
Previous lock order was:
pnode->cs_sendProcessing net.cpp:2724
cs_main net_processing.cpp:3867 (TRY)
(1) pto->cs_inventory net_processing.cpp:4106
(2) cs txmempool.cpp:1137
Current lock order is:
cs_main wallet/rpcwallet.cpp:468
(2) mempool.cs wallet/rpcwallet.cpp:468
pwallet->cs_wallet wallet/rpcwallet.cpp:469
cs_main wallet/wallet.cpp:4045
(2) mempool.cs wallet/wallet.cpp:4045
cs_wallet wallet/wallet.cpp:4046
cs_vNodes net.cpp:3464
(1) cs_inventory ./net.h:10561 parent ee847c7 commit 7517294
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4103 | 4103 | | |
4104 | 4104 | | |
4105 | 4105 | | |
4106 | | - | |
| 4106 | + | |
4107 | 4107 | | |
4108 | 4108 | | |
4109 | 4109 | | |
| |||
0 commit comments