Rusty Russell
40dc222d94
onchaind: tell lightningd our commitment number, then get htlcs.
...
This makes init a two-stage, and causes some code hoisting.
And we can now send all the HTLCs in a single message, since we have
an 128MB limit and each HTLC is 37 bytes.
This breaks the onchaind stresstest, which uses canned internal messages.
It's time to finally delete that.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2021-10-15 12:09:36 +02:00
Rusty Russell
c503232cde
common: use bitcoin_outpoint.
...
I started pulling this thread, and the entire codebase got unravelled.
Oh well, it's done now!
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2021-10-15 12:09:36 +02:00
niftynei
86f7a179a9
channel utxo: persist the 'csv' lock value to database
...
Channel leases modify the CSV height that an output is eligible for
being spent at, persist this to the database
2021-07-20 13:28:38 -04:00
Rusty Russell
fa0cd3cc76
onchaind: handle static_remotekey thresholds.
...
No longer a global "on" or "off", it depends on the commitment number.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2021-06-04 16:13:08 +09:30
ZmnSCPxj jxPCSnmZ
abc585b7a4
onchaind/onchain_wire.csv: Allow suppression of auto-rebroadcasting for RBF txes created by onchaind.
2020-09-09 12:38:19 +09:30
ZmnSCPxj jxPCSnmZ
34bf0133f2
onchaind/onchaind_wire.csv: Propagate minimum relay fee to onchaind.
2020-09-09 12:38:19 +09:30
Rusty Russell
fe8564555f
closingd: convert to new wire generation style.
...
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2020-08-25 12:53:13 +09:30