core-lightning/channeld
Rusty Russell bf2a42ada5 channeld: defer first update_fee until we have an HTLC to send.
Sending update_fee immediately after channel establishment seems to
upset LND, so work around it by deferring it.  The reason we increase
the fee after establishment is because now we might need to close the
channel in a hurry due to htlcs, but until there are htlcs that's
unnecessary.

Fixes: #3596
Changelog-Changed: Added workaround for lnd rejecting our commitment_signed when we send an update_fee after channel confirmed.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2020-04-13 20:58:06 -05:00
..
test Removing duplicated wscript generation for channel txs 2020-04-08 13:59:18 +09:30
channel_wire.csv channeld: simplify loading of pre-existing HTLCs. 2020-04-04 16:08:49 +10:30
channeld_htlc.h channeld: get the onionreply back from lightningd for failed htlcs. 2020-02-25 11:12:12 +10:30
channeld.c channeld: defer first update_fee until we have an HTLC to send. 2020-04-13 20:58:06 -05:00
commit_tx.c tx: Strengthen transaction construction checks 2020-03-24 09:52:33 +10:30
commit_tx.h channeld: remove chainparams local parameter. 2019-11-20 20:41:53 +01:00
full_channel_error.h channeld: map htlc add/remove errors to names. 2018-02-19 02:56:51 +00:00
full_channel.c Fixing allocation context in funding wscript generation 2020-04-08 13:59:18 +09:30
full_channel.h Removing duplicated wscript generation for channel txs 2020-04-08 13:59:18 +09:30
Makefile common: generalize ecdh function. 2020-04-04 16:08:49 +10:30