Add send message events for gossip_queries
authorbmancini55 <bmancini@gmail.com>
Thu, 22 Oct 2020 12:47:24 +0000 (08:47 -0400)
committerbmancini55 <bmancini@gmail.com>
Wed, 9 Dec 2020 20:02:22 +0000 (15:02 -0500)
This change enables initiating gossip queries with a peer using the
SendMessageEvent enum. Specifically we add an event for sending
query_channel_range to discover the existance of channels and an event
for sending query_short_channel_ids to request routing gossip messages
for a set of channels. These events are handled inside the process_events
method of PeerManager which sends the serialized message to the peer.


No differences found