diff options
author | Anthony Towns <aj@erisian.com.au> | 2022-03-05 04:44:58 +1000 |
---|---|---|
committer | Anthony Towns <aj@erisian.com.au> | 2022-08-29 22:50:54 +1000 |
commit | 9816dc96b77fd9780bb97891cd45a1b9798db8f5 (patch) | |
tree | 85bacbd46a9e0fa8c9d9a9717ea8a90507e2c450 /src/net_processing.cpp | |
parent | ef26f2f421071986a3878a1a94b0149ae8e16fcd (diff) |
net: note CNode members that are treated as const
m_permissionFlags and m_prefer_evict are treated as const -- they're
only set immediately after construction before any other thread has
access to the object, and not changed again afterwards. As such they
don't need to be marked atomic or guarded by a mutex; though it would
probably be better to actually mark them as const...
Diffstat (limited to 'src/net_processing.cpp')
0 files changed, 0 insertions, 0 deletions