diff options
| author | practicalswift <[email protected]> | 2018-10-09 12:03:01 +0200 |
|---|---|---|
| committer | practicalswift <[email protected]> | 2018-10-09 12:12:27 +0200 |
| commit | 37b2538c2df3643f7eab1f6661b9995bdcbf214a (patch) | |
| tree | ff80b7c0e3af3c2c2657ef461527f7389443728b /src/httpserver.cpp | |
| parent | wallet: Add Clang thread safety analysis annotations (diff) | |
| download | discoin-37b2538c2df3643f7eab1f6661b9995bdcbf214a.tar.xz discoin-37b2538c2df3643f7eab1f6661b9995bdcbf214a.zip | |
Add GUARDED_BY(cs_wallet) for encrypted_batch, nWalletMaxVersion, m_max_keypool_index and nOrderPosNext
* AddKeyPubKeyWithDB(...) reads encrypted_batch which potentially races with write in the same method.
* IncOrderPosNext(...) reads nOrderPosNext which potentially races with write in BlockDisconnected(...).
* LoadKeyPool(...) reads m_max_keypool_index which potentially races with write in BlockDisconnected(...).
* LoadMinVersion(...) reads nWalletMaxVersion which potentially races with write in BlockDisconnected(...).
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions