mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-09 15:18:09 +01:00
85eff42d9a
This is simply the code to set up the automatic hidden service, so move it into lightningd. I removed the undefined parse_tor_wireaddr, and added a parameter name to the create_tor_hidden_service_conn() declaration for update-mocks. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
13 lines
378 B
C
13 lines
378 B
C
#ifndef LIGHTNING_LIGHTNINGD_TOR_H
|
|
#define LIGHTNING_LIGHTNINGD_TOR_H
|
|
#include "config.h"
|
|
#include <ccan/short_types/short_types.h>
|
|
#include <ccan/tal/tal.h>
|
|
#include <lightningd/lightningd.h>
|
|
#include <stdbool.h>
|
|
#include <stdlib.h>
|
|
|
|
bool check_return_from_service_call(void);
|
|
bool create_tor_hidden_service_conn(struct lightningd *ld);
|
|
#endif /* LIGHTNING_LIGHTNINGD_TOR_H */
|