dualopend: use a lower feerate for first commitment tx for anchors.

We need to know both, because in theory we could negotiate a
non-anchor channel even if they support it.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2023-06-26 08:42:21 +09:30
parent 96e198f751
commit 6087decec3
4 changed files with 14 additions and 2 deletions

View File

@@ -27,7 +27,8 @@ every input. An error (code 309) will be returned if this requirement
is not met.
*commitment\_feerate* is an optional field. Sets the feerate for
commitment transactions: see **fundchannel**.
commitment transactions for non-anchor channels: see **fundchannel**.
For anchor channels, it is ignored.
*funding\_feerate* is an optional field. Sets the feerate for the
funding transaction. Defaults to 'opening' feerate.