Skip to content

Commit

Permalink
Remove not used and not implemented methods from net.h (#2700)
Browse files Browse the repository at this point in the history
  • Loading branch information
codablock authored and UdjinM6 committed Feb 12, 2019
1 parent c0cb274 commit b71a3f4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/net.h
Original file line number Diff line number Diff line change
Expand Up @@ -310,12 +310,10 @@ class CConnman
void ReleaseNodeVector(const std::vector<CNode*>& 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
Expand All @@ -325,7 +323,6 @@ class CConnman
void AddNewAddress(const CAddress& addr, const CAddress& addrFrom, int64_t nTimePenalty = 0);
void AddNewAddresses(const std::vector<CAddress>& vAddr, const CAddress& addrFrom, int64_t nTimePenalty = 0);
std::vector<CAddress> GetAddresses();
void AddressCurrentlyConnected(const CService& addr);

// Denial-of-service detection/prevention
// The idea is to detect peers that are behaving
Expand Down

0 comments on commit b71a3f4

Please sign in to comment.