Would there ever be a reason to use a P2SH-P2WSH-P2PKH descriptor?

0
25


Bitcoin Core’s descriptor documentation lists a P2SH-P2WSH-P2PKH descriptor as one of its examples:

sh(wsh(pkh(02e493dbf1c10d80f3581e4904930b1404cc6c13900ee0758474fa94abe8c4cd13))) describes an (overly complicated) P2SH-P2WSH-P2PKH output with the specified public key.

That just seems inefficient and weird. It’s not clear to me what advantage that construction would have over using P2SH-P2WPKH, P2WPKH, or, for his noodliness’s sake, even P2SH-P2WSH-1of1-multisig. Is this listed just because it could be done, or is there an actual case in which the P2SH-P2WSH-P2PKH construction would be superior in some fashion to other viable options?



Source link

Leave a reply