aboutsummaryrefslogtreecommitdiff
path: root/src/net.cpp
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-07-10 19:16:12 +0200
committerMarcoFalke <falke.marco@gmail.com>2020-07-10 19:16:48 +0200
commitc0b0b0240f986b88a31336db2e6906de0edc0816 (patch)
tree2c75053ab9e4ed9bb1da8f672f435c673e2a0aa5 /src/net.cpp
parent107b8559c5a7ed4c514e50d1df6bd2407d1d6f27 (diff)
parent57b0c0a93a243769beb306c89560d1eda61f54bd (diff)
downloadbitcoin-c0b0b0240f986b88a31336db2e6906de0edc0816.tar.xz
Merge #14033: p2p: Drop CADDR_TIME_VERSION checks now that MIN_PEER_PROTO_VERSION is greater
57b0c0a93a243769beb306c89560d1eda61f54bd Drop CADDR_TIME_VERSION checks now that MIN_PEER_PROTO_VERSION is greater (Ben Woosley) Pull request description: We do not connect to peers older than 31800 ACKs for top commit: sipa: Code reivew ACK 57b0c0a93a243769beb306c89560d1eda61f54bd jnewbery: Code review ACK 57b0c0a93a243769beb306c89560d1eda61f54bd vasild: ACK 57b0c0a9 Tree-SHA512: e1ca7c9203cbad83ab7c7a2312777ad07ed6a16119169b256648b8a8738c260a5168acdd4fb33f6e4b17f51ec7e033e110b76bde55b4e3b2d444dc02c01bc2b1
Diffstat (limited to 'src/net.cpp')
-rw-r--r--src/net.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/net.cpp b/src/net.cpp
index 969a89997c..244b0094d6 100644
--- a/src/net.cpp
+++ b/src/net.cpp
@@ -2511,11 +2511,6 @@ CConnman::~CConnman()
Stop();
}
-size_t CConnman::GetAddressCount() const
-{
- return addrman.size();
-}
-
void CConnman::SetServices(const CService &addr, ServiceFlags nServices)
{
addrman.SetServices(addr, nServices);