mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-09 07:10:16 +01:00
89c76a5a78
This means it will effect connect commands too (though it's too late to stop DNS lookups caused by commandline options). We also warn that this is one case where we allow forcing through Tor without a proxy set: it just means all connections will fail. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
17 lines
387 B
C
17 lines
387 B
C
#ifndef LIGHTNING_GOSSIPD_TOR_H
|
|
#define LIGHTNING_GOSSIPD_TOR_H
|
|
#include "config.h"
|
|
#include <stdbool.h>
|
|
|
|
struct addrinfo;
|
|
struct wireaddr;
|
|
struct io_conn;
|
|
struct reaching;
|
|
|
|
struct io_plan *io_tor_connect(struct io_conn *conn,
|
|
const struct addrinfo *tor_proxyaddr,
|
|
const struct wireaddr *addr,
|
|
struct reaching *reach);
|
|
|
|
#endif /* LIGHTNING_GOSSIPD_TOR_H */
|