core-lightning/lightningd
Rusty Russell 607d4bf9d2 channel: update fees after lockin.
We don't respond to fee changes until we're locked in: make sure we catch
up at that point.

Note that we use NORMAL fees during opening, but IMMEDIATE after, so
this often sends a fee update.  The tests which break, we set those
feerates to be equal.

This (sometimes) changes the behavior of test_permfail, as we now
get an immediate commit, so that is fixed too so we always wait for
that to complete.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-08-24 02:17:51 +00:00
..
test param: remove old callback code 2018-08-20 01:02:25 +00:00
.gitignore
bitcoind.c bitcoind: don't use double in extracting feerate. 2018-08-22 12:13:23 +02:00
bitcoind.h bitcoind: fix spurious memleak reports. 2018-06-15 11:53:47 +02:00
chaintopology.c chaintopology: try to get a feerate estimate before we complete startup. 2018-08-24 02:17:51 +00:00
chaintopology.h chaintopology: try to get a feerate estimate before we complete startup. 2018-08-24 02:17:51 +00:00
channel_control.c channel: update fees after lockin. 2018-08-24 02:17:51 +00:00
channel_control.h lightningd: peer_start_channeld always returns true; make it void. 2018-08-10 12:46:45 +02:00
channel_state.h lightningd: new state AWAITING_UNILATERAL. 2018-08-23 14:46:22 +02:00
channel.c lightningd: new state AWAITING_UNILATERAL. 2018-08-23 14:46:22 +02:00
channel.h db: store claimed per_commitment_point from option_data_loss_protect. 2018-08-23 14:46:22 +02:00
closing_control.c connectd: rely on the master to tell us to reconnect. 2018-08-09 19:44:27 +02:00
closing_control.h gossipd: drain fd instead of passing around gossip index. 2018-04-26 05:47:57 +00:00
connect_control.c param: remove old callback code 2018-08-20 01:02:25 +00:00
connect_control.h connectd: remove separate address hint message. 2018-08-09 19:44:27 +02:00
gossip_control.c param: remove old callback code 2018-08-20 01:02:25 +00:00
gossip_control.h connectd: wean off gossip_wire message types, use our own. 2018-07-25 02:13:52 +00:00
gossip_msg.c lightningd: display all addresses in listnodes. 2018-08-06 19:33:46 +02:00
gossip_msg.h gossipd: add flag for locally disabling channel. 2018-07-27 14:12:00 +02:00
hsm_control.c lightningd: get basepoints from hsmd, don't ever get seed. 2018-07-24 00:40:01 +02:00
hsm_control.h hsmd: fix missing status messages. 2018-07-17 12:32:00 +02:00
htlc_end.c Remove unused parameter ptr in corrupt(const void *ptr, ...) 2018-02-22 10:46:30 +01:00
htlc_end.h htlc: keep channel pointer, not peer pointer. 2018-02-14 11:31:58 +01:00
invoice.c param: remove old callback code 2018-08-20 01:02:25 +00:00
invoice.h
json.c param: upgraded json_tok_short_channel_id 2018-08-20 01:02:25 +00:00
json.h param: upgraded json_tok_short_channel_id 2018-08-20 01:02:25 +00:00
jsonrpc_errors.h renamed error code 2018-07-29 16:27:38 +02:00
jsonrpc.c param: remove old callback code 2018-08-20 01:02:25 +00:00
jsonrpc.h param: upgraded json_tok_newaddr 2018-08-20 01:02:25 +00:00
lightningd.c openingd: take peer before we're opening, wait for explicit funding msg. 2018-08-09 19:44:27 +02:00
lightningd.h openingd: take peer before we're opening, wait for explicit funding msg. 2018-08-09 19:44:27 +02:00
log_status.c Remove tal_len, use tal_count() or tal_bytelen(). 2018-07-30 11:31:17 +02:00
log_status.h status: add multiple levels of logging. 2018-02-07 00:46:49 +00:00
log.c log: Append the current time to the crash log filename 2018-08-23 12:51:08 +02:00
log.h param: upgraded json_tok_loglevel 2018-08-20 01:02:25 +00:00
Makefile ping: no longer a dev_ command. 2018-08-10 12:46:45 +02:00
memdump.c Use snprintf(...) instead of sprintf(...) 2018-08-02 16:14:21 +09:30
onchain_control.c onchaind: use a point-of-last-resort if we see an unknown transaction. 2018-08-23 14:46:22 +02:00
onchain_control.h onchaind: Replay stored channeltxs to restore onchaind state 2018-04-25 14:33:38 +02:00
opening_control.c db: store claimed per_commitment_point from option_data_loss_protect. 2018-08-23 14:46:22 +02:00
opening_control.h connectd: rely on the master to tell us to reconnect. 2018-08-09 19:44:27 +02:00
options.c param: remove old callback code 2018-08-20 01:02:25 +00:00
options.h hsmd: drop newdir logic. 2018-05-05 17:55:10 +02:00
param.c param: remove old callback code 2018-08-20 01:02:25 +00:00
param.h param: remove old callback code 2018-08-20 01:02:25 +00:00
pay.c param: remove old callback code 2018-08-20 01:02:25 +00:00
pay.h pay: Pass description to send_payment 2018-07-30 03:04:45 +00:00
payalgo.c param: remove old callback code 2018-08-20 01:02:25 +00:00
payalgo.h payalgo: New file for pay command. 2018-02-16 13:08:29 +01:00
peer_control.c lightningd: new state AWAITING_UNILATERAL. 2018-08-23 14:46:22 +02:00
peer_control.h openingd: take peer before we're opening, wait for explicit funding msg. 2018-08-09 19:44:27 +02:00
peer_htlcs.c channeld: update fees if we're restarting. 2018-08-24 02:17:51 +00:00
peer_htlcs.h channeld: update fees if we're restarting. 2018-08-24 02:17:51 +00:00
ping.c param: remove old callback code 2018-08-20 01:02:25 +00:00
subd.c lightningd: don't dump core on subdaemon failure. 2018-08-05 02:03:58 +00:00
subd.h hsmd: fix missing status messages. 2018-07-17 12:32:00 +02:00
watch.c txwatch: hand ld to callback, don't assume channel is non-NULL. 2018-08-21 00:48:02 +02:00
watch.h txwatch: hand ld to callback, don't assume channel is non-NULL. 2018-08-21 00:48:02 +02:00