{"type":"rich","version":"1.0","author_name":"npub1g5zswf6y48f7fy90jf3tlcuwdmjn8znhzaa4vkmtxaeskca8hpss23ms3l","author_url":"https://nostr.ae/npub1g5zswf6y48f7fy90jf3tlcuwdmjn8znhzaa4vkmtxaeskca8hpss23ms3l","provider_name":"njump","provider_url":"https://nostr.ae","html":"📅 Original date posted:2019-04-28\n📝 Original message:Good morning Aymeric,\n\nDifferent versions may consider different output scripts standard.\n\nYour rule of thumb, post-SegWit, should be:\n\n* If not P2PKH or P2WPKH, then wrap it in a P2SH or P2WSH.\n\nThere are more standard outputs accepted, but you can be reasonably sure that P2PKH, P2WPKH, P2SH, and P2WSH are the only standard output scripts that are likely to remain supported in the mid-future (5-\u003e10 years from 2019).\n\nLightning uses P2WSH for its scripts.\n\nAny m-of-n signing scheme in Bitcoin is P2SH (usually) or P2WSH (if you are cool).\n\n\nRegards,\nZmnSCPxj\n\n\n\n\nSent with ProtonMail Secure Email.\n\n‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐\nOn Saturday, April 27, 2019 6:37 PM, Aymeric Vitte via bitcoin-dev \u003cbitcoin-dev at lists.linuxfoundation.org\u003e wrote:\n\n\u003e Maybe trivial question but asking here because I can't find anything\n\u003e clear (or updated) about it: is somewhere explained in details what txs\n\u003e are considered standard and non standard today without having to read\n\u003e the core code?\n\u003e\n\u003e For example, modification of multisig 2 of 3:\n\u003e\n\u003e scriptSig:\n\u003e     OP_0\n\u003e     OP_PUSHDATA sign1\n\u003e     OP_PUSHDATA sign2\n\u003e     OP_2\n\u003e     OP_PUSHDATA \u003cpubkey1\u003e\u003cpubkey2\u003e\u003cpubkey3\u003e OP_3 OP_CHECKMULTISIG\n\u003e    \n\u003e scriptPubKey:\n\u003e     OP_HASH160 hash160(\u003cpubkey1\u003e\u003cpubkey2\u003e\u003cpubkey3\u003e OP_3\n\u003e OP_CHECKMULTISIG) OP_EQUAL\n\u003e\n\u003e Is this standard? Are lightning txs standards ? etc\n\u003e\n\u003e bitcoin-dev mailing list\n\u003e bitcoin-dev at lists.linuxfoundation.org\n\u003e https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev"}
