Page MenuHomePhabricator

Clarify that m_tx_relay and m_proof_relay are thread safe
ClosedPublic

Authored by Fabien on Jun 2 2022, 09:15.

Details

Summary

They CNode members are set once at construction time and then read only, but this is unclear because they are not declared const. This diff makes them const so this is clear they are thread safe.

Test Plan
ninja all check-all

../contrib/teamcity/build-configurations.py build-tsan

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable