diff options
author | MarcoFalke <falke.marco@gmail.com> | 2021-07-22 20:56:27 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2021-07-23 11:31:05 +0200 |
commit | fa32024d51c098441623e246f304a80f011e29d1 (patch) | |
tree | e2c6bc1c7dcc2454241093b8bc7590716d228227 /src/addrman.h | |
parent | fab755b77f88873f01cbd988051de7ad3f0150de (diff) |
Add missing GUARDED_BY to CAddrMan::insecure_rand
Diffstat (limited to 'src/addrman.h')
-rw-r--r-- | src/addrman.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/addrman.h b/src/addrman.h index d4f67c2f5b..6347a24d55 100644 --- a/src/addrman.h +++ b/src/addrman.h @@ -631,12 +631,12 @@ protected: uint256 nKey; //! Source of random numbers for randomization in inner loops - mutable FastRandomContext insecure_rand; + mutable FastRandomContext insecure_rand GUARDED_BY(cs); -private: //! A mutex to protect the inner data structures. mutable Mutex cs; +private: //! Serialization versions. enum Format : uint8_t { V0_HISTORICAL = 0, //!< historic format, before commit e6b343d88 |