From b71a3f48dac68b37dc68cfc13f41496a2f606399 Mon Sep 17 00:00:00 2001 From: Alexander Block Date: Tue, 12 Feb 2019 20:52:18 +0100 Subject: [PATCH] Remove not used and not implemented methods from net.h (#2700) --- src/net.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/net.h b/src/net.h index d6cd95f520c2f..9516e3478c2e8 100644 --- a/src/net.h +++ b/src/net.h @@ -310,12 +310,10 @@ class CConnman void ReleaseNodeVector(const std::vector& vecNodes); void RelayTransaction(const CTransaction& tx); - void RelayTransaction(const CTransaction& tx, const CDataStream& ss); void RelayInv(CInv &inv, const int minProtoVersion = MIN_PEER_PROTO_VERSION); void RelayInvFiltered(CInv &inv, const CTransaction &relatedTx, const int minProtoVersion = MIN_PEER_PROTO_VERSION); // This overload will not update node filters, so use it only for the cases when other messages will update related transaction data in filters void RelayInvFiltered(CInv &inv, const uint256 &relatedTxHash, const int minProtoVersion = MIN_PEER_PROTO_VERSION); - void RelayInvToQuorum(Consensus::LLMQType llmqType, const uint256& quorumHash, CInv &inv, const int minProtoVersion = MIN_PEER_PROTO_VERSION); void RemoveAskFor(const uint256& hash); // Addrman functions @@ -325,7 +323,6 @@ class CConnman void AddNewAddress(const CAddress& addr, const CAddress& addrFrom, int64_t nTimePenalty = 0); void AddNewAddresses(const std::vector& vAddr, const CAddress& addrFrom, int64_t nTimePenalty = 0); std::vector GetAddresses(); - void AddressCurrentlyConnected(const CService& addr); // Denial-of-service detection/prevention // The idea is to detect peers that are behaving