diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2016-04-14 16:04:50 +0200 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2016-04-14 16:24:56 +0200 |
commit | 38c310299cfef419d42744362b90c1700b598953 (patch) | |
tree | 19e64456f05f18420a322611f772e4b73807846c /src/net.h | |
parent | 97d0b9889f151449656d6b575f4f864df0f91a80 (diff) |
Change mapRelay to store CTransactions
Diffstat (limited to 'src/net.h')
-rw-r--r-- | src/net.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -161,8 +161,8 @@ extern int nMaxConnections; extern std::vector<CNode*> vNodes; extern CCriticalSection cs_vNodes; -extern std::map<CInv, CDataStream> mapRelay; -extern std::deque<std::pair<int64_t, CInv> > vRelayExpiration; +extern std::map<uint256, CTransaction> mapRelay; +extern std::deque<std::pair<int64_t, uint256> > vRelayExpiration; extern CCriticalSection cs_mapRelay; extern limitedmap<uint256, int64_t> mapAlreadyAskedFor; @@ -773,7 +773,6 @@ public: class CTransaction; void RelayTransaction(const CTransaction& tx, CFeeRate feerate); -void RelayTransaction(const CTransaction& tx, CFeeRate feerate, const CDataStream& ss); /** Access to the (IP) address database (peers.dat) */ class CAddrDB |