mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 23:54:22 +01:00
refactor: Moving write_ip and read_ip into routing.h
Further reduction in things in p2p_message so we can deprecate it later.
This commit is contained in:
committed by
Rusty Russell
parent
2a7e757053
commit
3aa45a6d0b
@@ -156,4 +156,7 @@ bool add_channel_direction(struct routing_state *rstate,
|
||||
const struct channel_id *channel_id,
|
||||
const u8 *announcement);
|
||||
|
||||
bool read_ip(const tal_t *ctx, const u8 *addresses, char **hostname, int *port);
|
||||
u8 *write_ip(const tal_t *ctx, const char *srcip, int port);
|
||||
|
||||
#endif /* LIGHTNING_DAEMON_ROUTING_H */
|
||||
|
||||
Reference in New Issue
Block a user