Pass Init message to sync_routing_table method
authorbmancini55 <bmancini@gmail.com>
Thu, 3 Dec 2020 17:00:36 +0000 (12:00 -0500)
committerbmancini55 <bmancini@gmail.com>
Wed, 9 Dec 2020 20:02:32 +0000 (15:02 -0500)
commit7a4a29ffe0dbfdd2fe82376024ae680401c74700
treeb95f6421d36470475ef13f0e2639ada1dfa78373
parent7e1e0ac97cc2f96a72dfb97fd5edcd039267e681
Pass Init message to sync_routing_table method

This commit modifies sync_routing_table in RoutingMessageHandler to
accept a reference to the Init message received by the peer. This allows
the method to use the Peer's features to drive the operations of the
gossip_queries routing table sync.
lightning-net-tokio/src/lib.rs
lightning/src/ln/msgs.rs
lightning/src/routing/network_graph.rs
lightning/src/util/test_utils.rs