refactor: Moving functionality out of p2p_announce

Further decoupling the old daemons from the new daemons.
This commit is contained in:
Christian Decker
2017-01-22 16:16:51 +01:00
committed by Rusty Russell
parent 2c06524165
commit 2a7e757053
4 changed files with 37 additions and 29 deletions

View File

@@ -149,4 +149,11 @@ struct node_map *empty_node_map(const tal_t *ctx);
char *opt_add_route(const char *arg, struct lightningd_state *dstate);
bool add_channel_direction(struct routing_state *rstate,
const struct pubkey *from,
const struct pubkey *to,
const int direction,
const struct channel_id *channel_id,
const u8 *announcement);
#endif /* LIGHTNING_DAEMON_ROUTING_H */