mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-03 20:44:54 +01:00
0f9ba53581
With enable-autotor-v2 defined in cmdline the default behavior to create v3 onions with the tor service call, is set to v2 onions. Signed-off-by: Saibato <saibato.naga@pm.me>
16 lines
478 B
C
16 lines
478 B
C
#ifndef LIGHTNING_CONNECTD_TOR_AUTOSERVICE_H
|
|
#define LIGHTNING_CONNECTD_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,
|
|
const bool use_v3_autotor);
|
|
|
|
#endif /* LIGHTNING_CONNECTD_TOR_AUTOSERVICE_H */
|