120 Commits (48df6c856610d0e96cd3e098a740741fae38658d)

Author SHA1 Message Date
practicalswift 9d9a9523d0 Use snprintf(...) instead of sprintf(...) 6 years ago
Rusty Russell 5cf34d6618 Remove tal_len, use tal_count() or tal_bytelen(). 6 years ago
Rusty Russell 93cf28553d devtools/decodemsg: add --onion option for decoding onion errors. 6 years ago
Rusty Russell d241bd762c connectd: don't use gossip_getnodes_entry. 6 years ago
Rusty Russell 232b330284 tools/generate-wire.py: simple scheme to autoindent. 6 years ago
Rusty Russell 6758062a56 tools/generate-wire.py: remove ugly blank lines after for loops 6 years ago
Rusty Russell ab28972aee tools/generate-wire.py: style cleanups. 6 years ago
Rusty Russell e217bc1220 per-commit-secret is a struct secret, not a sha256. 6 years ago
Rusty Russell ac4c6b1a82 tools/generate-wire.py: support for optional fields, with ? before typename. 6 years ago
Rusty Russell c02ff11506 print_wire: hand field names to print routines. 6 years ago
arowser 85e02127a9 align generate wire template 6 years ago
practicalswift 160f9b06a5 Fix variable typo in generate-wire.py 7 years ago
practicalswift 0a20bd44f0 Fix flake8 warnings: W191 indentation contains tabs + E101 indentation contains mixed spaces and tabs 7 years ago
practicalswift e18948a6a9 Remove unused variables. Fix flake8 warnings. 7 years ago
practicalswift ae7d857c44 Make Python code conform to the Python PEP 8 style guide 7 years ago
Rusty Russell e92b710406 tools/generate-wire.py: remove length argument from fromwire_ routines. 7 years ago
Rusty Russell b7db06b577 tools/generate-wire.py: wirestring type for handing strings. 7 years ago
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