Skip to content

Conversation

@delta1
Copy link
Member

@delta1 delta1 commented Jan 13, 2026

Changes tweakfedpegscript to return both p2wsh and p2shwsh version of
the tweaked address.

"address" has been removed from the tweakfedpegscript RPC result and replaced with "p2wsh" and
"p2shwsh" addresses.

@jsarenik
Copy link

Tested ACK a4eeed9

@delta1 delta1 marked this pull request as draft January 13, 2026 11:21
@delta1 delta1 force-pushed the 2026-01-tweakfedpegscript branch from a4eeed9 to f2bd052 Compare January 20, 2026 10:03
@delta1 delta1 marked this pull request as ready for review January 20, 2026 10:03
@delta1 delta1 changed the title rpc: change tweakfedpegscript to output P2WSH address rpc!: change tweakfedpegscript to output both p2wsh and p2shwsh addresses Jan 20, 2026
@jsarenik
Copy link

jsarenik commented Jan 20, 2026

NACK a4eeed9, have read the diff

Copy link

@jsarenik jsarenik left a comment

Choose a reason for hiding this comment

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

p2shwsh seems very non-standard and I do not know what is meant by that. Did you mean following?

sh(wpkh), Nested Segwit, P2SH-segwit
(all above are the same thing, how people call it, better do not add another)

@delta1
Copy link
Member Author

delta1 commented Jan 20, 2026

It's wrapped segwit.

https://river.com/learn/terms/w/wrapped-segwit/

Changes tweakfedpegscript to return both p2wsh and p2shwsh version of
the tweaked address.

"address" has been removed from the result and replaced with "p2wsh" and
"p2shwsh".
@delta1 delta1 force-pushed the 2026-01-tweakfedpegscript branch from f2bd052 to 5d64e89 Compare January 20, 2026 13:03
@tomt1664
Copy link
Member

Tested ACK 5d64e89

@psgreco psgreco merged commit 6d29a59 into ElementsProject:master Jan 20, 2026
14 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.

4 participants