Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
netfulfilledman.cpp
Go to the documentation of this file.
12 void CNetFulfilledRequestManager::AddFulfilledRequest(const CService& addr, const std::string& strRequest)
16 mapFulfilledRequests[addrSquashed][strRequest] = GetTime() + Params().FulfilledRequestExpireTime();
19 bool CNetFulfilledRequestManager::HasFulfilledRequest(const CService& addr, const std::string& strRequest)
30 void CNetFulfilledRequestManager::RemoveFulfilledRequest(const CService& addr, const std::string& strRequest)
bool HasFulfilledRequest(const CService &addr, const std::string &strRequest)
Definition: netfulfilledman.cpp:19
void RemoveFulfilledRequest(const CService &addr, const std::string &strRequest)
Definition: netfulfilledman.cpp:30
Definition: netfulfilledman.h:17
CCriticalSection cs_mapFulfilledRequests
Definition: netfulfilledman.h:25
A combination of a network address (CNetAddr) and a (TCP) port.
Definition: netaddress.h:143
bool AllowMultiplePorts() const
Allow nodes with the same address and multiple ports.
Definition: chainparams.h:72
const CChainParams & Params()
Return the currently selected parameters.
Definition: chainparams.cpp:947
int FulfilledRequestExpireTime() const
Definition: chainparams.h:95
fulfilledreqmap_t mapFulfilledRequests
Definition: netfulfilledman.h:24
void AddFulfilledRequest(const CService &addr, const std::string &strRequest)
Definition: netfulfilledman.cpp:12
void RemoveAllFulfilledRequests(const CService &addr)
Definition: netfulfilledman.cpp:41