245 Commits (2816c08036a56b4a98833315856967b7d5692050)

Author SHA1 Message Date
Rusty Russell 6765423393 Documentation: Update to BOLT v1.0. 6 years ago
trueptolemy 92c08cd861 Fix the version of bip32 private_key generation 6 years ago
Rusty Russell 38e7d19dd5 Makefile: check for direct amount_sat/amount_msat access. 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
Rusty Russell 269dbe585c wire: move short_channel formatting functions into bitcoin/short_channel_id 6 years ago
Christian Decker bccb8db974 wire: derive_channel_id should accept const struct *bitcoin_txid 6 years ago
Rusty Russell 9f1f79587e short_channel_id_dir: new primitive for one direction of short_channel_id 6 years ago
Rusty Russell c3e96e058e bolt: Updated the BOLT specification to unify UNKNOWN_PAYMENT_HASH & INCORRECT_PAYMENT_AMOUNT 6 years ago
Rusty Russell dffe2f516a signature: wrap almost all signatures in struct bitcoin_signature. 6 years ago
Rusty Russell 40943c9867 Update for latest bolt version: bca814e270dcbee2fea51c0a26ca99efef261f2b 6 years ago
lisa neigut 1b6bd3fded wire: add test for parsing optional version of channel_update 6 years ago
lisa neigut b9331e5ac8 gossipd: parse and respect optional `htlc_maximum_msat` 6 years ago
lisa neigut b1ceaf9910 gossipd: Update BOLT-split flags in channel_update 6 years ago
Christian Decker 2d7e603ac1 chainparams: Move the BOLT2 quote to the chainparams where we set it 6 years ago
Rusty Russell 10167eedd2 wire/gen_peer_wire: Update to BOLTVERSION. 6 years ago
Rusty Russell e8a7a7addb wire/Makefile: generate CSVs from specs based on BOLTVERSION. 6 years ago
Rusty Russell fc02af12d0 wire: add onion_defs.h to bolt-check, update quote. 6 years ago
Rusty Russell 5cf34d6618 Remove tal_len, use tal_count() or tal_bytelen(). 6 years ago
Rusty Russell a52d522525 gossipd: handle ping messages for remote peers too. 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
Rusty Russell ce4eef6943 wire/*: fix up BOLT references. 6 years ago
Rusty Russell 6c6da45f53 wire: Update to lastest BOLT draft. 6 years ago
Rusty Russell 7bfb9978de wire: remove --check-alignment arg from spec parsing tool. 7 years ago
practicalswift abf510740d Force the use of the POSIX C locale for all commands and their subprocesses 7 years ago
practicalswift 6269a4c55d Remove unused functions not covered by unit tests 7 years ago
practicalswift 98f49c0837 Remove include in file foo.c that is already included in foo.h 7 years ago
Rusty Russell 0a6e3d1e13 utils: remove tal_tmpctx altogether, use global. 7 years ago
Rusty Russell 46cc7c281e features: more general accessor functions. 7 years ago
Rusty Russell 61f048bbf1 gossip: rename is_gossip_msg to is_msg_for_gossipd. 7 years ago
Rusty Russell c5d41a23d7 short_channel_id: just use structeq. 7 years ago
Rusty Russell 042d5d13f5 short_channel_id: don't use bitfields. 7 years ago
Rusty Russell cf3f19524e gossip: formalize passing of siphash_seed. 7 years ago
ZmnSCPxj cfcdcf3993 wire: Implement fromwire/towire_double. 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 9a6c36a568 bitcoin/tx: remove unused pull_bitcoin_tx_onto. 7 years ago
Rusty Russell 674a2c7554 tools/generate_wire.py: make bitcoin_tx a varlen structs 7 years ago
practicalswift 9f47c0431a Fix typos 7 years ago
Rusty Russell 904a3e4ae3 MAX_FUNDING_SATOSHI: clean up def to be max, fix name, share with openingd. 7 years ago
Rusty Russell 2bc2502b23 wire: move extract_channel_id to here. 7 years ago
Rusty Russell 27e0ea2358 wire: remove special zero-key handling. 7 years ago
Christian Decker 248879e203 wire: Move bitcoin_tx serialization from htlc_wire to wire 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
Rusty Russell 477a529856 pay: make sure we don't think payment in progress if it immediately fails. 7 years ago
Christian Decker 61852b4603 cleanup: Use check_act* in handshake and remove unused static inline 7 years ago
Rusty Russell 9de3827199 channeld: don't use ccan/io, go sync. 7 years ago