mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 09:54:16 +01:00
02faadfb93
``` In file included from bitcoin/chainparams.h:7:0,from bitcoin/chainparams.c:1: ./common/amount.h:36:11: error: initializer element is not constant ((struct amount_sat){(constant) + AMOUNT_MUST_BE_CONST(constant)}) ^ bitcoin/chainparams.c:20:21: note: in expansion of macro ‘AMOUNT_SAT’ .max_funding = AMOUNT_SAT((1 << 24) - 1), ^ ./common/amount.h:36:11: error: (near initialization for ‘networks[0].max_funding’) ((struct amount_sat){(constant) + AMOUNT_MUST_BE_CONST(constant)}) ^ bitcoin/chainparams.c:20:21: note: in expansion of macro ‘AMOUNT_SAT’ .max_funding = AMOUNT_SAT((1 << 24) - 1), ``` Fixes: #2404 Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> |
||
---|---|---|
.. | ||
test | ||
address.h | ||
base58.c | ||
base58.h | ||
block.c | ||
block.h | ||
chainparams.c | ||
chainparams.h | ||
feerate.h | ||
locktime.c | ||
locktime.h | ||
Makefile | ||
preimage.h | ||
privkey.c | ||
privkey.h | ||
pubkey.c | ||
pubkey.h | ||
pullpush.c | ||
pullpush.h | ||
README | ||
script.c | ||
script.h | ||
shadouble.c | ||
shadouble.h | ||
short_channel_id.c | ||
short_channel_id.h | ||
signature.c | ||
signature.h | ||
tx.c | ||
tx.h | ||
varint.c | ||
varint.h |
These are standard bitcoin manipulation routines which should be provided by any normal bitcoin library in whatever language you choose. The ones here are standalone ones taken from bitcoin core and some I wrote, many taken from bitcoin-iterate and pasted in here.