Forward manifests from new peer (RIPD-1325):

Previously, manifests sent to new peers were marked as history so that
they would not be forwarded. However, this prevented a starting up
node's new manifest from being forwarded beyond its directly connected
peers. Stale or invalid manifests are still not forwarded.
This commit is contained in:
wilsonianb
2016-11-29 15:08:38 -08:00
committed by Nik Bougalis
parent 7fc780dd70
commit cdf470e68d
3 changed files with 2 additions and 15 deletions

View File

@@ -702,7 +702,6 @@ PeerImp::doProtocolStart()
onReadMessage(error_code(), 0);
protocol::TMManifests tm;
tm.set_history (true);
overlay_.manifestCache ().for_each_manifest (
[&tm](size_t s){tm.mutable_list()->Reserve(s);},