Don't service stale/superceded fetch pack requests.

This commit is contained in:
JoelKatz
2013-05-17 01:05:29 -07:00
parent 5e1dddd1c7
commit a71225f9a3
3 changed files with 8 additions and 3 deletions

View File

@@ -1911,7 +1911,7 @@ void Peer::doFetchPack(const boost::shared_ptr<ripple::TMGetObjectByHash>& packe
}
theApp->getJobQueue().addJob(jtPACK, "MakeFetchPack",
BIND_TYPE(&NetworkOPs::makeFetchPack, &theApp->getOPs(), P_1,
boost::weak_ptr<Peer>(shared_from_this()), packet, wantLedger, haveLedger));
boost::weak_ptr<Peer>(shared_from_this()), packet, wantLedger, haveLedger, upTime()));
}
bool Peer::hasProto(int version)