mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
opt_bits: parsing routines for 'bits' == 100 satoshi.
Also fix open-channel usage message. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
9
opt_bits.h
Normal file
9
opt_bits.h
Normal file
@@ -0,0 +1,9 @@
|
||||
#ifndef LIGHTNING_OPT_BITS_H
|
||||
#define LIGHTNING_OPT_BITS_H
|
||||
#include <ccan/opt/opt.h>
|
||||
#include <ccan/short_types/short_types.h>
|
||||
|
||||
char *opt_set_bits(const char *arg, u64 *satoshi);
|
||||
void opt_show_bits(char buf[OPT_SHOW_LEN], const u64 *bits);
|
||||
|
||||
#endif /* LIGHTNING_OPT_BITS_H */
|
||||
Reference in New Issue
Block a user