core-lightning/gossipd/tor_autoservice.h
Rusty Russell a8c0bca6a8 gossipd: take over negotiation of autogenerated Tor addresses.
For the moment, this is a straight handing of current parameters through
from master to the gossip daemon.  Next we'll change that.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-05-10 02:28:44 +00:00

15 lines
443 B
C

#ifndef LIGHTNING_GOSSIPD_TOR_AUTOSERVICE_H
#define LIGHTNING_GOSSIPD_TOR_AUTOSERVICE_H
#include "config.h"
#include <ccan/short_types/short_types.h>
#include <ccan/tal/tal.h>
#include <stdbool.h>
#include <stdlib.h>
struct wireaddr *tor_autoservice(const tal_t *ctx,
const struct wireaddr *tor_serviceaddr,
const char *tor_password,
const struct wireaddr_internal *bindings);
#endif /* LIGHTNING_GOSSIPD_TOR_AUTOSERVICE_H */