{
  "type": "illustrative_signature_policy",
  "requiredSignatures": 2,
  "roles": ["buyer", "seller", "mediator"],
  "truthTable": [
    {
      "buyer": false,
      "seller": false,
      "mediator": false,
      "thresholdSatisfied": false
    },
    {
      "buyer": false,
      "seller": false,
      "mediator": true,
      "thresholdSatisfied": false
    },
    {
      "buyer": false,
      "seller": true,
      "mediator": false,
      "thresholdSatisfied": false
    },
    {
      "buyer": false,
      "seller": true,
      "mediator": true,
      "thresholdSatisfied": true
    },
    {
      "buyer": true,
      "seller": false,
      "mediator": false,
      "thresholdSatisfied": false
    },
    {
      "buyer": true,
      "seller": false,
      "mediator": true,
      "thresholdSatisfied": true
    },
    {
      "buyer": true,
      "seller": true,
      "mediator": false,
      "thresholdSatisfied": true
    },
    {
      "buyer": true,
      "seller": true,
      "mediator": true,
      "thresholdSatisfied": true
    }
  ],
  "agreementFields": [
    "assetNetwork",
    "amount",
    "roleToKeyMapping",
    "recipientOutputs",
    "feeResponsibility",
    "disputeEvidence",
    "mediatorAvailability",
    "fallbackProcess"
  ],
  "limits": "Threshold analysis only; valid signatures and all other transaction rules assumed. No usable keys, address, complete transaction, deployed service or automatic refund.",
  "title": "Bitcoin escrow script: what a 2-of-3 policy actually controls",
  "preparedDate": "2026-11-18",
  "sources": [
    {
      "label": "Bitcoin developer guide: transactions and multisignature",
      "url": "https://developer.bitcoin.org/devguide/transactions.html"
    },
    {
      "label": "BIP 11: M-of-N signature policy",
      "url": "https://bips.dev/11/"
    },
    {
      "label": "BIP 141: P2WSH witness validation",
      "url": "https://bips.dev/141/"
    },
    {
      "label": "BIP 65: absolute timelock conditions",
      "url": "https://bips.dev/65/"
    }
  ]
}
