core-lightning/tools
lisa neigut e99720344e wire-gen: ensure that tlv messages are correctly ordered
Our TLV serializer relies on TLV outputs to be ordered by type
number. Prior to this commit we relied on 1) the ordering in the
RFC to be correct and 2) users to be using a version of Python that
respects stable ordering of dicts (i.e. Python 3.7+)

Instead of relying on these implicitly, we now explicitly sort messages
by type number when the TLV sets.

Resolves #2956.

Thanks-To: @ScottTre for the sort function
Reported-By: @ZmnSCPxj
2019-08-21 03:53:54 +00:00
..
gen wire-gen: ensure that tlv messages are correctly ordered 2019-08-21 03:53:54 +00:00
test tools/test/Makefile: we depend on tools/test/gen_test.h 2019-08-19 03:43:13 +00:00
bench-gossipd.sh gossipd: remove unnecessary dev_unknown_channel_satoshis arg. 2019-05-22 11:28:44 +00:00
build-release.sh doc/MAKING-RELEASES.md: update. 2019-08-19 03:43:13 +00:00
check-bolt.c check: only check EXPERIMENTAL-tagged BOLT quotes if EXPERIMENTAL_FEATURES 2019-07-24 06:35:57 +00:00
check-includes.sh devtools/create-gossipstore: clean up enough to pass check-source. 2019-04-08 04:41:43 +00:00
check-manpage.sh tools: use /usr/bin/env bash instead of /bin/bash 2018-07-24 00:25:43 +00:00
check-markdown.sh tools: use /usr/bin/env bash instead of /bin/bash 2018-07-24 00:25:43 +00:00
check-setup_locale.sh tools/check-setup_locale.sh: don't get caught by main in non-C files. 2019-02-08 01:10:17 +00:00
check-spelling.sh spelling: Check LockTime Verify. 2018-10-23 16:55:35 +02:00
docker-entrypoint.sh [Docker] Make sure lightningd receive SIGTERM 2018-12-29 13:29:54 +01:00
generate-wire.py wire-gen: ensure that tlv messages are correctly ordered 2019-08-21 03:53:54 +00:00
headerversions.c tools: Add missing unistd.h header 2018-12-29 13:34:23 +01:00
Makefile bolt-gen: add compilation tests 2019-07-24 02:52:53 +00:00
mockup.sh fixup! FreeBSD: fix build. 2019-07-29 14:24:29 +02:00
refresh-submodules.sh build: allow building from source zip file. 2019-01-15 02:18:30 +00:00
rel.sh tools: use /usr/bin/env bash instead of /bin/bash 2018-07-24 00:25:43 +00:00
repro-build.sh remove libbase58, use base58 from libwally (#2594) 2019-04-30 23:07:31 +02:00
update-mocks.sh FreeBSD: fix build. 2019-07-29 14:24:29 +02:00