aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2016-04-14 16:04:50 +0200
committerPieter Wuille <pieter.wuille@gmail.com>2016-04-14 16:24:56 +0200
commit38c310299cfef419d42744362b90c1700b598953 (patch)
tree19e64456f05f18420a322611f772e4b73807846c /src/net.h
parent97d0b9889f151449656d6b575f4f864df0f91a80 (diff)
Change mapRelay to store CTransactions
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/net.h b/src/net.h
index 1892c963fc..7f905002a6 100644
--- a/src/net.h
+++ b/src/net.h
@@ -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