core-lightning/channeld
Rusty Russell 2b3003f25b channeld: delay sending channel_announcement by 60 seconds.
We currently send channel_announcement as soon as we and our
peer agree it's 6 blocks deep.  In theory, our other peers might
not have seen that block yet though, so delay a little.

This is mitigated by two factors:
1. lnd will stash any "not ready yet" channel_announcements anyway.
2. c-lightning doesn't enforce the 6 depth minimum at all.

We should not rely on other nodes' generosity or laxity, however!

Next release, we can start enforcing the depth limit, and maybe stashing
ones which don't quite make it (or simply enforce depth 5, not 6).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-08-02 16:50:45 +02:00
..
test wire: use common/bigsize routines 2019-07-31 23:25:59 +00:00
channel_wire.csv channeld: delay sending channel_announcement by 60 seconds. 2019-08-02 16:50:45 +02:00
channeld.c channeld: delay sending channel_announcement by 60 seconds. 2019-08-02 16:50:45 +02:00
channeld_htlc.h channeld: use amount_msat for struct htlc amount. 2019-02-21 08:01:37 +00:00
commit_tx.c tx: Add chainparams to struct bitcoin_tx as context 2019-07-31 23:22:54 +00:00
commit_tx.h tx: Add chainparams to struct bitcoin_tx as context 2019-07-31 23:22:54 +00:00
full_channel.c tx: Add chainparams to struct bitcoin_tx as context 2019-07-31 23:22:54 +00:00
full_channel.h tx: Add chainparams to struct bitcoin_tx as context 2019-07-31 23:22:54 +00:00
full_channel_error.h channeld: map htlc add/remove errors to names. 2018-02-19 02:56:51 +00:00
Makefile bigsize: make it a proper first-class type. 2019-07-31 23:25:59 +00:00