mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-26 14:05:51 +00:00
Include more information in fetch packs.
This commit is contained in:
@@ -2031,7 +2031,7 @@ void NetworkOPs::makeFetchPack(Job&, boost::weak_ptr<Peer> wPeer, boost::shared_
|
|||||||
newObj.set_ledgerseq(lSeq);
|
newObj.set_ledgerseq(lSeq);
|
||||||
|
|
||||||
std::list<SHAMap::fetchPackEntry_t> pack = wantLedger->peekAccountStateMap()->getFetchPack(
|
std::list<SHAMap::fetchPackEntry_t> pack = wantLedger->peekAccountStateMap()->getFetchPack(
|
||||||
haveLedger->peekAccountStateMap().get(), false, 1024 - reply.objects().size());
|
haveLedger->peekAccountStateMap().get(), true, 1024);
|
||||||
BOOST_FOREACH(SHAMap::fetchPackEntry_t& node, pack)
|
BOOST_FOREACH(SHAMap::fetchPackEntry_t& node, pack)
|
||||||
{
|
{
|
||||||
ripple::TMIndexedObject& newObj = *reply.add_objects();
|
ripple::TMIndexedObject& newObj = *reply.add_objects();
|
||||||
|
|||||||
Reference in New Issue
Block a user