mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-12-27 09:04:40 +01:00
ea30c34d82
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
14 lines
418 B
C
14 lines
418 B
C
#ifndef LIGHTNING_CONNECTD_NETADDRESS_H
|
|
#define LIGHTNING_CONNECTD_NETADDRESS_H
|
|
#include "config.h"
|
|
#include <common/wireaddr.h>
|
|
|
|
/* Address is a wildcard: try to guess what it looks like to outside world */
|
|
bool guess_address(struct wireaddr *wireaddr);
|
|
|
|
/* Is this address public? */
|
|
bool address_routable(const struct wireaddr *wireaddr,
|
|
bool allow_localhost);
|
|
|
|
#endif /* LIGHTNING_CONNECTD_NETADDRESS_H */
|