Rusty Russell
6dab04ebd5
tools/generate-wire.py: include digits in #ifndef idempotent header.
Otherwise check complains that it's '#ifndef LIGHTNING_WIRE_BOLT_WIREGEN_H':
wire/bolt12_wiregen.h seems to be missing the expected include guard:
#ifndef LIGHTNING_WIRE_BOLT12_WIREGEN_H
#define LIGHTNING_WIRE_BOLT12_WIREGEN_H
...
#endif /* LIGHTNING_WIRE_BOLT12_WIREGEN_H */
make: *** [Makefile:458: check-includes] Error 1
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
4 years ago
Rusty Russell
a11edebb7c
utf8: handle UTF-8 arrays.
BOLT 12 introduces this as a new fundamental type, which lets us easily
validate them.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
4 years ago
Rusty Russell
ff8830876d
wire/tlvstream: add tlv_make_fields helper to populate ->fields array.
This is vital for calculating merkle trees; I previously used
towire+fromwire to get this!
Requires generation change so we can magic the ARRAY_SIZE var (the C
pre-processor can't uppercase things).
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
4 years ago
Rusty Russell
5c167d16ab
tools/generate-wire.py: use helpers.
This was terrible cut & paste.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
4 years ago
Rusty Russell
dc83e64003
tools/generate-wire: don't use void * pointers for tlv fromwire.
And fix up the one place which got it wrong.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
4 years ago
niftynei
82c0b48215
wires: towire/fromwire for wally_tx
We're eventually moving away from 'bitcoin_tx
4 years ago
Matt Whitlock
eab14768a8
update SHA256STAMPs using sorted dependencies
4 years ago
Rusty Russell
0e805427dc
tools/generate-wire.py: strip trailing whitespace on lines, fix bolt quotes.
There's a lot of it, and it means we can't `make check-source` on
these files.
Also bring bolt quotes up-to-date.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
4 years ago
ZmnSCPxj jxPCSnmZ
abc585b7a4
onchaind/onchain_wire.csv: Allow suppression of auto-rebroadcasting for RBF txes created by onchaind.
4 years ago
ZmnSCPxj jxPCSnmZ
34bf0133f2
onchaind/onchaind_wire.csv: Propagate minimum relay fee to onchaind.
4 years ago
Rusty Russell
d8e8426b52
Makefile: remove EXPERIMENTAL_FEATURES marker from generated files
We're going to make experimental versions of these completely separate files.
Also remove the dependency on the Makefile itself: it simply causes
unnecessary churn. We can always force-rebuild when we change a rule.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
4 years ago
Rusty Russell
82f2f43425
Generated files: more merge fallout.
We changed the generation templates!
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
4 years ago
Rusty Russell
3c6af3efb4
Makefile: commit and preserve all the wiregenerated files.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-Changed: Build: we no longer require extra Python modules to build.
4 years ago