mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 13:25:43 +01:00
8bf33c7839
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
25 lines
669 B
C
25 lines
669 B
C
#ifndef LIGHTNING_LIGHTNINGD_LIGHTNINGD_H
|
|
#define LIGHTNING_LIGHTNINGD_LIGHTNINGD_H
|
|
#include "config.h"
|
|
#include <daemon/lightningd.h>
|
|
|
|
/* BOLT #1:
|
|
*
|
|
* The default TCP port is 9735. This corresponds to hexadecimal
|
|
* `0x2607`, the unicode code point for LIGHTNING.
|
|
*/
|
|
#define DEFAULT_PORT 0x2607
|
|
|
|
/* FIXME: This is two structures, during the migration from old setup to new */
|
|
struct lightningd {
|
|
/* Must be first, since things assume we can tal() off it */
|
|
struct lightningd_state dstate;
|
|
|
|
/* The directory to find all the subdaemons. */
|
|
const char *daemon_dir;
|
|
|
|
/* Log for general stuff. */
|
|
struct log *log;
|
|
};
|
|
#endif /* LIGHTNING_LIGHTNINGD_LIGHTNINGD_H */
|