rgb-cln/lightningd
Christian Decker c921092442 channeld: Track the funding depth while awaiting lockin
We used to agree up on the `minimum_depth` with the peer, thus when
they told us that the funding locked we'd be sure we either have a
scid or we'd trigger the state transition when we do. However if we
had a scid, and we got a funding_locked we'd trust them not to have
sent it early. Now we explicitly track the depth in the channel while
waiting for the funding to confirm.

Changelog-Fixed: channeld: Enforce our own `minimum_depth` beyond just confirming
2022-06-07 13:43:28 +02:00
..
test
.gitignore
Makefile
bitcoind.c
bitcoind.h
chaintopology.c
chaintopology.h
channel.c channeld: Track the funding depth while awaiting lockin 2022-06-07 13:43:28 +02:00
channel.h channeld: Track the funding depth while awaiting lockin 2022-06-07 13:43:28 +02:00
channel_control.c channeld: Track the funding depth while awaiting lockin 2022-06-07 13:43:28 +02:00
channel_control.h
channel_state.h
closing_control.c
closing_control.h
coin_mvts.c
coin_mvts.h
connect_control.c
connect_control.h
datastore.c
dual_open_control.c
dual_open_control.h
gossip_control.c
gossip_control.h
hsm_control.c
hsm_control.h
htlc_end.c
htlc_end.h
htlc_set.c
htlc_set.h
invoice.c
invoice.h
io_loop_with_timers.c
io_loop_with_timers.h
json.c
json.h
jsonrpc.c
jsonrpc.h
lightningd.c
lightningd.h
log.c
log.h
log_status.c
log_status.h
memdump.c
memdump.h
notification.c db: Store the local alias for forwarded incoming payments 2022-06-07 13:43:28 +02:00
notification.h
offer.c
onchain_control.c
onchain_control.h
onion_message.c
onion_message.h
opening_common.c
opening_common.h
opening_control.c
opening_control.h
options.c
options.h
pay.c ld: Use the local alias when reporting failures with zeroconf 2022-06-07 13:43:28 +02:00
pay.h
peer_control.c jsonrpc: Include the direction also if we have an alias 2022-06-07 13:43:28 +02:00
peer_control.h
peer_fd.c
peer_fd.h
peer_htlcs.c
peer_htlcs.h
ping.c
plugin.c
plugin.h
plugin_control.c
plugin_control.h
plugin_hook.c
plugin_hook.h
routehint.c
routehint.h
signmessage.c
subd.c
subd.h
watch.c
watch.h