257 Commits (e843e138fe43c48c6165d860ea99a627945a91a4)

Author SHA1 Message Date
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 948ca470ad bitcoin: use amount_sat/amount_msat. 6 years ago
Rusty Russell 3ac0e814d0 daemons: use amount_msat/amount_sat in all internal wire transfers. 6 years ago
Rusty Russell 0d30b89043 channeld: use amount_msat for struct htlc amount. 6 years ago
Rusty Russell 3412c5d392 commit_tx & htlc_tx: use amount_sat/amount_msat. 6 years ago
Rusty Russell bb00deeea4 channeld: use amount_sat/amount_msat. 6 years ago
Rusty Russell 93dcd5fed7 channeld: avoid overflow in reloading of channel from db. 6 years ago
Rusty Russell b8e484b508 struct channel_config: use amount_sat / amount_msat. 6 years ago
Rusty Russell 85b8b25749 bitcoin/chainparams: use amount_sat / amount_msat 6 years ago
Rusty Russell 7fad7bccba common/amount: new types struct amount_msat and struct amount_sat. 6 years ago
Rusty Russell 5f0b065622 channeld: handle funding_locked message before reestablish. 6 years ago
Simon Vrouwe 6e4d9acac3 channeld: prioritize read from peer over (read from gossipd and) write to peer 6 years ago
lisa neigut c45d034bc0 option_data_loss_protect: fixup commitment point check 6 years ago
Rusty Russell 26dda57cc0 utils: make tal_arr_expand safer. 6 years ago
Rusty Russell c3e96e058e bolt: Updated the BOLT specification to unify UNKNOWN_PAYMENT_HASH & INCORRECT_PAYMENT_AMOUNT 6 years ago
Christian Decker 65054ae72e bolt: Updated the BOLT specification to a07dc3df3b4611989e3359f28f96c574f7822850 6 years ago
Rusty Russell 55e8634a1f channeld: don't fail channel on unknown code in update_fail_malformed_htlc. 6 years ago
Rusty Russell 7e8dbc1c37 sphinx: use struct pubkey. 6 years ago
Rusty Russell 109c6eb3a3 channeld: include proper sha value in BADONION errors. 6 years ago
Rusty Russell f5ced1ddd5 channeld: handle malformed onion properly. 6 years ago
Rusty Russell 85ce1ff1c8 channeld: allow creation of the three BADONION errors. 6 years ago
Rusty Russell 554c3ec7e5 channeld: process onion packet ourselves. 6 years ago
Rusty Russell 59febcb968 sphinx: explain why parse_onionpacket fails. 6 years ago
Rusty Russell 66de6b84be channeld: use pointer for shared secret. 6 years ago
Rusty Russell 72b68845ca commit_tx: make fee msat vs sat explicit. 6 years ago
Rusty Russell a8e0e1709a channeld: fix fee calculation. 6 years ago
Rusty Russell 6aa511fa7a channeld: only enable option_data_loss_protect if EXPERIMENTAL_FEATURES. 6 years ago
Rusty Russell 54623a9ff5 channeld: don't assume we offered option_data_loss_protect. 6 years ago
Rusty Russell 881c3893e6 channeld: get local peer features from lightningd. 6 years ago
lisa neigut a39c97c960 channeld: support private channel creation, fixes #2125 6 years ago
Rusty Russell dffe2f516a signature: wrap almost all signatures in struct bitcoin_signature. 6 years ago
Rusty Russell 9257f652fd channeld: don't save commit_sigs in struct peer. 6 years ago
Rusty Russell a046af4416 lightningd/test: move some tests to common/ and channeld/ 6 years ago
Rusty Russell 95e47cdac2 channeld: accept update_fee before funding_locked. 6 years ago
Rusty Russell d3ea9bf8bf channeld: wire up dev_memleak. 6 years ago
Rusty Russell 6094a95132 channeld: don't leak messages, and free init-only variables. 6 years ago
Rusty Russell bed7986650 channeld: speak no wumbo. 6 years ago
Rusty Russell 5a12af817a channeld: don't keep local copy of config. 6 years ago
Rusty Russell 22858f35f9 struct channel: keep a copy of configs, not just pointers. 6 years ago
Rusty Russell b5a96765d8 struct channel: remove most helpers. 6 years ago
Jon Griffiths 087ef43a0d Call wally_init(0) on startup to enabled assembly-optimised SHA-256 6 years ago
Rusty Russell 5c60d7ffb2 gossipd: split wire types into msgs from lightningd and msgs from per-peer daemons 6 years ago
Rusty Russell 3e2dea221b common/msg_queue: make it a tal object. 6 years ago
Rusty Russell 3746ea36e2 channeld: tiebreak identical HTLC outputs by CLTV. 6 years ago
Rusty Russell 0c28c7b6a5 channeld: htlcmap is never NULL. 6 years ago
lisa neigut 66ca2a333f channeld: use u64 fo `htlc_minimum_msat` 6 years ago
lisa neigut 0ae1d03513 BOLT7: broadcast `htlc_maximum_msat` in `channel_update s 6 years ago
Rusty Russell ea4308ce52 channeld: allow WIRE_ANNOUNCEMENT_SIGNATURES before funding_locked. 6 years ago
practicalswift a46d712154 Avoid applying the unary minus operator to an unsigned value 6 years ago