mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 18:11:28 +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>
17 lines
274 B
C
17 lines
274 B
C
#include "gen_version.h"
|
|
#include "version.h"
|
|
#include <stdio.h>
|
|
|
|
const char *version(void)
|
|
{
|
|
return VERSION;
|
|
}
|
|
|
|
char *version_and_exit(const void *unused)
|
|
{
|
|
printf("%s\n"
|
|
"aka. %s\n"
|
|
"Built with: %s\n", VERSION, VERSION_NAME, BUILD_FEATURES);
|
|
exit(0);
|
|
}
|