Skip to content

Conversation

@t-bast
Copy link
Member

@t-bast t-bast commented Oct 20, 2025

In order to support v3 commitments in lightning, we need to use P2A (pay-to-anchor) outputs, which are currently rejected by our script interpreter.

See bitcoin/bitcoin#30352 where this output type was introduced to bitcoind. Their amount can be set to dust with bitcoin/bitcoin#30239.

Both of those changes are available in Bitcoin Core v29.

t-bast added a commit to ACINQ/bitcoin-lib that referenced this pull request Oct 20, 2025
In order to support v3 commitments in lightning, we need to use P2A
(pay-to-anchor) outputs, which are currently rejected by our script
interpreter.

See ACINQ/bitcoin-kmp#164
@t-bast t-bast marked this pull request as ready for review October 20, 2025 14:05
@t-bast t-bast requested a review from sstone October 20, 2025 14:05
In order to support v3 commitments in lightning, we need to use P2A
(pay-to-anchor) outputs, which are currently rejected by our script
interpreter.

See bitcoin/bitcoin#30352 where this output
type was introduced to `bitcoind`. Their amount can be set to dust
with bitcoin/bitcoin#30239.

Both of those changes are available in Bitcoin Core v29.
Copy link
Member

@sstone sstone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just a few nits. I used the new unit tests to create and send transactions on regtest.

@t-bast t-bast merged commit 8bd1397 into master Oct 22, 2025
2 checks passed
@t-bast t-bast deleted the pay-to-anchor branch October 22, 2025 13:16
t-bast added a commit to ACINQ/bitcoin-lib that referenced this pull request Oct 22, 2025
In order to support v3 commitments in lightning, we need to use P2A
(pay-to-anchor) outputs, which are currently rejected by our script
interpreter.

See ACINQ/bitcoin-kmp#164
t-bast added a commit to ACINQ/bitcoin-lib that referenced this pull request Oct 22, 2025
In order to support v3 commitments in lightning, we need to use P2A
(pay-to-anchor) outputs, which are currently rejected by our script
interpreter.

See ACINQ/bitcoin-kmp#164
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.

3 participants