153 Commits (3c98bec693404c0db6ffb5367e616d20d3fb2456)

Author SHA1 Message Date
Rusty Russell 674a2c7554 tools/generate_wire.py: make bitcoin_tx a varlen structs 7 years ago
Rusty Russell 526d3a232e tools/generate_wire.py: generate varlen arrays properly. 7 years ago
Rusty Russell ad8dfaca1c tools/generate_wire.py: make varlen structs self-allocate. 7 years ago
Rusty Russell 32abb4d928 tools/generate-wire.py: --printwire option to create print routines. 7 years ago
ZmnSCPxj fdbf2f41b4 generate-wire.py: Add scare comments to output. 7 years ago
Christian Decker 59128a86ee hsm: Make sure to pass close_info along with the UTXO 7 years ago
practicalswift 5123c4e059 Fix access to undefined variable 7 years ago
practicalswift aee3661b35 Fix typos (repeated words) 7 years ago
Rusty Russell 810abb6b21 bitcoin: create new wrapper type bitcoin_blkid, log backward endianness. 7 years ago
Rusty Russell 0237e0b28c bitcoin: create new wrapper type bitcoin_txid, log backward endianness. 7 years ago
practicalswift 0353ec0983 Remove trailing whitespace 7 years ago
practicalswift 61c47c09d0 Fix typos 7 years ago
Rusty Russell 44e45348f2 option-data-loss-protect: fix generate-wire.py and update. 7 years ago
Rusty Russell 5320cab2de generate-wire.py: create structures for optional fields. 7 years ago
William Casarin 52f741de97 tools/generate-wire.py: generalize python3 path 7 years ago
Rusty Russell 32631b4278 generate-wire.py: add --bolt arg, use size->type hacks only when that's specified. 7 years ago
Rusty Russell b3514d3430 generate-wire.py: generate chain_hash fields as sha256_double. 7 years ago
Rusty Russell aa23a2a93f generate-wire.py: handle unmarshalling of a single varlen_struct 7 years ago
Rusty Russell 7884343c15 tools/generate-wire.py: enums are assignable. 7 years ago
Rusty Russell be6347b814 tools/generate-wire.py: unmarshall zero-length arrays as NULL. 7 years ago
Rusty Russell da18645901 tools/generate-wire.py: don't avoice tal_count() on NULL. 7 years ago
Rusty Russell 9868e896d9 tools/generate-wire.py: handle marshal/unmarshal of enum types. 7 years ago
Rusty Russell ad3ab53fa4 lightningd/htlc_wire: wire types for sending HTLCs to/from channel daemon. 7 years ago
Rusty Russell a2ffccd740 tools/generate-wire.py: fix generation of array of assignable types. 7 years ago
Rusty Russell cb5ad91788 tools/generate-wire.py: allow consecutive fields to use same len var. 7 years ago
Rusty Russell 6e0e1c7067 Update to latest BOLT (hyphens changed to underscores). 8 years ago
Rusty Russell 9b6753173c tools/generate-wire: allow constant multiplier in fields. 8 years ago
Rusty Russell d072f2ec06 wire: understand struct preimage, don't treat it as sha256. 8 years ago
Christian Decker b2ea4cfd66 wiregen: Passing ctx to array helpers that require it 8 years ago
Rusty Russell e042198cf8 tools/generate-wire.py: allow typename instead of type sizes. 8 years ago
Rusty Russell 9768e4c907 tools/generate-wire.py: open-code array handling for non-u8. 8 years ago
Christian Decker 4a995a42de gen-wire: Cleanup of the wire generator tool 8 years ago
Rusty Russell 7419fde9a0 Update to new spec: differentiate channel_id and short_channel_id. 8 years ago
Rusty Russell 9fd40da38c generate-wire: don't hand unknown structures specially. 8 years ago
Rusty Russell fd09345628 generate-wire: handle variable-size arrays of unknown types. 8 years ago
Rusty Russell 1edce4878d bitcoin/signature.h: remove struct signature. 8 years ago
Rusty Russell 2b8c7cc840 tools/generate-wire.py: don't allocate on unknown names. 8 years ago
Rusty Russell 42f474af18 wire: make lengths of variable fields implied by tal_count() 8 years ago
Rusty Russell b6a55a68ea tools/generate-wire.py: handle non-integer enum values. 8 years ago
Rusty Russell 2057de6d4f tools/generate-wire.py: Apparently OptionParser is deprecated, use argparse. 8 years ago
Rusty Russell 8b72604d4d wire: allow #include directives in csv comments, and unknown structure types. 8 years ago
Rusty Russell f50af430e1 wire: add bool routines. 8 years ago
Rusty Russell 937a62100f generate-wire.py: allow optional typename in csv file. 8 years ago
Rusty Russell 8ad1298f88 generate-wire.py: add enum->name function. 8 years ago
Rusty Russell 54cfbfeba9 generate-wire.py: generate enum in order provided in CSV 8 years ago
Rusty Russell ba9e4f9377 generate-wire.py: allow hex values in csv files. 8 years ago
Rusty Russell bdaa22e247 generate-wire.py: allow NULL len parameter from fromwire_* 8 years ago
Rusty Russell e076d56709 generate-wire.py: include type bytes in towire/fromwire routines. 8 years ago
Rusty Russell 3e044fdd62 generate-wire.py: allow comments. 8 years ago
Rusty Russell bf7fefdc32 generate-wire.py: add memcheck() to towire functions. 8 years ago