mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 13:25:43 +01:00
85ff95e829
To avoid everything pulling in HTLCs stuff to the opening daemon, we split the channel and commit_tx routines into initial_channel and initial_commit_tx (no HTLC support) and move full HTLC supporting versions into channeld. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
14 lines
365 B
C
14 lines
365 B
C
#ifndef LIGHTNING_VERSION_H
|
|
#define LIGHTNING_VERSION_H
|
|
#include "config.h"
|
|
#include <ccan/opt/opt.h>
|
|
|
|
char *version_and_exit(const void *unused);
|
|
const char *version(void);
|
|
|
|
#define opt_register_version() \
|
|
opt_register_early_noarg("--version|-V", version_and_exit, NULL, \
|
|
"print version to standard output and exit")
|
|
|
|
#endif /* LIGHTNING_VERSION_H */
|