Skip to content

Conversation

@pinheadmz
Copy link
Contributor

The motivation is to ensure predictable channel open transaction size so the fee rate expected by ln_init gets applied correctly. Using p2wpkh previously, sometimes (1 out of 500) lnd would create a channel open tx that was 1 byte smaller due to variable signature length. This would inadvertently cause the effective fee rate of the tx to increase so much that it would actually interfere with the deterministic channel IDs we need in Warnet.

This change is applied to both lnd and cln and so this PR also adds test coverage for cln.

@pinheadmz pinheadmz merged commit 30130eb into bitcoin-dev-project:main Sep 11, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant