Pay-to-Witness-Script-Hash (P2WSH)
E696534
Pay-to-Witness-Script-Hash (P2WSH) is a Bitcoin output type that locks funds to the hash of a witness script, enabling complex, SegWit-based spending conditions with improved efficiency and malleability resistance.
All labels observed (1)
| Label | Occurrences |
|---|---|
| Pay-to-Witness-Script-Hash (P2WSH) canonical | 1 |
How this entity was disambiguated
This entity first appeared as the object of triple T7899199 — resolving that mention is where its identity was fixed. The disambiguator weighed these candidate entities and picked the highlighted one (or “None”, minting a new entity). This is how homonymy is resolved: the same surface form can point to different entities.
Target entity: Pay-to-Witness-Script-Hash (P2WSH) Context triple: [Segregated Witness, compatibleWith, Pay-to-Witness-Script-Hash (P2WSH)]
-
A.
Segregated Witness
Segregated Witness is a Bitcoin protocol upgrade that separates signature data from transaction data to increase block capacity, improve scalability, and fix transaction malleability.
-
B.
P2PKH
P2PKH (Pay-to-PubKey-Hash) is a common Bitcoin transaction output type where funds are locked to the hash of a public key and can be spent by presenting the corresponding public key and a valid digital signature.
-
C.
Zcash
Zcash is a privacy-focused cryptocurrency that uses zero-knowledge proofs to enable shielded, confidential transactions on a public blockchain.
-
D.
Bulletproof Wallets
Bulletproof Wallets is a studio album by Wu-Tang Clan member Ghostface Killah, known for its soulful production, storytelling lyrics, and collaborations with fellow Wu-Tang affiliates.
-
E.
BCP 39
BCP 39 is an IETF Best Current Practice document that provides guidelines and recommendations for the operation and management of the Internet Engineering Steering Group (IESG).
- F. None of above. chosen
- G. Unsure - the case is ambiguous/there is not enough information to decide.
Target entity: Pay-to-Witness-Script-Hash (P2WSH) Target entity description: Pay-to-Witness-Script-Hash (P2WSH) is a Bitcoin output type that locks funds to the hash of a witness script, enabling complex, SegWit-based spending conditions with improved efficiency and malleability resistance.
-
A.
Segregated Witness
Segregated Witness is a Bitcoin protocol upgrade that separates signature data from transaction data to increase block capacity, improve scalability, and fix transaction malleability.
-
B.
P2PKH
P2PKH (Pay-to-PubKey-Hash) is a common Bitcoin transaction output type where funds are locked to the hash of a public key and can be spent by presenting the corresponding public key and a valid digital signature.
-
C.
Zcash
Zcash is a privacy-focused cryptocurrency that uses zero-knowledge proofs to enable shielded, confidential transactions on a public blockchain.
-
D.
Bulletproof Wallets
Bulletproof Wallets is a studio album by Wu-Tang Clan member Ghostface Killah, known for its soulful production, storytelling lyrics, and collaborations with fellow Wu-Tang affiliates.
-
E.
BCP 39
BCP 39 is an IETF Best Current Practice document that provides guidelines and recommendations for the operation and management of the Internet Engineering Steering Group (IESG).
- F. None of above. chosen
Statements (49)
| Predicate | Object |
|---|---|
| instanceOf |
Bitcoin output type
ⓘ
SegWit output type ⓘ |
| abbreviation | P2WSH ⓘ |
| addressEncoding | Bech32 NERFINISHED ⓘ |
| addressEncoding | Bech32m not used for v0 ⓘ |
| alsoKnownAs | native P2WSH ⓘ |
| bech32PrefixMainnet | bc1 ⓘ |
| bech32PrefixTestnet | tb1 ⓘ |
| category | Bitcoin script system ⓘ |
| comparedToP2SH |
moves script execution data to witness
ⓘ
reduces non-witness size ⓘ |
| compatibleWith | native SegWit addresses ⓘ |
| consensusEnforced | yes ⓘ |
| definedIn | BIP141 NERFINISHED ⓘ |
| hashFunction | SHA256 ⓘ |
| improves |
block space efficiency
ⓘ
fee efficiency for complex scripts ⓘ transaction malleability resistance ⓘ |
| introducedWith | Segregated Witness NERFINISHED ⓘ |
| locksFundsTo | witness script hash ⓘ |
| network | Bitcoin NERFINISHED ⓘ |
| notSameAs | P2SH-wrapped P2WSH ⓘ |
| predecessor | Pay-to-Script-Hash NERFINISHED ⓘ |
| reduces | effective weight of complex scripts ⓘ |
| scriptLanguage | Bitcoin Script NERFINISHED ⓘ |
| scriptPubKeyFormat | 0 <32-byte-script-hash> ⓘ |
| scriptPubKeyHashLength | 32 bytes ⓘ |
| scriptPubKeyVersionByte | 0x00 ⓘ |
| scriptVisibility | script revealed only on spend ⓘ |
| securityProperty | prevents third-party malleability of txid ⓘ |
| segwitVersion | v0 ⓘ |
| softForkActivation | SegWit 2017 ⓘ |
| spendingRequires |
witness script
ⓘ
witness stack satisfying script ⓘ |
| standardness | standard output type on Bitcoin ⓘ |
| storesScript | in witness not in scriptPubKey ⓘ |
| supports |
complex spending conditions
ⓘ
hashlocks ⓘ multisignature scripts ⓘ timelocks ⓘ |
| usedFor |
Lightning Network funding outputs
ⓘ
complex multisig wallets ⓘ script-based smart contracts on Bitcoin ⓘ |
| usesWitnessField | true ⓘ |
| validationRule | SHA256(witnessScript) must equal witness program ⓘ |
| witnessContains |
stack elements for script evaluation
ⓘ
witness script ⓘ |
| witnessProgramLength | 32 bytes ⓘ |
| witnessProgramType | script hash ⓘ |
How these facts were elicited
The pipeline generated the facts above by prompting gpt-5.1 with this entity's name + description and the instruction below.
You are a knowledge base construction expert. Given a subject entity and a description of it, return factual statements that you know for the subject as a JSON list of dictionaries(triples), where keys must be "subject", "predicate" and "object". The number of facts may be very high, between 25 to 50 or more, for very popular subjects. For less popular subjects, the number of facts can be very low, like 5 or 10. # Requirements - If you don't know the subject at all, return an empty list. - If the subject is not a named entity, return an empty list. - Include at least one triple where predicate is "instanceOf". - Do not get too wordy. - Separate several objects into multiple triples with one object.
Subject: Pay-to-Witness-Script-Hash (P2WSH) Description of subject: Pay-to-Witness-Script-Hash (P2WSH) is a Bitcoin output type that locks funds to the hash of a witness script, enabling complex, SegWit-based spending conditions with improved efficiency and malleability resistance.
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.