diff options
author | Sergi Delgado Segura <sergi.delgado.s@gmail.com> | 2024-06-05 12:56:09 -0400 |
---|---|---|
committer | Sergi Delgado Segura <sergi.delgado.s@gmail.com> | 2024-09-12 11:20:44 -0400 |
commit | 07f4cebe5780f1039541d989e64b70eccc5b4eb5 (patch) | |
tree | ea69a61c8628efcd071c4462f9472d3819fe40ba /test/functional/fundrawtransaction.py | |
parent | 7d43bca05220ead797e65937dc6df57bdb89defe (diff) |
refactor: move m_is_inbound out of CNodeState
`m_is_inbound` cannot be changed throughout the life of a `Peer`. However, we
are currently storing it in `CNodeState`, which requires locking `cs_main` in
order to access it. This can be moved to the outside scope and only require
`m_peer_mutex`.
This is a refactor in preparation for Erlay reworks.
Diffstat (limited to 'test/functional/fundrawtransaction.py')
0 files changed, 0 insertions, 0 deletions