cln/onchaind/test
Rusty Russell 79b28eb8c2 onchaind: tell lightningd correct nSequence value for local leases.
If the nSequence in the tx it produces is not at least the value we
test in the script, the tx will always fail:

```
error code: -26\nerror message:\nmandatory-script-verify-flag-failed (Locktime requirement not satisfied)
```

If we have a lease, the nSequence is max(lease-time-remaining,
to-self-delay), so have onchaind tell lightningd the correct nSequence.

Fixes: https://github.com/ElementsProject/lightning/issues/7460
Reported-by: https://github.com/pabpas
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-EXPERIMENTAL: Correctly collect our own (delayed) funds if we have a unilateral close when we are still offering a lease.
2025-02-25 10:10:14 +10:30
..
Makefile common: remove type_to_string files altogther. 2024-03-20 13:51:48 +10:30
onchainstress-data.gz onchaind: handle static_remotekey thresholds. 2021-06-04 16:13:08 +09:30
run-grind_feerate-bug.c coin-moves: when a splice confirms, send a channel_closed event 2024-08-08 12:30:53 -07:00
run-grind_feerate.c onchaind: tell lightningd correct nSequence value for local leases. 2025-02-25 10:10:14 +10:30