80 Commits (51ee5cc28da49760bc461f8f7550aabf5be83780)

Author SHA1 Message Date
Rusty Russell 72aa315b5e lightningd: save the fee_states into the database. 5 years ago
Rusty Russell d2673a4e6f channeld: remove changes_pending flags. 5 years ago
Rusty Russell 24d54f98ad channeld: use fee_states internally. 5 years ago
Rusty Russell 8ffd9d570b channeld: cleanup: use the channel_feerate() accessor everywhere. 5 years ago
Rusty Russell 6defc69482 channeld: allow transient negative balance. 5 years ago
Rusty Russell ce1049115a channeld: remove chainparams local parameter. 5 years ago
Rusty Russell c96cee9b8d channeld: fix invalid assumption in htlc restore. 5 years ago
Rusty Russell de65369e28 channeld: if we can't restore HTLCs, log at level broken, not debug. 5 years ago
Rusty Russell fa686c5ca7 channeld: reject wumbo payments with more style. 5 years ago
Christian Decker 181764b12d elements: Fix up feerate upper bound when updating the feerate 5 years ago
Rusty Russell ee3480e56b derive_keyset: don't rotate key for remote iff option_static_remotekey. 5 years ago
Rusty Russell 87f0ee6351 channeld: set option_static_remotekey when negotiated. 5 years ago
darosior 0b0ad4c22d transition from status_trace() to status_debug 5 years ago
darosior 0504a51211 channeld/full_channel: use louder warning when peer is about to be failed 5 years ago
Rusty Russell aca2e4f722 common/memleak: add dynamic hooks for assisting memleak. 5 years ago
Rusty Russell 2600a6ed2e channeld: get current block height when an HTLC fails. 5 years ago
Rene Pickhardt dfac1d15a2 included feedback by Rusty to check the max_concurrent_htlc value for both peers of a channel 5 years ago
Christian Decker 9288a7906b tx: Add chainparams to struct bitcoin_tx as context 5 years ago
Rusty Russell 54ce4ed1cf pytest: fail tests if we get any LOG_BROKEN level messages, unless flagged. 6 years ago
Rusty Russell 1275928fa2 channeld: don't add HTLCs if that would drive us negative. 6 years ago
Michael Schmoock 9e98d01d02 feat: pass htlc amount exceeded to exception 6 years ago
trueptolemy 92b40cb68a fix:Add infor about how many blocks needed until funding is confirmed 6 years ago
Rusty Russell 6765423393 Documentation: Update to BOLT v1.0. 6 years ago
Rusty Russell 38e7d19dd5 Makefile: check for direct amount_sat/amount_msat access. 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 26dda57cc0 utils: make tal_arr_expand safer. 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 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
practicalswift a46d712154 Avoid applying the unary minus operator to an unsigned value 6 years ago
Rusty Russell 96f05549b2 common/utils.h: add tal_arr_expand helper. 6 years ago
Christian Decker 0128bc7362 channeld: Use the chainparams to check msatoshi and funding_satoshi 6 years ago
Christian Decker 2402c524cc channeld: Keep track of the chainparams for the chain we are using 6 years ago
practicalswift 9d9a9523d0 Use snprintf(...) instead of sprintf(...) 7 years ago
Rusty Russell 5cf34d6618 Remove tal_len, use tal_count() or tal_bytelen(). 7 years ago
Rusty Russell 1119dd5577 channeld: always receive and maintain short_channel_id of failing channel. 7 years ago
Rusty Russell dd2773dfc0 common/keyset: use struct basepoints rather than open-coding fields. 7 years ago
Rusty Russell 68a8eeea21 htlc_wire: rename malformed to failcode in struct failed_htlc. 7 years ago
Rusty Russell 5a184c24e8 channeld: add extra check to channel_force_htlcs. 7 years ago
Rusty Russell efee948d3a channeld: handle HTLCs failed by failcode uniformly. 7 years ago
Rusty Russell 8155bfcf18 channeld: make channel_fulfill_htlc return the HTLC it fulfulled. 7 years ago
Rusty Russell fed5a117e7 Update ccan/structeq. 7 years ago
Rusty Russell b40b6240ce channeld: fix up BOLT references. 7 years ago