107 Commits (1ba4b811ccb6d55ea6270a59fa7df0b1056f3cff)

Author SHA1 Message Date
Rusty Russell 5e865ce42b Makefile: unify generated files definition. 4 years ago
Rusty Russell d5c91a347a channeld: log broken message if we receive HTLCs out of order. 4 years ago
niftynei 864f2f3e21 channel_id: save to database, dont derive from funding_txid 4 years ago
Rusty Russell 6e4e267f2c doc: update BOLT now option_anchor_outputs is merged. 4 years ago
Rusty Russell a5d0c14d4d option_anchor_outputs: wire into all the subdaemons. 4 years ago
Rusty Russell f0afd060db initial_commit_tx.h: extract base-weight calculation. 4 years ago
Rusty Russell e7423888ba initial_commit_tx, commit_tx: add anchor outputs if needed. 4 years ago
Rusty Russell 222d018b1a commit_tx: take raw funding keys instead of wscript. 4 years ago
Rusty Russell 85e3b43176 channeld, openingd: take into account option_anchor_outputs for fees. 4 years ago
Rusty Russell 05c3a9bf12 script: change htlc output scripts if option_anchor_outputs. 4 years ago
Rusty Russell ffbb409b47 amount: use initializers everywhere. 4 years ago
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