channeld: send channel updates and announcements via lightningd.

We're weaning per-peer daemons off having a direct gossipd connection.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2022-01-25 06:33:52 +10:30
parent e8554c862a
commit e841e69b1b
18 changed files with 335 additions and 127 deletions

View File

@@ -378,8 +378,9 @@ bool routing_add_node_announcement(struct routing_state *rstate,
* `announce_depth`.
*/
bool routing_add_private_channel(struct routing_state *rstate,
const struct peer *peer,
const u8 *msg, u64 index);
const struct node_id *id,
struct amount_sat sat,
const u8 *chan_ann, u64 index);
/**
* Get the local time.