mirror of https://github.com/bitcoin/bitcoin
Extract logic that check multiple connection types into interface functions & structure as switch statements. This makes it very clear what touch points are for accessing `m_conn_type` & using the switch statements enables the compiler to warn if a new connection type is introduced but not handled for these cases.pull/19316/head
parent
7f7b83deb2
commit
2f2e13b6c2
Loading…
Reference in new issue