bitcoin-ruby 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +2 -0
- data/.travis.yml +2 -2
- data/COPYING +1 -1
- data/Gemfile +5 -11
- data/README.rdoc +11 -5
- data/Rakefile +5 -0
- data/bin/bitcoin_node +11 -29
- data/bin/bitcoin_node_cli +81 -0
- data/bin/bitcoin_wallet +9 -6
- data/doc/NODE.rdoc +79 -26
- data/examples/bbe_verify_tx.rb +1 -1
- data/examples/index_nhash.rb +24 -0
- data/examples/reindex_p2sh_addrs.rb +44 -0
- data/lib/bitcoin.rb +135 -20
- data/lib/bitcoin/builder.rb +233 -63
- data/lib/bitcoin/key.rb +89 -16
- data/lib/bitcoin/litecoin.rb +13 -11
- data/lib/bitcoin/namecoin.rb +5 -4
- data/lib/bitcoin/network/command_client.rb +23 -13
- data/lib/bitcoin/network/command_handler.rb +336 -131
- data/lib/bitcoin/network/connection_handler.rb +14 -13
- data/lib/bitcoin/network/node.rb +61 -20
- data/lib/bitcoin/protocol.rb +5 -1
- data/lib/bitcoin/protocol/block.rb +15 -3
- data/lib/bitcoin/protocol/parser.rb +3 -3
- data/lib/bitcoin/protocol/tx.rb +82 -20
- data/lib/bitcoin/protocol/txin.rb +7 -0
- data/lib/bitcoin/protocol/txout.rb +12 -9
- data/lib/bitcoin/script.rb +329 -75
- data/lib/bitcoin/storage/dummy/dummy_store.rb +23 -4
- data/lib/bitcoin/storage/models.rb +6 -11
- data/lib/bitcoin/storage/sequel/migrations/005_change_tx_hash_to_bytea.rb +14 -0
- data/lib/bitcoin/storage/sequel/migrations/006_add_tx_nhash.rb +31 -0
- data/lib/bitcoin/storage/sequel/migrations/007_add_prev_out_index_index.rb +16 -0
- data/lib/bitcoin/storage/sequel/migrations/008_add_txin_p2sh_type.rb +31 -0
- data/lib/bitcoin/storage/sequel/migrations/009_add_addrs_type.rb +56 -0
- data/lib/bitcoin/storage/sequel/sequel_store.rb +168 -70
- data/lib/bitcoin/storage/storage.rb +161 -97
- data/lib/bitcoin/storage/utxo/migrations/002_utxo.rb +1 -1
- data/lib/bitcoin/storage/utxo/migrations/004_add_addrs_type.rb +14 -0
- data/lib/bitcoin/storage/utxo/utxo_store.rb +25 -12
- data/lib/bitcoin/validation.rb +87 -56
- data/lib/bitcoin/version.rb +1 -1
- data/spec/bitcoin/bitcoin_spec.rb +38 -0
- data/spec/bitcoin/builder_spec.rb +177 -0
- data/spec/bitcoin/fixtures/litecoin-tx-f5aa30f574e3b6f1a3d99c07a6356ba812aabb9661e1d5f71edff828cbd5c996.json +259 -0
- data/spec/bitcoin/fixtures/rawblock-testnet-265322.bin +0 -0
- data/spec/bitcoin/fixtures/tx-0295028ef826b2a188409cb905b631faebb9bb3cdf14510571c5f4bd8591338f.json +64 -0
- data/spec/bitcoin/fixtures/tx-03339a725007a279484fb6f5361f522dd1cf4d0923d30e6b973290dba4275f92.json +64 -0
- data/spec/bitcoin/fixtures/tx-0ce7e5238fbdb6c086cf1b384b21b827e91cc23f360417265874a5a0d86ce367.json +64 -0
- data/spec/bitcoin/fixtures/tx-0ef34c49f630aea17df0080728b0fc67bf5f87fbda936934a4b11b4a69d7821e.json +64 -0
- data/spec/bitcoin/fixtures/tx-1129d2a8bd5bb3a81e54dc96a90f1f6b2544575748caa17243470935c5dd91b7.json +28 -0
- data/spec/bitcoin/fixtures/tx-19aa42fee0fa57c45d3b16488198b27caaacc4ff5794510d0c17f173f05587ff.json +23 -0
- data/spec/bitcoin/fixtures/tx-1a4f3b9dc4494aeedeb39f30dd37e60541b2abe3ed4977992017cc0ad4f44956.json +64 -0
- data/spec/bitcoin/fixtures/tx-1f9191dcf2b1844ca28c6ef4b969e1d5fab70a5e3c56b7007949e55851cb0c4f.json +64 -0
- data/spec/bitcoin/fixtures/tx-22cd5fef23684d7b304e119bedffde6f54538d3d54a5bfa237e20dc2d9b4b5ad.json +64 -0
- data/spec/bitcoin/fixtures/tx-2958fb00b4fd6fe0353503b886eb9a193d502f4fd5fc042d5e03216ba918bbd6.json +64 -0
- data/spec/bitcoin/fixtures/tx-29f277145749ad6efbed3ae6ce301f8d33c585ec26b7c044ad93c2f866e9e942.json +64 -0
- data/spec/bitcoin/fixtures/tx-2c5e5376c20e9cc78d0fb771730e5d840cc2096eff0ef045b599fe92475ace1c.json +28 -0
- data/spec/bitcoin/fixtures/tx-2c63aa814701cef5dbd4bbaddab3fea9117028f2434dddcdab8339141e9b14d1.json +30 -0
- data/spec/bitcoin/fixtures/tx-326882a7f22b5191f1a0cc9962ca4b878cd969cf3b3a70887aece4d801a0ba5e.json +23 -0
- data/spec/bitcoin/fixtures/tx-345bed8785c3282a264ffb0dbee61cde54854f10e16f1b3e75b7f2d9f62946f2.json +64 -0
- data/spec/bitcoin/fixtures/tx-39ba7440b7103557560cc8ce258009936796485aaf8b478e66ab4cb97c66e31b.json +32 -0
- data/spec/bitcoin/fixtures/tx-3a04d57a833367f1655cc5ec3beb587888ef4977a86caa8c8ad4ba7cc717eae7.json +64 -0
- data/spec/bitcoin/fixtures/tx-4142ee4877eb116abf955a7ec6ef2dc38133b793df762b76d75e3d7d4d8badc9.json +38 -0
- data/spec/bitcoin/fixtures/tx-46224764c7870f95b58f155bce1e38d4da8e99d42dbb632d0dd7c07e092ee5aa.json +23 -0
- data/spec/bitcoin/fixtures/tx-5df1375ffe61ac35ca178ebb0cab9ea26dedbd0e96005dfcee7e379fa513232f.json +30 -0
- data/spec/bitcoin/fixtures/tx-62d9a565bd7b5344c5352e3e9e5f40fa4bbd467fa19c87357216ec8777ba1cce.json +64 -0
- data/spec/bitcoin/fixtures/tx-6327783a064d4e350c454ad5cd90201aedf65b1fc524e73709c52f0163739190.json +23 -0
- data/spec/bitcoin/fixtures/tx-6606c366a487bff9e412d0b6c09c14916319932db5954bf5d8719f43f828a3ba.json +27 -0
- data/spec/bitcoin/fixtures/tx-6aaf18b9f1283b939d8e5d40ff5f8a435229f4178372659cc3a0bce4e262bf78.json +28 -0
- data/spec/bitcoin/fixtures/tx-6b48bba6f6d2286d7ec0883c0fc3085955090813a4c94980466611c798b868cc.json +64 -0
- data/spec/bitcoin/fixtures/tx-70cfbc6690f9ab46712db44e3079ac227962b2771a9341d4233d898b521619ef.json +40 -0
- data/spec/bitcoin/fixtures/tx-7a1a9db42f065f75110fcdb1bc415549c8ef7670417ba1d35a67f1b8adc562c1.json +64 -0
- data/spec/bitcoin/fixtures/tx-9a768fc7d0c4bdc86e25154357ef7c0063ca21310e5740a2f12f90b7455184a7.json +64 -0
- data/spec/bitcoin/fixtures/tx-9cad8d523a0694f2509d092c39cebc8046adae62b4e4297102d568191d9478d8.json +64 -0
- data/spec/bitcoin/fixtures/tx-9e052eb694bd7e15906433f064dff0161a12fd325c1124537766377004023c6f.json +64 -0
- data/spec/bitcoin/fixtures/tx-a955032f4d6b0c9bfe8cad8f00a8933790b9c1dc28c82e0f48e75b35da0e4944.json +23 -0
- data/spec/bitcoin/fixtures/tx-aab7ef280abbb9cc6fbaf524d2645c3daf4fcca2b3f53370e618d9cedf65f1f8.json +23 -0
- data/spec/bitcoin/fixtures/tx-ab9805c6d57d7070d9a42c5176e47bb705023e6b67249fb6760880548298e742.json +27 -0
- data/spec/bitcoin/fixtures/tx-ad4bcf3241e5d2ad140564e20db3567d41594cf4c2012433fe46a2b70e0d87b8.json +64 -0
- data/spec/bitcoin/fixtures/tx-b5b598de91787439afd5938116654e0b16b7a0d0f82742ba37564219c5afcbf9.json +27 -0
- data/spec/bitcoin/fixtures/tx-b8fd633e7713a43d5ac87266adc78444669b987a56b3a65fb92d58c2c4b0e84d.json +28 -0
- data/spec/bitcoin/fixtures/tx-bbca0628c42cb8bf7c3f4b2ad688fa56da5308dd2a10255da89fb1f46e6e413d.json +36 -0
- data/spec/bitcoin/fixtures/tx-bc7fd132fcf817918334822ee6d9bd95c889099c96e07ca2c1eb2cc70db63224.json +23 -0
- data/spec/bitcoin/fixtures/tx-c192b74844e4837a34c4a5a97b438f1c111405b01b99e2d12b7c96d07fc74c04.json +28 -0
- data/spec/bitcoin/fixtures/tx-e335562f7e297aadeed88e5954bc4eeb8dc00b31d829eedb232e39d672b0c009.json +406 -0
- data/spec/bitcoin/fixtures/tx-eb3b82c0884e3efa6d8b0be55b4915eb20be124c9766245bcc7f34fdac32bccb.json +35 -0
- data/spec/bitcoin/fixtures/tx-fee1b9b85531c8fb6cd7831f83490c7f2aa768b6eefe29854ef5e89ce7b9ecb1.json +64 -0
- data/spec/bitcoin/fixtures/txscript-invalid-too-many-sigops-followed-by-invalid-pushdata.bin +1 -0
- data/spec/bitcoin/helpers/fake_blockchain.rb +183 -0
- data/spec/bitcoin/key_spec.rb +79 -8
- data/spec/bitcoin/namecoin_spec.rb +1 -1
- data/spec/bitcoin/node/command_api_spec.rb +373 -86
- data/spec/bitcoin/performance/storage_spec.rb +41 -0
- data/spec/bitcoin/protocol/addr_spec.rb +7 -5
- data/spec/bitcoin/protocol/aux_pow_spec.rb +1 -0
- data/spec/bitcoin/protocol/block_spec.rb +6 -0
- data/spec/bitcoin/protocol/tx_spec.rb +184 -1
- data/spec/bitcoin/protocol/txin_spec.rb +27 -0
- data/spec/bitcoin/protocol/txout_spec.rb +27 -0
- data/spec/bitcoin/script/opcodes_spec.rb +74 -3
- data/spec/bitcoin/script/script_spec.rb +271 -0
- data/spec/bitcoin/spec_helper.rb +34 -6
- data/spec/bitcoin/storage/models_spec.rb +104 -0
- data/spec/bitcoin/storage/reorg_spec.rb +42 -11
- data/spec/bitcoin/storage/storage_spec.rb +58 -15
- data/spec/bitcoin/storage/validation_spec.rb +44 -14
- data/spec/bitcoin/wallet/keygenerator_spec.rb +6 -3
- data/spec/bitcoin/wallet/keystore_spec.rb +3 -3
- data/spec/bitcoin/wallet/wallet_spec.rb +87 -89
- metadata +117 -11
data/spec/bitcoin/fixtures/tx-6aaf18b9f1283b939d8e5d40ff5f8a435229f4178372659cc3a0bce4e262bf78.json
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
{
|
2
|
+
"hash": "6aaf18b9f1283b939d8e5d40ff5f8a435229f4178372659cc3a0bce4e262bf78",
|
3
|
+
"ver": 1,
|
4
|
+
"vin_sz": 1,
|
5
|
+
"vout_sz": 2,
|
6
|
+
"lock_time": 0,
|
7
|
+
"size": 758,
|
8
|
+
"in": [
|
9
|
+
{
|
10
|
+
"prev_out": {
|
11
|
+
"hash": "9e052eb694bd7e15906433f064dff0161a12fd325c1124537766377004023c6f",
|
12
|
+
"n": 0
|
13
|
+
},
|
14
|
+
"scriptSig": "304502203a1f1f6c610fea0e59eef1a915d78c2d8538d077e9511a47c216b013d9f3be15022100923e80208a6ba60eade1949f1019f38cc9ae3ed6e33a30b6f7edcabe84f8871c01 044ad96486d8a7197effe14344738f11fab544ea7cdead488368078e6bc214b626d301c0857a903b59a32852a1b9833f8f01e244b34c34c7838e3dad97f15ccf5b"
|
15
|
+
}
|
16
|
+
],
|
17
|
+
"out": [
|
18
|
+
{
|
19
|
+
"value": "17.22750000",
|
20
|
+
"scriptPubKey": "OP_DUP OP_HASH160 4a9a76386568604e98c54b8926b6b7b952af0db4 OP_EQUALVERIFY OP_CHECKSIG"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"value": "1.00000000",
|
24
|
+
"scriptPubKey": "62626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262"
|
25
|
+
}
|
26
|
+
],
|
27
|
+
"nid": "da7cc24b703e41246144e3d0de580f0972c7ccf89997fff269623a02723ff415"
|
28
|
+
}
|
data/spec/bitcoin/fixtures/tx-6b48bba6f6d2286d7ec0883c0fc3085955090813a4c94980466611c798b868cc.json
ADDED
@@ -0,0 +1,64 @@
|
|
1
|
+
{
|
2
|
+
"hash": "6b48bba6f6d2286d7ec0883c0fc3085955090813a4c94980466611c798b868cc",
|
3
|
+
"ver": 1,
|
4
|
+
"vin_sz": 1,
|
5
|
+
"vout_sz": 11,
|
6
|
+
"lock_time": 0,
|
7
|
+
"size": 364,
|
8
|
+
"in": [
|
9
|
+
{
|
10
|
+
"prev_out": {
|
11
|
+
"hash": "7a1a9db42f065f75110fcdb1bc415549c8ef7670417ba1d35a67f1b8adc562c1",
|
12
|
+
"n": 2
|
13
|
+
},
|
14
|
+
"scriptSig": "304402200254a894d44a35949644d33c94af81fa657883e19ed3ac9850df8eda4c35a53902202e999e4b510109e4ac346269e4e2790ae7d94a6318a73483cd6da234ce5f76b101 04ccd1c7b0d688acea848e3db747d9661c73c25b9a2d87b2595fdc3f78b545c65eaabcb30e8a0fce0ca5326b48f9bed974acb81b91a8eb640e45a8b32fd943177d"
|
15
|
+
}
|
16
|
+
],
|
17
|
+
"out": [
|
18
|
+
{
|
19
|
+
"value": "0.08100000",
|
20
|
+
"scriptPubKey": "0 OP_NUMEQUAL"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"value": "18.43850000",
|
24
|
+
"scriptPubKey": "OP_DUP OP_HASH160 558fd52f87b7eb8e3fea289baceaa031e440b63d OP_EQUALVERIFY OP_CHECKSIG"
|
25
|
+
},
|
26
|
+
{
|
27
|
+
"value": "0.05100000",
|
28
|
+
"scriptPubKey": "OP_SWAP 1 OP_EQUALVERIFY 0 OP_EQUAL"
|
29
|
+
},
|
30
|
+
{
|
31
|
+
"value": "0.07100000",
|
32
|
+
"scriptPubKey": "OP_RIPEMD160 0:1:14 9c1185a5c5e9fc54612808977ee8f548b2258d31 OP_EQUAL"
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"value": "0.01100000",
|
36
|
+
"scriptPubKey": "7 OP_EQUAL"
|
37
|
+
},
|
38
|
+
{
|
39
|
+
"value": "0.09100000",
|
40
|
+
"scriptPubKey": "2 OP_EQUAL"
|
41
|
+
},
|
42
|
+
{
|
43
|
+
"value": "0.02100000",
|
44
|
+
"scriptPubKey": "OP_NIP"
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"value": "0.10100000",
|
48
|
+
"scriptPubKey": "OP_IF 1 OP_ENDIF"
|
49
|
+
},
|
50
|
+
{
|
51
|
+
"value": "0.04100000",
|
52
|
+
"scriptPubKey": "OP_SIZE 2 OP_EQUAL"
|
53
|
+
},
|
54
|
+
{
|
55
|
+
"value": "0.03100000",
|
56
|
+
"scriptPubKey": "OP_NUMEQUALVERIFY 1"
|
57
|
+
},
|
58
|
+
{
|
59
|
+
"value": "0.06100000",
|
60
|
+
"scriptPubKey": "ffffff7f OP_NUMEQUAL"
|
61
|
+
}
|
62
|
+
],
|
63
|
+
"nid": "07b5689cbf90768ec0760035e1778eeddecfc140e6d8ba5159c16f58a721ee4c"
|
64
|
+
}
|
data/spec/bitcoin/fixtures/tx-70cfbc6690f9ab46712db44e3079ac227962b2771a9341d4233d898b521619ef.json
ADDED
@@ -0,0 +1,40 @@
|
|
1
|
+
{
|
2
|
+
"hash": "70cfbc6690f9ab46712db44e3079ac227962b2771a9341d4233d898b521619ef",
|
3
|
+
"ver": 1,
|
4
|
+
"vin_sz": 1,
|
5
|
+
"vout_sz": 5,
|
6
|
+
"lock_time": 0,
|
7
|
+
"size": 10805,
|
8
|
+
"in": [
|
9
|
+
{
|
10
|
+
"prev_out": {
|
11
|
+
"hash": "62d9a565bd7b5344c5352e3e9e5f40fa4bbd467fa19c87357216ec8777ba1cce",
|
12
|
+
"n": 8
|
13
|
+
},
|
14
|
+
"scriptSig": "30450221009a82cbcef66cf66c1e48248bae2459a8c71b7d6871d017accd1774ed0c48bd40022008b158be94b558f0cedf0ddd1d5e91612a9166761c8b081529891640220752b701 04f1875b64a205ce99026880b0e593ce420f57297454f1b945e24600d9a442ed5e58d36f7594c9a1219fce36b8aa2ece2b057a71075aac1d129a026b0829161da7"
|
15
|
+
}
|
16
|
+
],
|
17
|
+
"out": [
|
18
|
+
{
|
19
|
+
"value": "1.00000000",
|
20
|
+
"scriptPubKey": "61616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161 62626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262 62626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262 62626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262 62626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262 62626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262 62626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262 62626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262 62626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262 62626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262 62626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262 62626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262 62626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262 62626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262 62626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262 62626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262 62626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262 62626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262 62626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262 OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_2DUP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"value": "1.00000000",
|
24
|
+
"scriptPubKey": "1 2 3 4 5 OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP"
|
25
|
+
},
|
26
|
+
{
|
27
|
+
"value": "44.87450000",
|
28
|
+
"scriptPubKey": "OP_DUP OP_HASH160 c98a6e07c2a2aef4084eaf9726c8ac524cdcb29e OP_EQUALVERIFY OP_CHECKSIG"
|
29
|
+
},
|
30
|
+
{
|
31
|
+
"value": "1.00000000",
|
32
|
+
"scriptPubKey": "1 2 3 4 5 6 7 OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP OP_3DUP"
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"value": "1.00000000",
|
36
|
+
"scriptPubKey": "OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP OP_NOP"
|
37
|
+
}
|
38
|
+
],
|
39
|
+
"nid": "70bf654a2c8a8b8d2579dbf5e99d592b899bce1f4299d3834837d9edcee44fa6"
|
40
|
+
}
|
data/spec/bitcoin/fixtures/tx-7a1a9db42f065f75110fcdb1bc415549c8ef7670417ba1d35a67f1b8adc562c1.json
ADDED
@@ -0,0 +1,64 @@
|
|
1
|
+
{
|
2
|
+
"hash": "7a1a9db42f065f75110fcdb1bc415549c8ef7670417ba1d35a67f1b8adc562c1",
|
3
|
+
"ver": 1,
|
4
|
+
"vin_sz": 1,
|
5
|
+
"vout_sz": 11,
|
6
|
+
"lock_time": 0,
|
7
|
+
"size": 387,
|
8
|
+
"in": [
|
9
|
+
{
|
10
|
+
"prev_out": {
|
11
|
+
"hash": "7d6d0bdd39848f04f9669030a543c271244b15db1917036549d56acd8715d727",
|
12
|
+
"n": 0
|
13
|
+
},
|
14
|
+
"scriptSig": "3045022015a3ddbbfbb1b2100c53bfcd4126f0655b5d321e19be29a3b65098381d487694022100c7502c6233c9ed3c0ce80bd4f7f3f400b0d0cf92af4b9ba457f4075854577e3201 047ea1f29240c8a05537068398328c6f1cf62204abac0192e18c4ef44dd90591227ab3d9d7b05fafcf6324be78ef07c6f53a01b3882e393ea5ab69b48174fa15b8"
|
15
|
+
}
|
16
|
+
],
|
17
|
+
"out": [
|
18
|
+
{
|
19
|
+
"value": "0.09100000",
|
20
|
+
"scriptPubKey": "OP_HASH256 20 5df6e0e2761359d30a8275058e299fcc0381534545f55cf43e41983f5d4c9456 OP_EQUAL"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"value": "0.03100000",
|
24
|
+
"scriptPubKey": "OP_DUP OP_IF OP_ELSE OP_ENDIF"
|
25
|
+
},
|
26
|
+
{
|
27
|
+
"value": "18.99900000",
|
28
|
+
"scriptPubKey": "OP_DUP OP_HASH160 9b580930e76ed5994439e8a5459120fe05749b50 OP_EQUALVERIFY OP_CHECKSIG"
|
29
|
+
},
|
30
|
+
{
|
31
|
+
"value": "0.01100000",
|
32
|
+
"scriptPubKey": "0 OP_ROLL 0:1:14 OP_EQUALVERIFY OP_DEPTH 2 OP_EQUAL"
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"value": "0.02100000",
|
36
|
+
"scriptPubKey": "5f OP_ADD 60 OP_EQUAL"
|
37
|
+
},
|
38
|
+
{
|
39
|
+
"value": "0.07100000",
|
40
|
+
"scriptPubKey": "OP_DEPTH 1 OP_EQUALVERIFY 0 OP_EQUAL"
|
41
|
+
},
|
42
|
+
{
|
43
|
+
"value": "0.05100000",
|
44
|
+
"scriptPubKey": "OP_SIZE 1 OP_EQUAL"
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"value": "0.08100000",
|
48
|
+
"scriptPubKey": "OP_NUMEQUAL"
|
49
|
+
},
|
50
|
+
{
|
51
|
+
"value": "0.10100000",
|
52
|
+
"scriptPubKey": "OP_2DUP OP_ROT OP_EQUALVERIFY OP_EQUAL"
|
53
|
+
},
|
54
|
+
{
|
55
|
+
"value": "0.06100000",
|
56
|
+
"scriptPubKey": "OP_IF 1 OP_ENDIF"
|
57
|
+
},
|
58
|
+
{
|
59
|
+
"value": "0.04100000",
|
60
|
+
"scriptPubKey": "OP_NUMEQUALVERIFY 1"
|
61
|
+
}
|
62
|
+
],
|
63
|
+
"nid": "ed0cd6403dfee9225e5a842dcf4e7289d911610b5ce4b5de9897c346fe765799"
|
64
|
+
}
|
data/spec/bitcoin/fixtures/tx-9a768fc7d0c4bdc86e25154357ef7c0063ca21310e5740a2f12f90b7455184a7.json
ADDED
@@ -0,0 +1,64 @@
|
|
1
|
+
{
|
2
|
+
"hash": "9a768fc7d0c4bdc86e25154357ef7c0063ca21310e5740a2f12f90b7455184a7",
|
3
|
+
"ver": 1,
|
4
|
+
"vin_sz": 1,
|
5
|
+
"vout_sz": 11,
|
6
|
+
"lock_time": 0,
|
7
|
+
"size": 392,
|
8
|
+
"in": [
|
9
|
+
{
|
10
|
+
"prev_out": {
|
11
|
+
"hash": "ad4bcf3241e5d2ad140564e20db3567d41594cf4c2012433fe46a2b70e0d87b8",
|
12
|
+
"n": 9
|
13
|
+
},
|
14
|
+
"scriptSig": "304502203ffd9d1f90f350336e754f2d9509b964704ca29053ca0a0287d9d7f8d20ab9b7022100b3951db4b6c8278cabfcaa155995e9bc355c014069c4b1fa8cd772227fb6ab6401 049a4f1b39d73b14e0297b653d366b66373722e2ac31895eca7242e7bd3a35fd9630ca15de8e7ccc8ef10ea30c34600b9f87eb9cdc7eec8068070b646bbcbb07c8"
|
15
|
+
}
|
16
|
+
],
|
17
|
+
"out": [
|
18
|
+
{
|
19
|
+
"value": "0.03100000",
|
20
|
+
"scriptPubKey": "7 OP_EQUAL"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"value": "0.05100000",
|
24
|
+
"scriptPubKey": "OP_HASH160 4c 0:1:14 c286a1af0947f58d1ad787385b1c2c4a976f9e71 OP_EQUAL"
|
25
|
+
},
|
26
|
+
{
|
27
|
+
"value": "0.08100000",
|
28
|
+
"scriptPubKey": "OP_WITHIN OP_NOT"
|
29
|
+
},
|
30
|
+
{
|
31
|
+
"value": "0.04100000",
|
32
|
+
"scriptPubKey": "OP_SWAP 1 OP_EQUALVERIFY 0 OP_EQUAL"
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"value": "0.02100000",
|
36
|
+
"scriptPubKey": "OP_SIZE 1 OP_EQUAL"
|
37
|
+
},
|
38
|
+
{
|
39
|
+
"value": "0.01100000",
|
40
|
+
"scriptPubKey": "64 OP_EQUAL"
|
41
|
+
},
|
42
|
+
{
|
43
|
+
"value": "0.07100000",
|
44
|
+
"scriptPubKey": "90 OP_NEGATE OP_EQUAL"
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"value": "0.06100000",
|
48
|
+
"scriptPubKey": "82 OP_EQUAL"
|
49
|
+
},
|
50
|
+
{
|
51
|
+
"value": "3.41700000",
|
52
|
+
"scriptPubKey": "OP_DUP OP_HASH160 4ebe6bb41b22f30dd2f6c68e888feb54a80bae09 OP_EQUALVERIFY OP_CHECKSIG"
|
53
|
+
},
|
54
|
+
{
|
55
|
+
"value": "0.09100000",
|
56
|
+
"scriptPubKey": "e703 OP_EQUAL"
|
57
|
+
},
|
58
|
+
{
|
59
|
+
"value": "0.10100000",
|
60
|
+
"scriptPubKey": "OP_RIPEMD160 0:1:14 f71c27109c692c1b56bbdceb5b9d2865b3708dbc OP_EQUAL"
|
61
|
+
}
|
62
|
+
],
|
63
|
+
"nid": "0e2786d3ff4bc5451a7a234bfc7fdcbd08c23d5f95395f7fcaa0fe3677739c1f"
|
64
|
+
}
|
data/spec/bitcoin/fixtures/tx-9cad8d523a0694f2509d092c39cebc8046adae62b4e4297102d568191d9478d8.json
ADDED
@@ -0,0 +1,64 @@
|
|
1
|
+
{
|
2
|
+
"hash": "9cad8d523a0694f2509d092c39cebc8046adae62b4e4297102d568191d9478d8",
|
3
|
+
"ver": 1,
|
4
|
+
"vin_sz": 1,
|
5
|
+
"vout_sz": 11,
|
6
|
+
"lock_time": 0,
|
7
|
+
"size": 394,
|
8
|
+
"in": [
|
9
|
+
{
|
10
|
+
"prev_out": {
|
11
|
+
"hash": "0ce7e5238fbdb6c086cf1b384b21b827e91cc23f360417265874a5a0d86ce367",
|
12
|
+
"n": 6
|
13
|
+
},
|
14
|
+
"scriptSig": "304402204aab2b414701e93a615e1e99d3ada193de70bbd68878e11bbcc54c42cdbf6251022021245ff92e2ed2adf89507266754fe154621e4cec2a3069d0627bc3c0800239501 0449dba5af6a9d185693d5f9949e81bbe10470665c25823723057b36882c1cbb157169549528bbe22b76236672a4f24cafd69d5c514ebf38a257d596d4ef031f27"
|
15
|
+
}
|
16
|
+
],
|
17
|
+
"out": [
|
18
|
+
{
|
19
|
+
"value": "0.05100000",
|
20
|
+
"scriptPubKey": "OP_SHA1 0:1:14 32d10c7b8cf96570ca04ce37f2a19d84240d3a89 OP_EQUAL"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"value": "0.09100000",
|
24
|
+
"scriptPubKey": "1 OP_ROLL 0:1:15 OP_EQUALVERIFY OP_DEPTH 2 OP_EQUAL"
|
25
|
+
},
|
26
|
+
{
|
27
|
+
"value": "0.02100000",
|
28
|
+
"scriptPubKey": "OP_WITHIN"
|
29
|
+
},
|
30
|
+
{
|
31
|
+
"value": "0.01100000",
|
32
|
+
"scriptPubKey": "1"
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"value": "0.10100000",
|
36
|
+
"scriptPubKey": "OP_LESSTHAN"
|
37
|
+
},
|
38
|
+
{
|
39
|
+
"value": "0.03100000",
|
40
|
+
"scriptPubKey": "OP_NOTIF OP_IF 1 OP_ELSE 0 OP_ENDIF OP_ELSE OP_IF 0 OP_ELSE 1 OP_ENDIF OP_ENDIF"
|
41
|
+
},
|
42
|
+
{
|
43
|
+
"value": "0.04100000",
|
44
|
+
"scriptPubKey": "82 OP_EQUAL"
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"value": "0.08100000",
|
48
|
+
"scriptPubKey": "OP_DUP OP_IF OP_ENDIF"
|
49
|
+
},
|
50
|
+
{
|
51
|
+
"value": "0.06100000",
|
52
|
+
"scriptPubKey": "OP_RIPEMD160 0:1:14 f71c27109c692c1b56bbdceb5b9d2865b3708dbc OP_EQUAL"
|
53
|
+
},
|
54
|
+
{
|
55
|
+
"value": "6.54750000",
|
56
|
+
"scriptPubKey": "OP_DUP OP_HASH160 eebeb8270224839df29114cc983c0159dadace78 OP_EQUALVERIFY OP_CHECKSIG"
|
57
|
+
},
|
58
|
+
{
|
59
|
+
"value": "0.07100000",
|
60
|
+
"scriptPubKey": "OP_GREATERTHANOREQUAL"
|
61
|
+
}
|
62
|
+
],
|
63
|
+
"nid": "0fd1b4afec31a1da19fd0922236c1b0db1ab0688d7f949bcea49d584b38a63fb"
|
64
|
+
}
|
data/spec/bitcoin/fixtures/tx-9e052eb694bd7e15906433f064dff0161a12fd325c1124537766377004023c6f.json
ADDED
@@ -0,0 +1,64 @@
|
|
1
|
+
{
|
2
|
+
"hash": "9e052eb694bd7e15906433f064dff0161a12fd325c1124537766377004023c6f",
|
3
|
+
"ver": 1,
|
4
|
+
"vin_sz": 1,
|
5
|
+
"vout_sz": 11,
|
6
|
+
"lock_time": 0,
|
7
|
+
"size": 392,
|
8
|
+
"in": [
|
9
|
+
{
|
10
|
+
"prev_out": {
|
11
|
+
"hash": "22cd5fef23684d7b304e119bedffde6f54538d3d54a5bfa237e20dc2d9b4b5ad",
|
12
|
+
"n": 0
|
13
|
+
},
|
14
|
+
"scriptSig": "304502207a4dbd0eba5ec696b1d41e76973832b09b3a0709542fc301940573594e0bc8dd022100f1573f75729c98865fe54f7aef1050f00045000846cb17195d6b6bb5d16f623101 040415f274d5730437757409c944e718da579ffe3665f8f6cb63f9c15afa8deeec96ca0299dc16cc233513a0fe7e119829098c9ec8cf39a785e9161f6e96af1bdd"
|
15
|
+
}
|
16
|
+
],
|
17
|
+
"out": [
|
18
|
+
{
|
19
|
+
"value": "18.22800000",
|
20
|
+
"scriptPubKey": "OP_DUP OP_HASH160 5914596164c474d8fb1a8198fd145eb98b25c64d OP_EQUALVERIFY OP_CHECKSIG"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"value": "0.04100000",
|
24
|
+
"scriptPubKey": "OP_SHA1 0:1:14 32d10c7b8cf96570ca04ce37f2a19d84240d3a89 OP_EQUAL"
|
25
|
+
},
|
26
|
+
{
|
27
|
+
"value": "0.10100000",
|
28
|
+
"scriptPubKey": "OP_DEPTH 0 OP_EQUAL"
|
29
|
+
},
|
30
|
+
{
|
31
|
+
"value": "0.08100000",
|
32
|
+
"scriptPubKey": "feffffff80 OP_EQUAL"
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"value": "0.03100000",
|
36
|
+
"scriptPubKey": "OP_GREATERTHAN OP_NOT"
|
37
|
+
},
|
38
|
+
{
|
39
|
+
"value": "0.02100000",
|
40
|
+
"scriptPubKey": "OP_SIZE 1 OP_EQUAL"
|
41
|
+
},
|
42
|
+
{
|
43
|
+
"value": "0.09100000",
|
44
|
+
"scriptPubKey": "OP_NOP OP_HASH160 0:1:14 b472a266d0bd89c13706a4132ccfb16f7c3b9fcb OP_EQUAL"
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"value": "0.07100000",
|
48
|
+
"scriptPubKey": "82 OP_EQUAL"
|
49
|
+
},
|
50
|
+
{
|
51
|
+
"value": "0.06100000",
|
52
|
+
"scriptPubKey": "OP_DUP OP_HASH160 OP_SWAP OP_SHA256 OP_RIPEMD160 OP_EQUAL"
|
53
|
+
},
|
54
|
+
{
|
55
|
+
"value": "0.05100000",
|
56
|
+
"scriptPubKey": "OP_GREATERTHANOREQUAL OP_NOT"
|
57
|
+
},
|
58
|
+
{
|
59
|
+
"value": "0.01100000",
|
60
|
+
"scriptPubKey": "OP_NIP"
|
61
|
+
}
|
62
|
+
],
|
63
|
+
"nid": "ac432e71213f1abfe60d3d71fbba7a00722ad6dcc5ad78328835f4aded9b6066"
|
64
|
+
}
|
data/spec/bitcoin/fixtures/tx-a955032f4d6b0c9bfe8cad8f00a8933790b9c1dc28c82e0f48e75b35da0e4944.json
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
{
|
2
|
+
"hash":"a955032f4d6b0c9bfe8cad8f00a8933790b9c1dc28c82e0f48e75b35da0e4944",
|
3
|
+
"ver":1,
|
4
|
+
"vin_sz":1,
|
5
|
+
"vout_sz":1,
|
6
|
+
"lock_time":0,
|
7
|
+
"size":239,
|
8
|
+
"in":[
|
9
|
+
{
|
10
|
+
"prev_out":{
|
11
|
+
"hash":"423201ad83900e592ee4c023d57a452d2655e378e2a9b87bdd4b6d682e644ea9",
|
12
|
+
"n":0
|
13
|
+
},
|
14
|
+
"scriptSig":"3044022013b80eaa072954793090c33845743c15228008fc3bebd4af2c8da5040e6aecc6022020d679bbefc93a84f03d4669f72cd6df7a2aea201f12f08f8645165c50d32d7001 028c4132e7792c3ce3f85b07d50bcdc21c299f670993157e24e6bc4df106a5fb72"
|
15
|
+
}
|
16
|
+
],
|
17
|
+
"out":[
|
18
|
+
{
|
19
|
+
"value":"0.00025000",
|
20
|
+
"scriptPubKey":"038479a0fa998cd35259a2ef0a7a5c68662c1474f88ccb6d08a7677bbec7f22041 OP_CHECKSIGVERIFY OP_CODESEPARATOR 038479a0fa998cd35259a2ef0a7a5c68662c1474f88ccb6d08a7677bbec7f22041 OP_CHECKSIGVERIFY OP_CODESEPARATOR 1"
|
21
|
+
}
|
22
|
+
]
|
23
|
+
}
|
data/spec/bitcoin/fixtures/tx-aab7ef280abbb9cc6fbaf524d2645c3daf4fcca2b3f53370e618d9cedf65f1f8.json
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
{
|
2
|
+
"hash":"aab7ef280abbb9cc6fbaf524d2645c3daf4fcca2b3f53370e618d9cedf65f1f8",
|
3
|
+
"ver":1,
|
4
|
+
"vin_sz":1,
|
5
|
+
"vout_sz":1,
|
6
|
+
"lock_time":0,
|
7
|
+
"size":134,
|
8
|
+
"in":[
|
9
|
+
{
|
10
|
+
"prev_out":{
|
11
|
+
"hash":"326882a7f22b5191f1a0cc9962ca4b878cd969cf3b3a70887aece4d801a0ba5e",
|
12
|
+
"n":0
|
13
|
+
},
|
14
|
+
"scriptSig":"304502203bf754d1c6732fbf87c5dcd81258aefd30f2060d7bd8ac4a5696f7927091dad1022100f5bcb726c4cf5ed0ed34cc13dadeedf628ae1045b7cb34421bc60b89f4cecae701"
|
15
|
+
}
|
16
|
+
],
|
17
|
+
"out":[
|
18
|
+
{
|
19
|
+
"value":"0.00000000",
|
20
|
+
"scriptPubKey":"OP_RETURN"
|
21
|
+
}
|
22
|
+
]
|
23
|
+
}
|