96 Commits (83f067b5ea0fda6bc7774bf3ac40f1b76989a3c4)

Author SHA1 Message Date
niftynei 891f61ad48 channel_tx: add the commitment sig and pubkey data to the commit tx 5 years ago
niftynei dc868630a8 tx-psbt: pass in the witness script (if known) when adding an input 5 years ago
niftynei b076f40cf3 psbt: move witness script storage into the psbt 5 years ago
Christian Decker eb8eabcc3c txs: Move commit tx generation out of the signature computation 5 years ago
lisa neigut 0e20e3c5e7 df: rename 'funder' to 'opener' 5 years ago
Rusty Russell b29d1ed3ff channeld: support HTLCs with blinding (EXPERIMENTAL_FEATURES) 5 years ago
Dr. Maxim Orlovsky 65eb9d8f43 Fixing allocation context in funding wscript generation 5 years ago
Dr. Maxim Orlovsky fe85cf9a4f Removing duplicated wscript generation for channel txs 5 years ago
Rusty Russell d9fc99ea39 channeld: simplify loading of pre-existing HTLCs. 5 years ago
Michael Schmoock af7e879308 fix: rfc #740 requires 100% feespike margin 5 years ago
Rusty Russell ed839bfda0 channeld: get the onionreply back from lightningd for failed htlcs. 5 years ago
Rusty Russell bb9b761dda channeld: don't get details of our own failed htlcs at init. 5 years ago
Rusty Russell 86c28b2272 channeld: channel drain mitigation. 5 years ago
Rusty Russell 02565bcbea channeld: trivial refactor of fee_for_htlcs(). 5 years ago
Rusty Russell 1099f6a5e1 common: use struct onionreply. 5 years ago
Rusty Russell fe84d69022 channeld: fix cut & paste bug. 5 years ago
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