85 Commits (master)

Author SHA1 Message Date
niftynei 924aaf180e temp_channel_id: move to common 4 years ago
Rusty Russell 3776af4a35 common/sphinx: make TOTAL_PACKET_SIZE a macro. 4 years ago
Rusty Russell 5c167d16ab tools/generate-wire.py: use helpers. 4 years ago
Rusty Russell ca2bd98082 unittest: use common_setup / common_shutdown almost everywhere. 4 years ago
Rusty Russell c34c055d82 Makefile: use completely separate spec-derived files for EXPERIMENTAL_FEATURES 4 years ago
Rusty Russell 1746406e41 Makefile: normalize all the Makefiles 4 years ago
Rusty Russell 8150d28575 Makefile: use generic rules to make spec-derived sources. 4 years ago
Rusty Russell 93d04d08d0 wire: update to latest version of the spec. 4 years ago
Rusty Russell cfb320c972 wire: move remaining bitcoin functions out to bitcoin/ files. 4 years ago
Rusty Russell 13356b75bf wire: move towire/fromwire_amount from wire/ into common/amount.c 4 years ago
Rusty Russell f77d70d546 common/json: move rest of bitcoin/lightning-specific json functions to json_helpers. 4 years ago
Rusty Russell fda5f0b427 common/channel_id: move channel_id into its own file. 4 years ago
Rusty Russell b0c9059602 tools/generate-wire: no more lonely messages! 5 years ago
Rusty Russell 990a3ec92e EXPERIMENTAL: protocol TLV field for update_add_htlc to support blinding. 5 years ago
Wladimir J. van der Laan e4c6fd89b7 Add missing `extern` qualifiers for gcc 10 5 years ago
Rusty Russell b315a29202 wire: perform corruption test on init_msg. 5 years ago
Christian Decker db92c2ac5e tlv: Remove unused TLV deserialization function 5 years ago
Christian Decker 626675c83c tlv: Migrate tlv serialization to typesafe function 5 years ago
Christian Decker 838001af4c tlv: Migrate run-tlvstream to typesafe helpers 5 years ago
darosior 3322048774 connectd: add network to init message 5 years ago
Christian Decker 7283efa5b5 elements: Add amount_asset to support more than just plain satoshis 5 years ago
Christian Decker c38afc5512 tx: Switch to amount_sat for fee computations 5 years ago
Rusty Russell 0da074cad3 BOLT: update bolt quotes now that TLVs are not experimental. 5 years ago
Rusty Russell 02b9b7f6e6 tests: update mocks for --enable-experimental-features builds. 5 years ago
Rusty Russell 855dff704c gossipd: test crc32 routines using test vectors from PR. 5 years ago
Rusty Russell d2030539e1 EXPERIMENTAL: pull in PR 557 (with minor fixes): range query support. 5 years ago
Rusty Russell fafd5ed4b0 wire/test/run-tlvstream.c: use generated defs for test vectors. 5 years ago
Rusty Russell cc70b9c4ec wire: use common/bigsize routines 5 years ago
Rusty Russell 2241e25cb4 test: move run-bigsize into common to match common/bigsize. 5 years ago
Rusty Russell e737fe72d6 wire: add bigsize parsing tests. 5 years ago
Rusty Russell 3477034657 tests: add test for tlvstream (from BOLT 1 test vectors). 5 years ago
lisa neigut 7046d0220c makefiles: move all unit tests under `make check-units` 5 years ago
Rusty Russell 5b7776cf13 wire/test: remove unused padding code. 5 years ago
Rusty Russell 91849dddc4 wire: use struct node_id for node ids. 6 years ago
Rusty Russell 837a095d68 pubkey: rename PUBKEY_DER_LEN to PUBKEY_CMPR_LEN. 6 years ago
Rusty Russell 28f5da7b2f tools/generate-wire: use amount_msat / amount_sat for peer protocol. 6 years ago
Rusty Russell 7fad7bccba common/amount: new types struct amount_msat and struct amount_sat. 6 years ago
lisa neigut 1b6bd3fded wire: add test for parsing optional version of channel_update 6 years ago
lisa neigut b1ceaf9910 gossipd: Update BOLT-split flags in channel_update 6 years ago
Rusty Russell 5cf34d6618 Remove tal_len, use tal_count() or tal_bytelen(). 6 years ago
Rusty Russell e217bc1220 per-commit-secret is a struct secret, not a sha256. 6 years ago
Rusty Russell fed5a117e7 Update ccan/structeq. 6 years ago
practicalswift abf510740d Force the use of the POSIX C locale for all commands and their subprocesses 7 years ago
Rusty Russell c5d41a23d7 short_channel_id: just use structeq. 7 years ago
Rusty Russell e92b710406 tools/generate-wire.py: remove length argument from fromwire_ routines. 7 years ago
practicalswift 9f47c0431a Fix typos 7 years ago
practicalswift 7b80e5b66c Avoid undefined behaviour in eq_var(p1, p2, field) 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
Christian Decker 61852b4603 cleanup: Use check_act* in handshake and remove unused static inline 7 years ago