Skip to content

Instantly share code, notes, and snippets.

@jamesob
Last active September 22, 2023 15:50
Show Gist options
  • Save jamesob/ad7e9b7096388eb0c8bfd34715bb87e9 to your computer and use it in GitHub Desktop.
Save jamesob/ad7e9b7096388eb0c8bfd34715bb87e9 to your computer and use it in GitHub Desktop.
Transaction examples for the OP_VAULT proposal

OP_VAULT transaction examples

The following output was generated by the OP_VAULT functional test suite.

Normal spend, 1 input [NoRecoveryAuth]

Initialize (94 vB)
CTransaction: (nVersion=2, 94 bytes)
  vin:
    - [0] CTxIn(prevout=COutPoint(hash=72d1e28b4db7f49e4d14054561a3c4404e9da979588af88d923d78b704a171c3 n=0) scriptSig= nSequence=0)
  vout:
    - [0] CTxOut(nValue=49.99990000 scriptPubKey=5120ca1d99f452bd48999ea122fa36baa008e1982f45fe3f502fa4bdfa0394ace5dd)
  witnesses:
  nLockTime: 0
Trigger [1 input] (148 vB)
CTransaction: (nVersion=2, 307 bytes)
  vin:
    - [0] CTxIn(prevout=COutPoint(hash=d7fc4b66bdbc7cac56462bbe7bf93d5019483f2b89f65bf4d62ec255843ff795 n=0) scriptSig= nSequence=0)
  vout:
    - [0] CTxOut(nValue=49.99990000 scriptPubKey=51207ccb01e3897f34c3623dbe3b2cc96c9c6ca75bcb85c3d2cb203af8e6ed9e3408)
  witnesses:
    - [0] (205 bytes, 51.25 vB)
      - [0.0] (0 bytes) CScript([x('')])
      - [0.1] (1 bytes) CScript([x('81')])
      - [0.2] (0 bytes) CScript([x('')])
      - [0.3] (32 bytes) CScript([x('7028d744d034743b431e609b1d64c857dc8094a3d6c8c8352b88effd1d670699')])
      - [0.4] (64 bytes) CScript([x('c08ead30f0385cd1d3784ad17b08df3d65b50f0a3f104308d34a2174f8099f1093e09510317c6f68ddcae53fed3f0576afa58ee2e86610df8b6909fc7ec77890')])
      - [0.5] (41 bytes) CScript([x('f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9'), OP_CHECKSIGVERIFY, 10, 2, x('b275b3'), OP_VAULT])
      - [0.6] (65 bytes) CScript([x('c0c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee51a366e5791259410cad56a6cc56f3f0412b799144fbf61987dd76e30f23b03a2')])
  nLockTime: 0
Finalize [3 outputs] (171 vB)
CTransaction: (nVersion=2, 251 bytes)
  vin:
    - [0] CTxIn(prevout=COutPoint(hash=5bcc658381d3871b071b62f1c791143d0e377f5356c2c05b6b51d3886c11aa23 n=0) scriptSig= nSequence=10)
  vout:
    - [0] CTxOut(nValue=16.66663333 scriptPubKey=0014c42e7ef92fdb603af844d064faad95db9bcdfd3d)
    - [1] CTxOut(nValue=16.66663333 scriptPubKey=00144747e8746cddb33b0f7f95a90f89f89fb387cbb6)
    - [2] CTxOut(nValue=16.66663334 scriptPubKey=00147fda9cf020c16cacf529c87d8de89bfc70b8c9cb)
  witnesses:
    - [0] (102 bytes, 25.5 vB)
      - [0.0] (37 bytes) CScript([x('7028d744d034743b431e609b1d64c857dc8094a3d6c8c8352b88effd1d670699'), 10, OP_CHECKSEQUENCEVERIFY, OP_DROP, OP_CHECKTEMPLATEVERIFY])
      - [0.1] (65 bytes) CScript([x('c0c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee51a366e5791259410cad56a6cc56f3f0412b799144fbf61987dd76e30f23b03a2')])
  nLockTime: 0

Recovery from vault, 1 input [NoRecoveryAuth]

Initialize (94 vB)
CTransaction: (nVersion=2, 94 bytes)
  vin:
    - [0] CTxIn(prevout=COutPoint(hash=9ff44bb81f3cde3e181e38008d81030a39acbf4c64bed3617f9365077ec898ea n=0) scriptSig= nSequence=0)
  vout:
    - [0] CTxOut(nValue=49.99990000 scriptPubKey=5120ca1d99f452bd48999ea122fa36baa008e1982f45fe3f502fa4bdfa0394ace5dd)
  witnesses:
  nLockTime: 0
Recover from vault (1 input) (131 vB)
CTransaction: (nVersion=2, 209 bytes)
  vin:
    - [0] CTxIn(prevout=COutPoint(hash=eb95c25242d8443375143a5b0e99577ee91abd043ca618b51eba0617c2c0b327 n=0) scriptSig= nSequence=0)
  vout:
    - [0] CTxOut(nValue=49.99990000 scriptPubKey=5120cafd90c7026f0b6ab98df89490d02732881f2f4b5900856358dddff4679c2ffb)
    - [1] CTxOut(nValue=0.00000000 scriptPubKey=52)
  witnesses:
    - [0] (100 bytes, 25.0 vB)
      - [0.0] (0 bytes) CScript([x('')])
      - [0.1] (34 bytes) CScript([x('205eb59117ddf962d44e11da5ce76c699cd9e6af53764795600543f02960b66023bc')])
      - [0.2] (65 bytes) CScript([x('c0c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee5ff7fdbc5d0e27be6ab0b82fa1e1d8476fa98b27c39b9adaa012508a17b78de73')])
  nLockTime: 0

Recovery from trigger, 1 input [NoRecoveryAuth]

Initialize (94 vB)
CTransaction: (nVersion=2, 94 bytes)
  vin:
    - [0] CTxIn(prevout=COutPoint(hash=6e8d90acfdd4fc9014594ea859120c07aa1f47a5be31e89225dcc8ce48f669b9 n=0) scriptSig= nSequence=0)
  vout:
    - [0] CTxOut(nValue=49.99990000 scriptPubKey=5120ca1d99f452bd48999ea122fa36baa008e1982f45fe3f502fa4bdfa0394ace5dd)
  witnesses:
  nLockTime: 0
Trigger [1 input] (148 vB)
CTransaction: (nVersion=2, 307 bytes)
  vin:
    - [0] CTxIn(prevout=COutPoint(hash=210ced08655379e5de7528d39533b6bc9950adfc1eb7bf61685c04f5a02313fb n=0) scriptSig= nSequence=0)
  vout:
    - [0] CTxOut(nValue=49.99990000 scriptPubKey=51207ccb01e3897f34c3623dbe3b2cc96c9c6ca75bcb85c3d2cb203af8e6ed9e3408)
  witnesses:
    - [0] (205 bytes, 51.25 vB)
      - [0.0] (0 bytes) CScript([x('')])
      - [0.1] (1 bytes) CScript([x('81')])
      - [0.2] (0 bytes) CScript([x('')])
      - [0.3] (32 bytes) CScript([x('7028d744d034743b431e609b1d64c857dc8094a3d6c8c8352b88effd1d670699')])
      - [0.4] (64 bytes) CScript([x('d3d3adff10e0c01d2c990427db116804bf1852d7e7cdef6555bf6868fd34b76ba1443327ba1fde1687cb3a1d8ac3d44f055dbd468b71947fb9569725732a3d0c')])
      - [0.5] (41 bytes) CScript([x('f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9'), OP_CHECKSIGVERIFY, 10, 2, x('b275b3'), OP_VAULT])
      - [0.6] (65 bytes) CScript([x('c0c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee51a366e5791259410cad56a6cc56f3f0412b799144fbf61987dd76e30f23b03a2')])
  nLockTime: 0
Recover from trigger [1 input] (131 vB)
CTransaction: (nVersion=2, 209 bytes)
  vin:
    - [0] CTxIn(prevout=COutPoint(hash=d7d1fe7901ace924808c4d166e310f232e2265da884e124948d7d4ecf1670f24 n=0) scriptSig= nSequence=0)
  vout:
    - [0] CTxOut(nValue=49.99990000 scriptPubKey=5120cafd90c7026f0b6ab98df89490d02732881f2f4b5900856358dddff4679c2ffb)
    - [1] CTxOut(nValue=0.00000000 scriptPubKey=52)
  witnesses:
    - [0] (100 bytes, 25.0 vB)
      - [0.0] (0 bytes) CScript([x('')])
      - [0.1] (34 bytes) CScript([x('205eb59117ddf962d44e11da5ce76c699cd9e6af53764795600543f02960b66023bc')])
      - [0.2] (65 bytes) CScript([x('c0c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee55fd39d2de3863d68952c5ef5b4508ae26143661b0e61ee61e2ae9a59cef46c06')])
  nLockTime: 0

Batch recovery, n inputs [NoRecoveryAuth]

Recover from vault & trigger [3 vault inputs] (264 vB)
CTransaction: (nVersion=2, 497 bytes)
  vin:
    - [0] CTxIn(prevout=COutPoint(hash=765ab0d6612459408dea38e9c40cb70e7b68ed106beb87fc33b2e99d39f53a21 n=0) scriptSig= nSequence=0)
    - [1] CTxIn(prevout=COutPoint(hash=97119002905c4740f3e353448724b3129e6330530c322e7277592eeb58a9efcd n=0) scriptSig= nSequence=0)
    - [2] CTxIn(prevout=COutPoint(hash=ce72bc22b1d3040c568852be8cd9ad7201919eea4a7092ef62670e160378cdf6 n=0) scriptSig= nSequence=0)
  vout:
    - [0] CTxOut(nValue=149.99970000 scriptPubKey=5120cafd90c7026f0b6ab98df89490d02732881f2f4b5900856358dddff4679c2ffb)
    - [1] CTxOut(nValue=0.00000000 scriptPubKey=52)
  witnesses:
    - [0] (100 bytes, 25.0 vB)
      - [0.0] (0 bytes) CScript([x('')])
      - [0.1] (34 bytes) CScript([x('205eb59117ddf962d44e11da5ce76c699cd9e6af53764795600543f02960b66023bc')])
      - [0.2] (65 bytes) CScript([x('c1c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee52aace66f8b253de47cf7e999903680f0e549eba00de58fa3ccc463a9b50feb8e')])
    - [1] (100 bytes, 25.0 vB)
      - [1.0] (0 bytes) CScript([x('')])
      - [1.1] (34 bytes) CScript([x('205eb59117ddf962d44e11da5ce76c699cd9e6af53764795600543f02960b66023bc')])
      - [1.2] (65 bytes) CScript([x('c0c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee584df5e9ad2f4f1d14f8c77cc7cbf719c3bb3c297552816317d5f6e848cc47ae8')])
    - [2] (100 bytes, 25.0 vB)
      - [2.0] (0 bytes) CScript([x('')])
      - [2.1] (34 bytes) CScript([x('205eb59117ddf962d44e11da5ce76c699cd9e6af53764795600543f02960b66023bc')])
      - [2.2] (65 bytes) CScript([x('c1c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee57433c49e93590b94f514b34891de0729020d37737f288ec56d65e01625bd415a')])
  nLockTime: 0

Batch unvault, n inputs [NoRecoveryAuth]

Trigger [3 vault inputs] (335 vB)
CTransaction: (nVersion=2, 811 bytes)
  vin:
    - [0] CTxIn(prevout=COutPoint(hash=bf6dd1ecfad82cbd7c0258cb83584038c58cb8e6dd9eb63e871d2ed93d68b65c n=0) scriptSig= nSequence=0)
    - [1] CTxIn(prevout=COutPoint(hash=42a2658944dadee2f17e1bb9866817e01fd332c8d945d102365e7ad2f8f899c7 n=0) scriptSig= nSequence=0)
    - [2] CTxIn(prevout=COutPoint(hash=93f3ec6f4c83a9563aea81ba4fdc5f230988041a4d57881c4d360a7880e1a2a8 n=0) scriptSig= nSequence=0)
  vout:
    - [0] CTxOut(nValue=149.99970000 scriptPubKey=5120ab92d98bea9f2a0c4d25703a933f0a38df10aa087a553401a24416827c099e8f)
  witnesses:
    - [0] (205 bytes, 51.25 vB)
      - [0.0] (0 bytes) CScript([x('')])
      - [0.1] (1 bytes) CScript([x('81')])
      - [0.2] (0 bytes) CScript([x('')])
      - [0.3] (32 bytes) CScript([x('6c13939841d8470bf3ee1ea37a5614451bdf39e522deb96c35190cd5d1001e77')])
      - [0.4] (64 bytes) CScript([x('6f8a2cab5d145455d5e78d8fa30ffdb500d195e81904b8c08910f89ccecb869c0b7d78bf25512ba01e186a42488aacdaccd4f661959f184b1add8541bc3a731b')])
      - [0.5] (41 bytes) CScript([x('a0434d9e47f3c86235477c7b1ae6ae5d3442d49b1943c2b752a68e2a47e247c7'), OP_CHECKSIGVERIFY, 10, 2, x('b275b3'), OP_VAULT])
      - [0.6] (65 bytes) CScript([x('c1c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee51a366e5791259410cad56a6cc56f3f0412b799144fbf61987dd76e30f23b03a2')])
    - [1] (205 bytes, 51.25 vB)
      - [1.0] (0 bytes) CScript([x('')])
      - [1.1] (1 bytes) CScript([x('81')])
      - [1.2] (0 bytes) CScript([x('')])
      - [1.3] (32 bytes) CScript([x('6c13939841d8470bf3ee1ea37a5614451bdf39e522deb96c35190cd5d1001e77')])
      - [1.4] (64 bytes) CScript([x('6e705b52859a0a29f70e9ca3d653717ac9ad9930cec20e3afafe5bb96cf2726ce5e583433f6091dd0a32ca5ae6f2d70c7c78f0fd0139a9994524f2bd5eb7461f')])
      - [1.5] (41 bytes) CScript([x('774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb'), OP_CHECKSIGVERIFY, 10, 2, x('b275b3'), OP_VAULT])
      - [1.6] (65 bytes) CScript([x('c0c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee51a366e5791259410cad56a6cc56f3f0412b799144fbf61987dd76e30f23b03a2')])
    - [2] (205 bytes, 51.25 vB)
      - [2.0] (0 bytes) CScript([x('')])
      - [2.1] (1 bytes) CScript([x('81')])
      - [2.2] (0 bytes) CScript([x('')])
      - [2.3] (32 bytes) CScript([x('6c13939841d8470bf3ee1ea37a5614451bdf39e522deb96c35190cd5d1001e77')])
      - [2.4] (64 bytes) CScript([x('5e231f1ba74dbec8e8070afb24e9e8bff39e6ccca704ccbfe5923d01d85e37fc48b11285c3ecad0ad77c27d298f7f5b393d774724c7e54858c2ff35c49a4f7e5')])
      - [2.5] (41 bytes) CScript([x('d01115d548e7561b15c38f004d734633687cf4419620095bc5b0f47070afe85a'), OP_CHECKSIGVERIFY, 10, 2, x('b275b3'), OP_VAULT])
      - [2.6] (65 bytes) CScript([x('c0c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee51a366e5791259410cad56a6cc56f3f0412b799144fbf61987dd76e30f23b03a2')])
  nLockTime: 0

Revault [NoRecoveryAuth]

Trigger (with revault) [3 vault inputs] (379 vB)
CTransaction: (nVersion=2, 858 bytes)
  vin:
    - [0] CTxIn(prevout=COutPoint(hash=716a3564747da08db63ee70febed892f04b735862c8fbe16074e7bfc9df3d685 n=0) scriptSig= nSequence=0)
    - [1] CTxIn(prevout=COutPoint(hash=d8f2c25c3acc126df097d55dffb71aaf9a85e8f2a52cb430ff26ca568aebcba5 n=0) scriptSig= nSequence=0)
    - [2] CTxIn(prevout=COutPoint(hash=da3f88aa17637539c70eba3343dea3e1a9897fc87eb2639ed4c0b754d0920c8e n=0) scriptSig= nSequence=0)
  vout:
    - [0] CTxOut(nValue=148.99970000 scriptPubKey=512014aa997ff1215951de1ebdee579b9a8c2c6c41b7d05c05e3670e1c735969c11b)
    - [1] CTxOut(nValue=1.00000000 scriptPubKey=5120d13e191bfcd4125dff37097388b962ebcc5b321d612b2088729a5361d88d6f98)
  witnesses:
    - [0] (208 bytes, 52.0 vB)
      - [0.0] (4 bytes) CScript([x('00e1f505')])
      - [0.1] (1 bytes) CScript([x('01')])
      - [0.2] (0 bytes) CScript([x('')])
      - [0.3] (32 bytes) CScript([x('cf9f7e72f09883ba320aaeeaf674f07e24f09ebd4d0b52cb7c2c40b31b38bb47')])
      - [0.4] (64 bytes) CScript([x('bb0592d3ade2acda005c5070dee26b3e6ea0f93f93aba3f2e444ff746f97e6ec9164c92f3fe7263e3189bb7a15b42ad712a269064938727621a0f8dcbece8384')])
      - [0.5] (41 bytes) CScript([x('a0434d9e47f3c86235477c7b1ae6ae5d3442d49b1943c2b752a68e2a47e247c7'), OP_CHECKSIGVERIFY, 10, 2, x('b275b3'), OP_VAULT])
      - [0.6] (65 bytes) CScript([x('c1c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee51a366e5791259410cad56a6cc56f3f0412b799144fbf61987dd76e30f23b03a2')])
    - [1] (205 bytes, 51.25 vB)
      - [1.0] (0 bytes) CScript([x('')])
      - [1.1] (1 bytes) CScript([x('81')])
      - [1.2] (0 bytes) CScript([x('')])
      - [1.3] (32 bytes) CScript([x('cf9f7e72f09883ba320aaeeaf674f07e24f09ebd4d0b52cb7c2c40b31b38bb47')])
      - [1.4] (64 bytes) CScript([x('00969d21b8dd3618a7a521ef0b8a9bdeb08223429c36a005e3b13545722b9d88ebb202709c7d86f01a05a11ce667530207b6f64d31faa7231cc4bb0b3c3b399d')])
      - [1.5] (41 bytes) CScript([x('a0434d9e47f3c86235477c7b1ae6ae5d3442d49b1943c2b752a68e2a47e247c7'), OP_CHECKSIGVERIFY, 10, 2, x('b275b3'), OP_VAULT])
      - [1.6] (65 bytes) CScript([x('c1c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee51a366e5791259410cad56a6cc56f3f0412b799144fbf61987dd76e30f23b03a2')])
    - [2] (205 bytes, 51.25 vB)
      - [2.0] (0 bytes) CScript([x('')])
      - [2.1] (1 bytes) CScript([x('81')])
      - [2.2] (0 bytes) CScript([x('')])
      - [2.3] (32 bytes) CScript([x('cf9f7e72f09883ba320aaeeaf674f07e24f09ebd4d0b52cb7c2c40b31b38bb47')])
      - [2.4] (64 bytes) CScript([x('3f270b8eb0a787819c7ce7538e7eaf305442e594dcd927a0e96557509b93ba8aac4b5022b835699638c278f5b312bda1023a4f64e24baacbda2c8576201c8d27')])
      - [2.5] (41 bytes) CScript([x('a0434d9e47f3c86235477c7b1ae6ae5d3442d49b1943c2b752a68e2a47e247c7'), OP_CHECKSIGVERIFY, 10, 2, x('b275b3'), OP_VAULT])
      - [2.6] (65 bytes) CScript([x('c1c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee51a366e5791259410cad56a6cc56f3f0412b799144fbf61987dd76e30f23b03a2')])
  nLockTime: 0

Normal spend, 1 input [ChecksigRecoveryAuth]

Initialize (94 vB)
CTransaction: (nVersion=2, 94 bytes)
  vin:
    - [0] CTxIn(prevout=COutPoint(hash=a40319353a453fae2b590f8271b1e2bea3c2863cb796057901b3f5211fddf6a7 n=0) scriptSig= nSequence=0)
  vout:
    - [0] CTxOut(nValue=49.99990000 scriptPubKey=51207df9a5e1422669008dd8f451b5f900376198075896f5d0e4d7fc31bc7cd3e2f1)
  witnesses:
  nLockTime: 0
Trigger [1 input] (148 vB)
CTransaction: (nVersion=2, 307 bytes)
  vin:
    - [0] CTxIn(prevout=COutPoint(hash=36da2e371d8b04549ac5328c3387ac2c7cbed441fe82d6682077c15b72ac0cb7 n=0) scriptSig= nSequence=0)
  vout:
    - [0] CTxOut(nValue=49.99990000 scriptPubKey=5120b04f2b580c493ceed6f40295166953d0b89dcf9a0aec6cd757005be09d9b90fa)
  witnesses:
    - [0] (205 bytes, 51.25 vB)
      - [0.0] (0 bytes) CScript([x('')])
      - [0.1] (1 bytes) CScript([x('81')])
      - [0.2] (0 bytes) CScript([x('')])
      - [0.3] (32 bytes) CScript([x('7028d744d034743b431e609b1d64c857dc8094a3d6c8c8352b88effd1d670699')])
      - [0.4] (64 bytes) CScript([x('fa21946f4f57d94bc392e13295a8cc29d0f7d8b0ac0b8dc92b1b9aec82ab15d10a98c051e7b982ad24223cba0f8d326306a51152642ae6c9de9170d1f4efe17a')])
      - [0.5] (41 bytes) CScript([x('f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9'), OP_CHECKSIGVERIFY, 10, 2, x('b275b3'), OP_VAULT])
      - [0.6] (65 bytes) CScript([x('c1c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee5ec42617785d3ac180737f610f4f451162cb5bed282ffdc07120c67fdeb8e3e02')])
  nLockTime: 0
Finalize [3 outputs] (171 vB)
CTransaction: (nVersion=2, 251 bytes)
  vin:
    - [0] CTxIn(prevout=COutPoint(hash=04846ab4e31bfa7dabdd6ed0a5b73482f0d18732abdd42dfff47f7ba32d9e01c n=0) scriptSig= nSequence=10)
  vout:
    - [0] CTxOut(nValue=16.66663333 scriptPubKey=0014c42e7ef92fdb603af844d064faad95db9bcdfd3d)
    - [1] CTxOut(nValue=16.66663333 scriptPubKey=00144747e8746cddb33b0f7f95a90f89f89fb387cbb6)
    - [2] CTxOut(nValue=16.66663334 scriptPubKey=00147fda9cf020c16cacf529c87d8de89bfc70b8c9cb)
  witnesses:
    - [0] (102 bytes, 25.5 vB)
      - [0.0] (37 bytes) CScript([x('7028d744d034743b431e609b1d64c857dc8094a3d6c8c8352b88effd1d670699'), 10, OP_CHECKSEQUENCEVERIFY, OP_DROP, OP_CHECKTEMPLATEVERIFY])
      - [0.1] (65 bytes) CScript([x('c0c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee5ec42617785d3ac180737f610f4f451162cb5bed282ffdc07120c67fdeb8e3e02')])
  nLockTime: 0

Recovery from vault, 1 input [ChecksigRecoveryAuth]

Initialize (94 vB)
CTransaction: (nVersion=2, 94 bytes)
  vin:
    - [0] CTxIn(prevout=COutPoint(hash=cc6d2a2b7840cbf68ac18f0a4016be52a587965192f918ee4bcb1cb610a6ebd0 n=0) scriptSig= nSequence=0)
  vout:
    - [0] CTxOut(nValue=49.99990000 scriptPubKey=51207df9a5e1422669008dd8f451b5f900376198075896f5d0e4d7fc31bc7cd3e2f1)
  witnesses:
  nLockTime: 0
Recover from vault (1 input) (155 vB)
CTransaction: (nVersion=2, 308 bytes)
  vin:
    - [0] CTxIn(prevout=COutPoint(hash=574c97333bf13c74bdbcd0ebb3d41fafdba5df82568ab5113e770d19d2ad04ec n=0) scriptSig= nSequence=0)
  vout:
    - [0] CTxOut(nValue=49.99990000 scriptPubKey=5120cafd90c7026f0b6ab98df89490d02732881f2f4b5900856358dddff4679c2ffb)
    - [1] CTxOut(nValue=0.00000000 scriptPubKey=52)
  witnesses:
    - [0] (198 bytes, 49.5 vB)
      - [0.0] (0 bytes) CScript([x('')])
      - [0.1] (64 bytes) CScript([x('86488bc64b7e5bc9d3845fd7b910148d3dd1ab2559bc0434becb9865c132bcc0df0d1980357fb3bd2547a29ed7c465c906a96e32f248a77fe1c4a0a6e463955d')])
      - [0.2] (68 bytes) CScript([x('20c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee5ad205eb59117ddf962d44e11da5ce76c699cd9e6af53764795600543f02960b66023bc')])
      - [0.3] (65 bytes) CScript([x('c1c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee5ff7fdbc5d0e27be6ab0b82fa1e1d8476fa98b27c39b9adaa012508a17b78de73')])
  nLockTime: 0

Recovery from trigger, 1 input [ChecksigRecoveryAuth]

Initialize (94 vB)
CTransaction: (nVersion=2, 94 bytes)
  vin:
    - [0] CTxIn(prevout=COutPoint(hash=a4e6a1e3a07cc99e9d21f100191f105e67848734edf71a84129ade5f32d85bd4 n=0) scriptSig= nSequence=0)
  vout:
    - [0] CTxOut(nValue=49.99990000 scriptPubKey=51207df9a5e1422669008dd8f451b5f900376198075896f5d0e4d7fc31bc7cd3e2f1)
  witnesses:
  nLockTime: 0
Trigger [1 input] (148 vB)
CTransaction: (nVersion=2, 307 bytes)
  vin:
    - [0] CTxIn(prevout=COutPoint(hash=5d603e04cd33b4445202047882c7c8835e0e93f0c507725e95a049ac4b1bc56e n=0) scriptSig= nSequence=0)
  vout:
    - [0] CTxOut(nValue=49.99990000 scriptPubKey=5120b04f2b580c493ceed6f40295166953d0b89dcf9a0aec6cd757005be09d9b90fa)
  witnesses:
    - [0] (205 bytes, 51.25 vB)
      - [0.0] (0 bytes) CScript([x('')])
      - [0.1] (1 bytes) CScript([x('81')])
      - [0.2] (0 bytes) CScript([x('')])
      - [0.3] (32 bytes) CScript([x('7028d744d034743b431e609b1d64c857dc8094a3d6c8c8352b88effd1d670699')])
      - [0.4] (64 bytes) CScript([x('d81e250f17c69df60ecbcf2168027a6be30390e271f05974f9c373e5d50b6d9e227a36250c65ea9298eafb4a3d074d190bcbad347a5e2f28c471e278d8f3d7d7')])
      - [0.5] (41 bytes) CScript([x('f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9'), OP_CHECKSIGVERIFY, 10, 2, x('b275b3'), OP_VAULT])
      - [0.6] (65 bytes) CScript([x('c1c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee5ec42617785d3ac180737f610f4f451162cb5bed282ffdc07120c67fdeb8e3e02')])
  nLockTime: 0
Recover from trigger [1 input] (155 vB)
CTransaction: (nVersion=2, 308 bytes)
  vin:
    - [0] CTxIn(prevout=COutPoint(hash=9be0371292c4c6c65a9ae16f6f7d33e107d2b2d1ccc2e7f4fee5d1ead95eac8e n=0) scriptSig= nSequence=0)
  vout:
    - [0] CTxOut(nValue=49.99990000 scriptPubKey=5120cafd90c7026f0b6ab98df89490d02732881f2f4b5900856358dddff4679c2ffb)
    - [1] CTxOut(nValue=0.00000000 scriptPubKey=52)
  witnesses:
    - [0] (198 bytes, 49.5 vB)
      - [0.0] (0 bytes) CScript([x('')])
      - [0.1] (64 bytes) CScript([x('230ddd75e310318c80b72bc148bd8f8d2606f278cea6fe93a7699058c19226631ca3c5e8a3c54d053d2321bd410c2a49bf73dedf8fc97fb73db800bd62dd2d4a')])
      - [0.2] (68 bytes) CScript([x('20c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee5ad205eb59117ddf962d44e11da5ce76c699cd9e6af53764795600543f02960b66023bc')])
      - [0.3] (65 bytes) CScript([x('c0c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee55fd39d2de3863d68952c5ef5b4508ae26143661b0e61ee61e2ae9a59cef46c06')])
  nLockTime: 0

Batch recovery, n inputs [ChecksigRecoveryAuth]

Recover from vault & trigger [4 vault inputs] (525 vB)
CTransaction: (nVersion=2, 1136 bytes)
  vin:
    - [0] CTxIn(prevout=COutPoint(hash=857dfe04e1e623e69e027fcbbd4b5b38e7db40585b03ca7c3af272703291e815 n=0) scriptSig= nSequence=0)
    - [1] CTxIn(prevout=COutPoint(hash=488cfe173893f4532c5e6e4ab92891317a4d56bb043d982f14d35b5b3f5fbc04 n=0) scriptSig= nSequence=0)
    - [2] CTxIn(prevout=COutPoint(hash=8ded1c793516844426a7edfd26b57aa84165cc14c388ee19bd3c036805030b77 n=0) scriptSig= nSequence=0)
    - [3] CTxIn(prevout=COutPoint(hash=55b0226bf63b928b501990ba61bf1beb2e819ea172bf6cace70659b578d63a2d n=0) scriptSig= nSequence=0)
    - [4] CTxIn(prevout=COutPoint(hash=7337c54a1862d8f468a70c8db6b6422a257e86efdb3533faddaed8748490593b n=0) scriptSig= nSequence=0)
  vout:
    - [0] CTxOut(nValue=49.99990000 scriptPubKey=52)
    - [1] CTxOut(nValue=149.99970000 scriptPubKey=5120cafd90c7026f0b6ab98df89490d02732881f2f4b5900856358dddff4679c2ffb)
    - [2] CTxOut(nValue=49.99990000 scriptPubKey=51207368c4e3b496d0694da5db455dd853d4c9d42ac0183fbe4bc72590c2698dc69e)
    - [3] CTxOut(nValue=0.00000000 scriptPubKey=52)
  witnesses:
    - [0] (198 bytes, 49.5 vB)
      - [0.0] (1 bytes) CScript([x('01')])
      - [0.1] (64 bytes) CScript([x('cef374f7e5f07196aaf39f92bf94e23d4673ec1272529aa23d7329a1f36c2c5d596fed83e6da2218ba3ca460942d66641271601b75ad64ec4709f3cbbe686a9c')])
      - [0.2] (68 bytes) CScript([x('20c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee5ad205eb59117ddf962d44e11da5ce76c699cd9e6af53764795600543f02960b66023bc')])
      - [0.3] (65 bytes) CScript([x('c1c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee52aace66f8b253de47cf7e999903680f0e549eba00de58fa3ccc463a9b50feb8e')])
    - [1] (198 bytes, 49.5 vB)
      - [1.0] (1 bytes) CScript([x('01')])
      - [1.1] (64 bytes) CScript([x('b83b3b49707f2391d678f9be2ce0e25168ce0b492e796eab35df57d8f2ee1bf7161fd7a85a55b48c5088c62ee0c0810b873dfae9cdff274092f70ba4673962bc')])
      - [1.2] (68 bytes) CScript([x('20c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee5ad205eb59117ddf962d44e11da5ce76c699cd9e6af53764795600543f02960b66023bc')])
      - [1.3] (65 bytes) CScript([x('c1c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee584df5e9ad2f4f1d14f8c77cc7cbf719c3bb3c297552816317d5f6e848cc47ae8')])
    - [2] (198 bytes, 49.5 vB)
      - [2.0] (1 bytes) CScript([x('01')])
      - [2.1] (64 bytes) CScript([x('d870a9f8a479b95d63884e9b279c874334589a86cfa1224e521d417d8e9f1e3e1fcba8188bbf4d1db5ec7c7a9582c667c37080014242c13f42ab77cbcf1acb0d')])
      - [2.2] (68 bytes) CScript([x('20c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee5ad205eb59117ddf962d44e11da5ce76c699cd9e6af53764795600543f02960b66023bc')])
      - [2.3] (65 bytes) CScript([x('c1c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee57433c49e93590b94f514b34891de0729020d37737f288ec56d65e01625bd415a')])
    - [3] (198 bytes, 49.5 vB)
      - [3.0] (1 bytes) CScript([x('02')])
      - [3.1] (64 bytes) CScript([x('36e37b2f1ca19427c2a60c6432d434ac51cb7455f9a7d9b123fa92ee253e6a5662405b8c5c158ae66b8ba557f09b43a0bc19d0cb74e1b525dcc18afe046b561e')])
      - [3.2] (68 bytes) CScript([x('20c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee5ad20bb6a1d9e11b0ceae0c670c37a2601097003d960fadca71aa80809d21ca2de624bc')])
      - [3.3] (65 bytes) CScript([x('c1d01115d548e7561b15c38f004d734633687cf4419620095bc5b0f47070afe85aff7fdbc5d0e27be6ab0b82fa1e1d8476fa98b27c39b9adaa012508a17b78de73')])
    - [4] (0 bytes, 0.0 vB)
  nLockTime: 0

Batch unvault, n inputs [ChecksigRecoveryAuth]

Trigger [3 vault inputs] (335 vB)
CTransaction: (nVersion=2, 811 bytes)
  vin:
    - [0] CTxIn(prevout=COutPoint(hash=e083687ee02f20c7a529627b1652ac99ff70656d2a3896365d45baf94c641ab8 n=0) scriptSig= nSequence=0)
    - [1] CTxIn(prevout=COutPoint(hash=e9e32898ddc4fe77e6f2c9add97255f76913caf5531d54ad9967079a659aecd1 n=0) scriptSig= nSequence=0)
    - [2] CTxIn(prevout=COutPoint(hash=6f4ef89d6be928f0b8bd0992bd4790c02c514586fd3f7c5e973faa9fa5c76d0a n=0) scriptSig= nSequence=0)
  vout:
    - [0] CTxOut(nValue=149.99970000 scriptPubKey=5120ab92d98bea9f2a0c4d25703a933f0a38df10aa087a553401a24416827c099e8f)
  witnesses:
    - [0] (205 bytes, 51.25 vB)
      - [0.0] (0 bytes) CScript([x('')])
      - [0.1] (1 bytes) CScript([x('81')])
      - [0.2] (0 bytes) CScript([x('')])
      - [0.3] (32 bytes) CScript([x('6c13939841d8470bf3ee1ea37a5614451bdf39e522deb96c35190cd5d1001e77')])
      - [0.4] (64 bytes) CScript([x('a141e65b24ce10e951da2e1670d7b74b320680edb96b8d05bee2600aef8089c9dd1ea7ca9630813e35c11243d8e4cf4d6f29f812b5b33183e2681b9369ae1c22')])
      - [0.5] (41 bytes) CScript([x('a0434d9e47f3c86235477c7b1ae6ae5d3442d49b1943c2b752a68e2a47e247c7'), OP_CHECKSIGVERIFY, 10, 2, x('b275b3'), OP_VAULT])
      - [0.6] (65 bytes) CScript([x('c1c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee51a366e5791259410cad56a6cc56f3f0412b799144fbf61987dd76e30f23b03a2')])
    - [1] (205 bytes, 51.25 vB)
      - [1.0] (0 bytes) CScript([x('')])
      - [1.1] (1 bytes) CScript([x('81')])
      - [1.2] (0 bytes) CScript([x('')])
      - [1.3] (32 bytes) CScript([x('6c13939841d8470bf3ee1ea37a5614451bdf39e522deb96c35190cd5d1001e77')])
      - [1.4] (64 bytes) CScript([x('bf436732109b954cc716a60900a833f6e67b23e07c43e817e9b485bd56b7a8fe6e10b8b82fe2015bed007d6fa80be0126d31783429fb0baccdb54d0eb58bf5a6')])
      - [1.5] (41 bytes) CScript([x('774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb'), OP_CHECKSIGVERIFY, 10, 2, x('b275b3'), OP_VAULT])
      - [1.6] (65 bytes) CScript([x('c0c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee51a366e5791259410cad56a6cc56f3f0412b799144fbf61987dd76e30f23b03a2')])
    - [2] (205 bytes, 51.25 vB)
      - [2.0] (0 bytes) CScript([x('')])
      - [2.1] (1 bytes) CScript([x('81')])
      - [2.2] (0 bytes) CScript([x('')])
      - [2.3] (32 bytes) CScript([x('6c13939841d8470bf3ee1ea37a5614451bdf39e522deb96c35190cd5d1001e77')])
      - [2.4] (64 bytes) CScript([x('07dce547cdb5a5c287001ef9121a976136f0089243a930dc20f2b8805de356943b5c46a47873026d161cea28198fdb8c273ba4d5a986d491e7bdcd6b8272da85')])
      - [2.5] (41 bytes) CScript([x('d01115d548e7561b15c38f004d734633687cf4419620095bc5b0f47070afe85a'), OP_CHECKSIGVERIFY, 10, 2, x('b275b3'), OP_VAULT])
      - [2.6] (65 bytes) CScript([x('c0c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee51a366e5791259410cad56a6cc56f3f0412b799144fbf61987dd76e30f23b03a2')])
  nLockTime: 0

Revault [ChecksigRecoveryAuth]

Trigger (with revault) [3 vault inputs] (379 vB)
CTransaction: (nVersion=2, 858 bytes)
  vin:
    - [0] CTxIn(prevout=COutPoint(hash=8380269ae0e19471ba0f2de01163823095f1707e223415c78da6e7f67129fabe n=0) scriptSig= nSequence=0)
    - [1] CTxIn(prevout=COutPoint(hash=6fb22800144f5bf22745d38ec4a544a1f8b2f1c413b8bfaf75c25ed670e989bd n=0) scriptSig= nSequence=0)
    - [2] CTxIn(prevout=COutPoint(hash=334cd94f9f65d9ea58174d658c1266b60f96757ab9b6585c373708d55f977fe6 n=0) scriptSig= nSequence=0)
  vout:
    - [0] CTxOut(nValue=148.99970000 scriptPubKey=512014aa997ff1215951de1ebdee579b9a8c2c6c41b7d05c05e3670e1c735969c11b)
    - [1] CTxOut(nValue=1.00000000 scriptPubKey=5120d13e191bfcd4125dff37097388b962ebcc5b321d612b2088729a5361d88d6f98)
  witnesses:
    - [0] (208 bytes, 52.0 vB)
      - [0.0] (4 bytes) CScript([x('00e1f505')])
      - [0.1] (1 bytes) CScript([x('01')])
      - [0.2] (0 bytes) CScript([x('')])
      - [0.3] (32 bytes) CScript([x('cf9f7e72f09883ba320aaeeaf674f07e24f09ebd4d0b52cb7c2c40b31b38bb47')])
      - [0.4] (64 bytes) CScript([x('eaa20faaebacf22f00ce4f9a27580069f8879aefe8e38c6fa1db73eea6b941e06f5b49f46feee690b3414982b797ac0355ba344beddd485ce02654333c10af08')])
      - [0.5] (41 bytes) CScript([x('a0434d9e47f3c86235477c7b1ae6ae5d3442d49b1943c2b752a68e2a47e247c7'), OP_CHECKSIGVERIFY, 10, 2, x('b275b3'), OP_VAULT])
      - [0.6] (65 bytes) CScript([x('c1c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee51a366e5791259410cad56a6cc56f3f0412b799144fbf61987dd76e30f23b03a2')])
    - [1] (205 bytes, 51.25 vB)
      - [1.0] (0 bytes) CScript([x('')])
      - [1.1] (1 bytes) CScript([x('81')])
      - [1.2] (0 bytes) CScript([x('')])
      - [1.3] (32 bytes) CScript([x('cf9f7e72f09883ba320aaeeaf674f07e24f09ebd4d0b52cb7c2c40b31b38bb47')])
      - [1.4] (64 bytes) CScript([x('302bf19dc30feaee203d6ae0c3e6c1bb2a765ee7da64a88872eb90fb00b6fb7dbb1a3b5001002fe55ed5fc805a76ac494886e5a92d140ca041c176e6026ae0b4')])
      - [1.5] (41 bytes) CScript([x('a0434d9e47f3c86235477c7b1ae6ae5d3442d49b1943c2b752a68e2a47e247c7'), OP_CHECKSIGVERIFY, 10, 2, x('b275b3'), OP_VAULT])
      - [1.6] (65 bytes) CScript([x('c1c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee51a366e5791259410cad56a6cc56f3f0412b799144fbf61987dd76e30f23b03a2')])
    - [2] (205 bytes, 51.25 vB)
      - [2.0] (0 bytes) CScript([x('')])
      - [2.1] (1 bytes) CScript([x('81')])
      - [2.2] (0 bytes) CScript([x('')])
      - [2.3] (32 bytes) CScript([x('cf9f7e72f09883ba320aaeeaf674f07e24f09ebd4d0b52cb7c2c40b31b38bb47')])
      - [2.4] (64 bytes) CScript([x('b077173aabd9405a0428fa2311103ed07d574222520bc9f421c09b8320db0f421245bd0a7e6d86ec8ea5b83da95a82caee4a35667287d8249d160ba5702cdb37')])
      - [2.5] (41 bytes) CScript([x('a0434d9e47f3c86235477c7b1ae6ae5d3442d49b1943c2b752a68e2a47e247c7'), OP_CHECKSIGVERIFY, 10, 2, x('b275b3'), OP_VAULT])
      - [2.6] (65 bytes) CScript([x('c1c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee51a366e5791259410cad56a6cc56f3f0412b799144fbf61987dd76e30f23b03a2')])
  nLockTime: 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment