mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-17 04:44:22 +01:00
gossipd: hand all candidates up to lightningd to select routeboost.
This lets us do more flexible filtering in the next patch. But it also keeps some weird logic out of gossipd. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
ZmnSCPxj, ZmnSCPxj jxPCSmnZ
parent
3f3a48dae9
commit
11dc1b341c
@@ -128,12 +128,15 @@ msgdata,gossip_dev_compact_store_reply,success,bool,
|
||||
|
||||
# master -> gossipd: get route_info for our incoming channels
|
||||
msgtype,gossip_get_incoming_channels,3025
|
||||
msgdata,gossip_get_incoming_channels,private_too,?bool,
|
||||
|
||||
# gossipd -> master: here they are.
|
||||
msgtype,gossip_get_incoming_channels_reply,3125
|
||||
msgdata,gossip_get_incoming_channels_reply,num,u16,
|
||||
msgdata,gossip_get_incoming_channels_reply,route_info,route_info,num
|
||||
msgdata,gossip_get_incoming_channels_reply,num_public,u16,
|
||||
msgdata,gossip_get_incoming_channels_reply,public_route_info,route_info,num_public
|
||||
msgdata,gossip_get_incoming_channels_reply,public_deadends,bool,num_public
|
||||
msgdata,gossip_get_incoming_channels_reply,num_private,u16,
|
||||
msgdata,gossip_get_incoming_channels_reply,private_route_info,route_info,num_private
|
||||
msgdata,gossip_get_incoming_channels_reply,private_deadends,bool,num_private
|
||||
|
||||
# master -> gossipd: blockheight increased.
|
||||
msgtype,gossip_new_blockheight,3026
|
||||
|
||||
|
Can't render this file because it has a wrong number of fields in line 6.
|
Reference in New Issue
Block a user