45 Commits (d47992a46d2e698c7a303407f0ae03723b428ec0)

Author SHA1 Message Date
Rusty Russell ff8830876d wire/tlvstream: add tlv_make_fields helper to populate ->fields array. 4 years ago
Rusty Russell 5c167d16ab tools/generate-wire.py: use helpers. 4 years ago
Rusty Russell dc83e64003 tools/generate-wire: don't use void * pointers for tlv fromwire. 4 years ago
Rusty Russell 0e805427dc tools/generate-wire.py: strip trailing whitespace on lines, fix bolt quotes. 4 years ago
Rusty Russell aa441e3b27 tools/generate-wire.py: fix loop logic for towire_xxx_array 4 years ago
Rusty Russell 897c53ce1c tools/generate-wire.py: fix loop logic for towire_xxx_array 4 years ago
Rusty Russell 76813d6f90 tools/generate-wire.py: fix varsize assignment. 4 years ago
Rusty Russell dc8458d1e2 tools: fix comment in template. 4 years ago
Christian Decker c0b30ac907 wiregen: Add enums for TLV types so we can call them by their name 5 years ago
Rusty Russell 197d1bcef2 wire: move towire/fromwire_short_channel_id out to bitcoin/short_channel_id.c 5 years ago
Rusty Russell ebb7daed49 tools/generate-wire.py: don't prettify headers. 5 years ago
Rusty Russell b0c9059602 tools/generate-wire: no more lonely messages! 5 years ago
Rusty Russell 11c21f97a6 devtools/decodemsg: don't crash if we have multiple tlv options. 5 years ago
Christian Decker 5325ff6352 json-rpc: Don't let users send messages that are handled internally 5 years ago
Rusty Russell eb6a768741 tools: don't use bytelength as array length for arrays in TLVs. 5 years ago
Christian Decker 626675c83c tlv: Migrate tlv serialization to typesafe function 5 years ago
Christian Decker e12b5c3824 tlv: Add a typesafe serialization function for tlv namespaces 5 years ago
Christian Decker 5a78671d9f wire: Remove unused fromwire_tlvs 5 years ago
Christian Decker 69c17d2d31 wire: Let the TLV _is_valid function actually return validity 5 years ago
darosior 670f92002d tools/gen/impl_template: correct one-line for-loops indentation 5 years ago
darosior 5fb8e0aade tools/gen/impl_template: correct tlvs fromwire's for-loop 5 years ago
Christian Decker 2519f934aa tlv: Add validity check codegen for the tlv namespaces 5 years ago
Christian Decker 5794c83b4d tlv: Add typesafe fromwire codegen for TLV namespaces 5 years ago
Christian Decker 2255024ead tlv: Add raw fields so we can store unknown fields as well 5 years ago
lisa neigut 3f1f075421 tools: add ability to wrap wire messages with ifs 5 years ago
lisa neigut e99720344e wire-gen: ensure that tlv messages are correctly ordered 5 years ago
Rusty Russell b10e0e08bb tools/generate-wire.py: add option to expose tlv_record_type 5 years ago
Rusty Russell 3f8600e9c0 tools/generate-wire.py: handle implicit tlv length fields. 5 years ago
Rusty Russell 2e68b88be8 tools: fix tlv generation 5 years ago
lisa neigut 42251cc5b9 bolt-gen: fixup subtype nested varsize definition 6 years ago
lisa neigut b6d4c372bb bolt-gen: fix broken 'exposed subtype' generation 6 years ago
lisa neigut 068496298c bolt-gen: rm unused bolt-generator; rename new bolt generator 6 years ago
lisa neigut 236d26308f bolt-gen: make optional 'assignable' fields work 6 years ago
lisa neigut ff82c918a5 bolt-gen: formatting cleanups 6 years ago
lisa neigut 316edb39a4 bolt-gen: for wire messages, print out optional fields (if present) 6 years ago
lisa neigut 009e9dc945 bolt-gen: neaten up generated comments 6 years ago
lisa neigut 281b4c241e bolt-gen: fixup the devtool/decodemsg printing facility 6 years ago
lisa neigut 4261e508a9 bolt-gen: add TLV support 6 years ago
lisa neigut 12125ec8dc bolt-gen: small cleanups 6 years ago
lisa neigut f2819ba7d8 bolt-gen: remove 'is-optional' qualifier from msg field 6 years ago
lisa neigut 96bf7aead5 bolt-gen: handle variable-sized and optionals 6 years ago
lisa neigut ade594e941 bolt-gen: add 'top-line' file comments to output 6 years ago
lisa neigut fe3f4f52a0 bolt-gen: handle csv inline comments 6 years ago
lisa neigut d7a68b75f1 bolt-gen: fixup broken subtype parsing 6 years ago
lisa neigut 6c240ab589 bolts: new parsing script and templates for new bolt format 6 years ago