mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 06:28:31 +01:00
Merge #19998: net: Add CNode::ConnectedThroughNetwork member function
3984b78cd7test: Add tests for CNode::ConnectedThroughNetwork (Hennadii Stepanov)49fba9c1aanet: Add CNode::ConnectedThroughNetwork member function (Hennadii Stepanov)d4dde24034net: Add CNode::m_inbound_onion data member (Hennadii Stepanov) Pull request description: This PR: - adds `CNode::ConnectedThroughNetwork` member function - is based on #19991, and only last two commits belong to it - is required for https://github.com/bitcoin-core/gui/pull/86 and #20002 ACKs for top commit: jonatack: re-ACK3984b78cd7per `git diff 3989fcf 3984b78c` laanwj: Code review ACK3984b78cd7Tree-SHA512: 23a9c8bca8dca75113b5505fe443b294f2d42d03c98c7e34919da12d8396beb8d0ada3a58ae16e3da04b7044395f72cf9c216625afc078256cd6c897ac42bf3d
This commit is contained in:
@@ -649,7 +649,7 @@ uint32_t CNetAddr::GetLinkedIPv4() const
|
||||
assert(false);
|
||||
}
|
||||
|
||||
uint32_t CNetAddr::GetNetClass() const
|
||||
Network CNetAddr::GetNetClass() const
|
||||
{
|
||||
// Make sure that if we return NET_IPV6, then IsIPv6() is true. The callers expect that.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user