bitcoin-ruby 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (140) hide show
  1. data/.gitignore +12 -0
  2. data/COPYING +18 -0
  3. data/Gemfile +4 -0
  4. data/README.rdoc +189 -0
  5. data/Rakefile +104 -0
  6. data/bin/bitcoin_dns_seed +130 -0
  7. data/bin/bitcoin_gui +80 -0
  8. data/bin/bitcoin_node +174 -0
  9. data/bin/bitcoin_shell +12 -0
  10. data/bin/bitcoin_wallet +323 -0
  11. data/bitcoin-ruby.gemspec +27 -0
  12. data/concept-examples/blockchain-pow.rb +151 -0
  13. data/doc/CONFIG.rdoc +66 -0
  14. data/doc/EXAMPLES.rdoc +9 -0
  15. data/doc/NODE.rdoc +35 -0
  16. data/doc/STORAGE.rdoc +21 -0
  17. data/doc/WALLET.rdoc +102 -0
  18. data/examples/balance.rb +60 -0
  19. data/examples/bbe_verify_tx.rb +55 -0
  20. data/examples/connect.rb +36 -0
  21. data/examples/relay_tx.rb +22 -0
  22. data/examples/verify_tx.rb +57 -0
  23. data/lib/bitcoin.rb +370 -0
  24. data/lib/bitcoin/builder.rb +266 -0
  25. data/lib/bitcoin/config.rb +56 -0
  26. data/lib/bitcoin/connection.rb +126 -0
  27. data/lib/bitcoin/ffi/openssl.rb +121 -0
  28. data/lib/bitcoin/gui/addr_view.rb +42 -0
  29. data/lib/bitcoin/gui/bitcoin-ruby.png +0 -0
  30. data/lib/bitcoin/gui/bitcoin-ruby.svg +80 -0
  31. data/lib/bitcoin/gui/conn_view.rb +36 -0
  32. data/lib/bitcoin/gui/connection.rb +68 -0
  33. data/lib/bitcoin/gui/em_gtk.rb +28 -0
  34. data/lib/bitcoin/gui/gui.builder +1643 -0
  35. data/lib/bitcoin/gui/gui.rb +290 -0
  36. data/lib/bitcoin/gui/helpers.rb +113 -0
  37. data/lib/bitcoin/gui/tree_view.rb +82 -0
  38. data/lib/bitcoin/gui/tx_view.rb +67 -0
  39. data/lib/bitcoin/key.rb +125 -0
  40. data/lib/bitcoin/logger.rb +65 -0
  41. data/lib/bitcoin/network/command_client.rb +93 -0
  42. data/lib/bitcoin/network/command_handler.rb +179 -0
  43. data/lib/bitcoin/network/connection_handler.rb +274 -0
  44. data/lib/bitcoin/network/node.rb +399 -0
  45. data/lib/bitcoin/protocol.rb +140 -0
  46. data/lib/bitcoin/protocol/address.rb +48 -0
  47. data/lib/bitcoin/protocol/alert.rb +47 -0
  48. data/lib/bitcoin/protocol/block.rb +154 -0
  49. data/lib/bitcoin/protocol/handler.rb +38 -0
  50. data/lib/bitcoin/protocol/parser.rb +148 -0
  51. data/lib/bitcoin/protocol/tx.rb +205 -0
  52. data/lib/bitcoin/protocol/txin.rb +97 -0
  53. data/lib/bitcoin/protocol/txout.rb +73 -0
  54. data/lib/bitcoin/protocol/version.rb +70 -0
  55. data/lib/bitcoin/script.rb +634 -0
  56. data/lib/bitcoin/storage/dummy.rb +164 -0
  57. data/lib/bitcoin/storage/models.rb +133 -0
  58. data/lib/bitcoin/storage/sequel.rb +335 -0
  59. data/lib/bitcoin/storage/sequel_store/sequel_migrations.rb +84 -0
  60. data/lib/bitcoin/storage/storage.rb +243 -0
  61. data/lib/bitcoin/version.rb +3 -0
  62. data/lib/bitcoin/wallet/coinselector.rb +30 -0
  63. data/lib/bitcoin/wallet/keygenerator.rb +75 -0
  64. data/lib/bitcoin/wallet/keystore.rb +203 -0
  65. data/lib/bitcoin/wallet/txdp.rb +116 -0
  66. data/lib/bitcoin/wallet/wallet.rb +243 -0
  67. data/spec/bitcoin/bitcoin_spec.rb +472 -0
  68. data/spec/bitcoin/builder_spec.rb +90 -0
  69. data/spec/bitcoin/fixtures/0d0affb5964abe804ffe85e53f1dbb9f29e406aa3046e2db04fba240e63c7fdd.json +27 -0
  70. data/spec/bitcoin/fixtures/23b397edccd3740a74adb603c9756370fafcde9bcc4483eb271ecad09a94dd63.json +23 -0
  71. data/spec/bitcoin/fixtures/477fff140b363ec2cc51f3a65c0c58eda38f4d41f04a295bbd62babf25e4c590.json +27 -0
  72. data/spec/bitcoin/fixtures/60a20bd93aa49ab4b28d514ec10b06e1829ce6818ec06cd3aabd013ebcdc4bb1.json +45 -0
  73. data/spec/bitcoin/fixtures/bc179baab547b7d7c1d5d8d6f8b0cc6318eaa4b0dd0a093ad6ac7f5a1cb6b3ba.json +34 -0
  74. data/spec/bitcoin/fixtures/rawblock-0.bin +0 -0
  75. data/spec/bitcoin/fixtures/rawblock-0.json +39 -0
  76. data/spec/bitcoin/fixtures/rawblock-1.bin +0 -0
  77. data/spec/bitcoin/fixtures/rawblock-1.json +39 -0
  78. data/spec/bitcoin/fixtures/rawblock-131025.bin +0 -0
  79. data/spec/bitcoin/fixtures/rawblock-131025.json +5063 -0
  80. data/spec/bitcoin/fixtures/rawblock-170.bin +0 -0
  81. data/spec/bitcoin/fixtures/rawblock-170.json +68 -0
  82. data/spec/bitcoin/fixtures/rawblock-9.bin +0 -0
  83. data/spec/bitcoin/fixtures/rawblock-9.json +39 -0
  84. data/spec/bitcoin/fixtures/rawblock-testnet-26478.bin +0 -0
  85. data/spec/bitcoin/fixtures/rawblock-testnet-26478.json +64 -0
  86. data/spec/bitcoin/fixtures/rawtx-01.bin +0 -0
  87. data/spec/bitcoin/fixtures/rawtx-01.json +27 -0
  88. data/spec/bitcoin/fixtures/rawtx-02.bin +0 -0
  89. data/spec/bitcoin/fixtures/rawtx-02.json +27 -0
  90. data/spec/bitcoin/fixtures/rawtx-03.bin +0 -0
  91. data/spec/bitcoin/fixtures/rawtx-03.json +48 -0
  92. data/spec/bitcoin/fixtures/rawtx-04.json +27 -0
  93. data/spec/bitcoin/fixtures/rawtx-0437cd7f8525ceed2324359c2d0ba26006d92d856a9c20fa0241106ee5a597c9.bin +0 -0
  94. data/spec/bitcoin/fixtures/rawtx-05.json +23 -0
  95. data/spec/bitcoin/fixtures/rawtx-14be6fff8c6014f7c9493b4a6e4a741699173f39d74431b6b844fcb41ebb9984.bin +0 -0
  96. data/spec/bitcoin/fixtures/rawtx-2f4a2717ec8c9f077a87dde6cbe0274d5238793a3f3f492b63c744837285e58a.bin +0 -0
  97. data/spec/bitcoin/fixtures/rawtx-2f4a2717ec8c9f077a87dde6cbe0274d5238793a3f3f492b63c744837285e58a.json +27 -0
  98. data/spec/bitcoin/fixtures/rawtx-406b2b06bcd34d3c8733e6b79f7a394c8a431fbf4ff5ac705c93f4076bb77602.json +23 -0
  99. data/spec/bitcoin/fixtures/rawtx-52250a162c7d03d2e1fbc5ebd1801a88612463314b55102171c5b5d817d2d7b2.bin +0 -0
  100. data/spec/bitcoin/fixtures/rawtx-b5d4e8883533f99e5903ea2cf001a133a322fa6b1370b18a16c57c946a40823d.bin +0 -0
  101. data/spec/bitcoin/fixtures/rawtx-ba1ff5cd66713133c062a871a8adab92416f1e38d17786b2bf56ac5f6ffdfdf5.json +37 -0
  102. data/spec/bitcoin/fixtures/rawtx-c99c49da4c38af669dea436d3e73780dfdb6c1ecf9958baa52960e8baee30e73.json +24 -0
  103. data/spec/bitcoin/fixtures/rawtx-de35d060663750b3975b7997bde7fb76307cec5b270d12fcd9c4ad98b279c28c.json +23 -0
  104. data/spec/bitcoin/fixtures/rawtx-f4184fc596403b9d638783cf57adfe4c75c605f6356fbc91338530e9831e9e16.bin +0 -0
  105. data/spec/bitcoin/fixtures/rawtx-testnet-a220adf1902c46a39db25a24bc4178b6a88440f977a7e2cabfdd8b5c1dd35cfb.json +27 -0
  106. data/spec/bitcoin/fixtures/rawtx-testnet-e232e0055dbdca88bbaa79458683195a0b7c17c5b6c524a8d146721d4d4d652f.bin +0 -0
  107. data/spec/bitcoin/fixtures/rawtx-testnet-e232e0055dbdca88bbaa79458683195a0b7c17c5b6c524a8d146721d4d4d652f.json +41 -0
  108. data/spec/bitcoin/fixtures/reorg/blk_0_to_4.dat +0 -0
  109. data/spec/bitcoin/fixtures/reorg/blk_3A.dat +0 -0
  110. data/spec/bitcoin/fixtures/reorg/blk_4A.dat +0 -0
  111. data/spec/bitcoin/fixtures/reorg/blk_5A.dat +0 -0
  112. data/spec/bitcoin/fixtures/testnet/block_0.bin +0 -0
  113. data/spec/bitcoin/fixtures/testnet/block_1.bin +0 -0
  114. data/spec/bitcoin/fixtures/testnet/block_2.bin +0 -0
  115. data/spec/bitcoin/fixtures/testnet/block_3.bin +0 -0
  116. data/spec/bitcoin/fixtures/testnet/block_4.bin +0 -0
  117. data/spec/bitcoin/fixtures/testnet/block_5.bin +0 -0
  118. data/spec/bitcoin/fixtures/txdp-1.txt +32 -0
  119. data/spec/bitcoin/fixtures/txdp-2-signed.txt +19 -0
  120. data/spec/bitcoin/fixtures/txdp-2-unsigned.txt +14 -0
  121. data/spec/bitcoin/key_spec.rb +123 -0
  122. data/spec/bitcoin/network_spec.rb +48 -0
  123. data/spec/bitcoin/protocol/addr_spec.rb +68 -0
  124. data/spec/bitcoin/protocol/alert_spec.rb +20 -0
  125. data/spec/bitcoin/protocol/block_spec.rb +101 -0
  126. data/spec/bitcoin/protocol/inv_spec.rb +124 -0
  127. data/spec/bitcoin/protocol/ping_spec.rb +49 -0
  128. data/spec/bitcoin/protocol/tx_spec.rb +226 -0
  129. data/spec/bitcoin/protocol/version_spec.rb +77 -0
  130. data/spec/bitcoin/reorg_spec.rb +129 -0
  131. data/spec/bitcoin/script/opcodes_spec.rb +417 -0
  132. data/spec/bitcoin/script/script_spec.rb +246 -0
  133. data/spec/bitcoin/spec_helper.rb +36 -0
  134. data/spec/bitcoin/storage_spec.rb +229 -0
  135. data/spec/bitcoin/wallet/coinselector_spec.rb +35 -0
  136. data/spec/bitcoin/wallet/keygenerator_spec.rb +64 -0
  137. data/spec/bitcoin/wallet/keystore_spec.rb +188 -0
  138. data/spec/bitcoin/wallet/txdp_spec.rb +74 -0
  139. data/spec/bitcoin/wallet/wallet_spec.rb +207 -0
  140. metadata +295 -0
@@ -0,0 +1,68 @@
1
+ {
2
+ "hash":"00000000d1145790a8694403d4063f323d499e655c83426834d4ce2f8dd4a2ee",
3
+ "ver":1,
4
+ "prev_block":"000000002a22cfee1f2c846adbd12b3e183d4f97683f85dad08a79780a84bd55",
5
+ "mrkl_root":"7dac2c5666815c17a3b36427de37bb9d2e2c5ccec3f8633eb91a4205cb4c10ff",
6
+ "time":1231731025,
7
+ "bits":486604799,
8
+ "nonce":1889418792,
9
+ "n_tx":2,
10
+ "size":490,
11
+ "tx":[
12
+ {
13
+ "hash":"b1fea52486ce0c62bb442b530a3f0132b826c74e473d1f2c220bfa78111c5082",
14
+ "ver":1,
15
+ "vin_sz":1,
16
+ "vout_sz":1,
17
+ "lock_time":0,
18
+ "size":134,
19
+ "in":[
20
+ {
21
+ "prev_out":{
22
+ "hash":"0000000000000000000000000000000000000000000000000000000000000000",
23
+ "n":4294967295
24
+ },
25
+ "coinbase":"04ffff001d0102"
26
+ }
27
+ ],
28
+ "out":[
29
+ {
30
+ "value":"50.00000000",
31
+ "scriptPubKey":"04d46c4968bde02899d2aa0963367c7a6ce34eec332b32e42e5f3407e052d64ac625da6f0718e7b302140434bd725706957c092db53805b821a85b23a7ac61725b OP_CHECKSIG"
32
+ }
33
+ ]
34
+ },
35
+ {
36
+ "hash":"f4184fc596403b9d638783cf57adfe4c75c605f6356fbc91338530e9831e9e16",
37
+ "ver":1,
38
+ "vin_sz":1,
39
+ "vout_sz":2,
40
+ "lock_time":0,
41
+ "size":275,
42
+ "in":[
43
+ {
44
+ "prev_out":{
45
+ "hash":"0437cd7f8525ceed2324359c2d0ba26006d92d856a9c20fa0241106ee5a597c9",
46
+ "n":0
47
+ },
48
+ "scriptSig":"304402204e45e16932b8af514961a1d3a1a25fdf3f4f7732e9d624c6c61548ab5fb8cd410220181522ec8eca07de4860a4acdd12909d831cc56cbbac4622082221a8768d1d0901"
49
+ }
50
+ ],
51
+ "out":[
52
+ {
53
+ "value":"10.00000000",
54
+ "scriptPubKey":"04ae1a62fe09c5f51b13905f07f06b99a2f7159b2225f374cd378d71302fa28414e7aab37397f554a7df5f142c21c1b7303b8a0626f1baded5c72a704f7e6cd84c OP_CHECKSIG"
55
+ },
56
+ {
57
+ "value":"40.00000000",
58
+ "scriptPubKey":"0411db93e1dcdb8a016b49840f8c53bc1eb68a382e97b1482ecad7b148a6909a5cb2e0eaddfb84ccf9744464f82e160bfa9b8b64f9d4c03f999b8643f656b412a3 OP_CHECKSIG"
59
+ }
60
+ ]
61
+ }
62
+ ],
63
+ "mrkl_tree":[
64
+ "b1fea52486ce0c62bb442b530a3f0132b826c74e473d1f2c220bfa78111c5082",
65
+ "f4184fc596403b9d638783cf57adfe4c75c605f6356fbc91338530e9831e9e16",
66
+ "7dac2c5666815c17a3b36427de37bb9d2e2c5ccec3f8633eb91a4205cb4c10ff"
67
+ ]
68
+ }
@@ -0,0 +1,39 @@
1
+ {
2
+ "hash":"000000008d9dc510f23c2657fc4f67bea30078cc05a90eb89e84cc475c080805",
3
+ "ver":1,
4
+ "prev_block":"00000000408c48f847aa786c2268fc3e6ec2af68e8468a34a28c61b7f1de0dc6",
5
+ "mrkl_root":"0437cd7f8525ceed2324359c2d0ba26006d92d856a9c20fa0241106ee5a597c9",
6
+ "time":1231473279,
7
+ "bits":486604799,
8
+ "nonce":1397702696,
9
+ "n_tx":1,
10
+ "size":215,
11
+ "tx":[
12
+ {
13
+ "hash":"0437cd7f8525ceed2324359c2d0ba26006d92d856a9c20fa0241106ee5a597c9",
14
+ "ver":1,
15
+ "vin_sz":1,
16
+ "vout_sz":1,
17
+ "lock_time":0,
18
+ "size":134,
19
+ "in":[
20
+ {
21
+ "prev_out":{
22
+ "hash":"0000000000000000000000000000000000000000000000000000000000000000",
23
+ "n":4294967295
24
+ },
25
+ "coinbase":"04ffff001d0134"
26
+ }
27
+ ],
28
+ "out":[
29
+ {
30
+ "value":"50.00000000",
31
+ "scriptPubKey":"0411db93e1dcdb8a016b49840f8c53bc1eb68a382e97b1482ecad7b148a6909a5cb2e0eaddfb84ccf9744464f82e160bfa9b8b64f9d4c03f999b8643f656b412a3 OP_CHECKSIG"
32
+ }
33
+ ]
34
+ }
35
+ ],
36
+ "mrkl_tree":[
37
+ "0437cd7f8525ceed2324359c2d0ba26006d92d856a9c20fa0241106ee5a597c9"
38
+ ]
39
+ }
@@ -0,0 +1,64 @@
1
+ {
2
+ "hash":"000000000214a3f06ee99a033a7f2252762d6a18d27c3cd8c8fe2278190da9f3",
3
+ "ver":1,
4
+ "prev_block":"0000000002a3ad20dc50ad5bfe801c9f1ab70b8435b185fb6e351aa886b99e92",
5
+ "mrkl_root":"177473061328d92dea5af92e45dc5ce2a4b753734820d83fd919ee92f914c798",
6
+ "time":1308989077,
7
+ "bits":470130758,
8
+ "nonce":4247800069,
9
+ "n_tx":2,
10
+ "size":718,
11
+ "tx":[
12
+ {
13
+ "hash":"bda82dff30ea2b82a7e570e8c2437f1d1c4fc88c208ab044a34a2ec9556a48ec",
14
+ "ver":1,
15
+ "vin_sz":1,
16
+ "vout_sz":1,
17
+ "lock_time":0,
18
+ "size":134,
19
+ "in":[
20
+ {
21
+ "prev_out":{
22
+ "hash":"0000000000000000000000000000000000000000000000000000000000000000",
23
+ "n":4294967295
24
+ },
25
+ "coinbase":"0446a0051c0148"
26
+ }
27
+ ],
28
+ "out":[
29
+ {
30
+ "value":"50.00010000",
31
+ "scriptPubKey":"04a385432206eb6369c5bbbe7032b529aa87f24c6da4520ae8f889b285f2ecd13ebeec293d84d2da11a2aa811ac1e5d30517f5f20b24bb5e7b5f6f25419485de32 OP_CHECKSIG"
32
+ }
33
+ ]
34
+ },
35
+ {
36
+ "hash":"a1c8a7c558835f45d9f584934f2602f444efb0467940cf83eadc97199326c909",
37
+ "ver":1,
38
+ "vin_sz":1,
39
+ "vout_sz":1,
40
+ "lock_time":0,
41
+ "size":503,
42
+ "in":[
43
+ {
44
+ "prev_out":{
45
+ "hash":"e232e0055dbdca88bbaa79458683195a0b7c17c5b6c524a8d146721d4d4d652f",
46
+ "n":1
47
+ },
48
+ "scriptSig":"30440220151ad44e7f78f9e0c4a3f2135c19ca3de8dbbb7c58893db096c0c5f1573d5dec02200724a78c3fa5f153103cb46816df46eb6cfac3718038607ddec344310066161e01 0459fd82189b81772258a3fc723fdda900eb8193057d4a573ee5ad39e26b58b5c12c4a51b0edd01769f96ed1998221daf0df89634a7137a8fa312d5ccc95ed8925 3045022100ca34834ece5925cff6c3d63e2bda6b0ce0685b18f481c32e70de9a971e85f12f0220572d0b5de0cf7b8d4e28f4914a955e301faaaa42f05feaa1cc63b45f938d75d901 04ce6242d72ee67e867e6f8ec434b95fcb1889c5b485ec3414df407e11194a7ce012eda021b68f1dd124598a9b677d6e7d7c95b1b7347f5c5a08efa628ef0204e1 3045022074e01e8225e8c4f9d0b3f86908d42a61e611f406e13817d16240f94f52f49359022100f4c768dd89c6435afd3834ae2c882465ade92d7e1cc5c2c2c3d8d25c41b3ea6101 04ce66c9f5068b715b62cc1622572cd98a08812d8ca01563045263c3e7af6b997e603e8e62041c4eb82dfd386a3412c34c334c34eb3c76fb0e37483fc72323f807"
49
+ }
50
+ ],
51
+ "out":[
52
+ {
53
+ "value":"1.22990000",
54
+ "scriptPubKey":"OP_DUP OP_HASH160 6a4e7d5f798e90e84db9244d4805459f87275943 OP_EQUALVERIFY OP_CHECKSIG"
55
+ }
56
+ ]
57
+ }
58
+ ],
59
+ "mrkl_tree":[
60
+ "bda82dff30ea2b82a7e570e8c2437f1d1c4fc88c208ab044a34a2ec9556a48ec",
61
+ "a1c8a7c558835f45d9f584934f2602f444efb0467940cf83eadc97199326c909",
62
+ "177473061328d92dea5af92e45dc5ce2a4b753734820d83fd919ee92f914c798"
63
+ ]
64
+ }
Binary file
@@ -0,0 +1,27 @@
1
+ {
2
+ "hash":"6e9dd16625b62cfcd4bf02edb89ca1f5a8c30c4b1601507090fb28e59f2d02b4",
3
+ "ver":1,
4
+ "vin_sz":1,
5
+ "vout_sz":2,
6
+ "lock_time":0,
7
+ "size":258,
8
+ "in":[
9
+ {
10
+ "prev_out":{
11
+ "hash":"c866fc2aea0e36ce632886f26a66487ba751762d0f085763d01efc438336f6b0",
12
+ "n":0
13
+ },
14
+ "scriptSig":"3045022100bde2e702380813d61069845a75e330779bbacc6a1330bd9dfd1fec1bd94f8f17022075c29d9b37957c80068436609755942be0f7f6fbd30983a557a6e0640edeeb1601 049de89dd4f0b3801c2d28a334f0fb8b0bfd7a9d67530e9dffa536bd7130e8dfd32a01e7bafcdd956fdeece0f341fa4f2727890bf09fe0dd1dea9169aad9c30242"
15
+ }
16
+ ],
17
+ "out":[
18
+ {
19
+ "value":"0.24956381",
20
+ "scriptPubKey":"OP_DUP OP_HASH160 b2e21c1db922e3bdc529de7b38b4c401399e9afd OP_EQUALVERIFY OP_CHECKSIG"
21
+ },
22
+ {
23
+ "value":"0.03993619",
24
+ "scriptPubKey":"OP_DUP OP_HASH160 7766347a890638dc3cd8d4ef99b8e40c6519d11e OP_EQUALVERIFY OP_CHECKSIG"
25
+ }
26
+ ]
27
+ }
Binary file
@@ -0,0 +1,27 @@
1
+ {
2
+ "hash":"e6d0a1bc0355e4208c606cb3ae1f047875c13f966c6c861a154e2fe61a4132a5",
3
+ "ver":1,
4
+ "vin_sz":1,
5
+ "vout_sz":2,
6
+ "lock_time":0,
7
+ "size":258,
8
+ "in":[
9
+ {
10
+ "prev_out":{
11
+ "hash":"0abe13b3a6e01b12ec7abc592328d5edd5e9029d7d9ee9cd1440382812953ee1",
12
+ "n":0
13
+ },
14
+ "scriptSig":"304502207442f42bb0c64f948df0711ae61e8612a011d83e755507d73c8cf6b1ae71fcd5022100a61a91f426a20db8778e35d14792f64daa0e8edf2acd5a9329adc25e0074a2cf01 045833aa1677dc0f5bd773b835622d53b4d31bc194577290a48897fb157e6af925bec9ce0dad4fc9e613d9d4661d78c111b02f219ca446e0c101b730d1234c4978"
15
+ }
16
+ ],
17
+ "out":[
18
+ {
19
+ "value":"127.81000000",
20
+ "scriptPubKey":"OP_DUP OP_HASH160 7bc2e19b0afd1c78ec792bbad334d41db2da8845 OP_EQUALVERIFY OP_CHECKSIG"
21
+ },
22
+ {
23
+ "value":"0.33000000",
24
+ "scriptPubKey":"OP_DUP OP_HASH160 ffad3e6ddcfdb412953d41887a21e9ff9805a93c OP_EQUALVERIFY OP_CHECKSIG"
25
+ }
26
+ ]
27
+ }
Binary file
@@ -0,0 +1,48 @@
1
+ {
2
+ "hash":"56577828eace17d718e538d51f3122bc7193bf37879b8a9d6638c4c5101159bc",
3
+ "ver":1,
4
+ "vin_sz":4,
5
+ "vout_sz":2,
6
+ "lock_time":0,
7
+ "size":798,
8
+ "in":[
9
+ {
10
+ "prev_out":{
11
+ "hash":"1f130699a1eb657f4eb051865ef4399dcaf8a34d5bbff879107829e687acf865",
12
+ "n":0
13
+ },
14
+ "scriptSig":"3045022100fd9d06ec1b74060a6e85e2ff614d4cf01c41a30debd86ac669ee5370b038a29302204ce4595ea7658ba2a1487aa784ed7543d0b394b0393d732a3ea4f247ffd7f49301 04974deddf7b6dbfdbe6799f58b4460b0f80e609d52d5ab13c398b8456c8dd9ea29fc6702a69edfe76bd2b7e7361e0a81523cba342133ed0e270b2d38e51429a33"
15
+ },
16
+ {
17
+ "prev_out":{
18
+ "hash":"d9fe5ba4752e3b7dd1c0fceaaa3124c73eef34d8dc2a0bf8e6dc6e9413556f84",
19
+ "n":0
20
+ },
21
+ "scriptSig":"304502210096782e8d62ec98f14b51639a0aa04588f847ea124d9709d2e48ec649d562ed0602203d5a6fec66af2518960bdbaf556d10732882ad9563d8ec38c22a1668306a5acf01 04b65a4e775c8d55676ddd25f97236c6b452b5ab986e2ed7562db453ebce7c95badfb890e0da2653747a21b463c63eb8ba6ab9ff9ce268a3600c1b906d5e295695"
22
+ },
23
+ {
24
+ "prev_out":{
25
+ "hash":"d634f4d77f0f407077e6b11168c33d7d17c18d8c962dcc14b5ca2fc4a4e1efcf",
26
+ "n":0
27
+ },
28
+ "scriptSig":"3044022025c899f50e42b79a258d10a941e61529d4ad1e1d5dfd891ee243a186fbbbf81f02201a4aaa633245f29fbeab365151c3f9cdfcdc374b5077aa5ee32249e3c60071a201 04b8778189c915eb353393f9fbb01c3b50a263fa69f64f5e30d786bba3b79396b6646683c1a52dd5be120d5a3b6bdb87875e8a9634d980b0d8b30b70913b403a58"
29
+ },
30
+ {
31
+ "prev_out":{
32
+ "hash":"175dfd12170980b391b66822b5a699ed18d24d572b719429026d42168801024e",
33
+ "n":24
34
+ },
35
+ "scriptSig":"3046022100909ef47b3138490e129d932eedc3de6ddf67c58bd0a54d75e915b31b793c83080221008bfa4b84c932380be3561fd4d4dcd68dbf00b8b40aa605630702cbfee1a440c701 0483c5d3b9eb6a4b6f1812ede42f7d86726f9aa0bbb1a25d7604bbc632c093b0d47a23263252ffbbd2995ca1da2fbbb6c642eaaa75eae26310b20aec04493afa1a"
36
+ }
37
+ ],
38
+ "out":[
39
+ {
40
+ "value":"0.01000000",
41
+ "scriptPubKey":"OP_DUP OP_HASH160 3129d7051d509424d23d533fa2d5258977e822e3 OP_EQUALVERIFY OP_CHECKSIG"
42
+ },
43
+ {
44
+ "value":"2.00000000",
45
+ "scriptPubKey":"OP_DUP OP_HASH160 f3de26ff7d472d5365e3adafece9bbdcace915a0 OP_EQUALVERIFY OP_CHECKSIG"
46
+ }
47
+ ]
48
+ }
@@ -0,0 +1,27 @@
1
+ {
2
+ "hash":"f4184fc596403b9d638783cf57adfe4c75c605f6356fbc91338530e9831e9e16",
3
+ "ver":1,
4
+ "vin_sz":1,
5
+ "vout_sz":2,
6
+ "lock_time":0,
7
+ "size":275,
8
+ "in":[
9
+ {
10
+ "prev_out":{
11
+ "hash":"0437cd7f8525ceed2324359c2d0ba26006d92d856a9c20fa0241106ee5a597c9",
12
+ "n":0
13
+ },
14
+ "scriptSig":"304402204e45e16932b8af514961a1d3a1a25fdf3f4f7732e9d624c6c61548ab5fb8cd410220181522ec8eca07de4860a4acdd12909d831cc56cbbac4622082221a8768d1d0901"
15
+ }
16
+ ],
17
+ "out":[
18
+ {
19
+ "value":"10.00000000",
20
+ "scriptPubKey":"04ae1a62fe09c5f51b13905f07f06b99a2f7159b2225f374cd378d71302fa28414e7aab37397f554a7df5f142c21c1b7303b8a0626f1baded5c72a704f7e6cd84c OP_CHECKSIG"
21
+ },
22
+ {
23
+ "value":"40.00000000",
24
+ "scriptPubKey":"0411db93e1dcdb8a016b49840f8c53bc1eb68a382e97b1482ecad7b148a6909a5cb2e0eaddfb84ccf9744464f82e160bfa9b8b64f9d4c03f999b8643f656b412a3 OP_CHECKSIG"
25
+ }
26
+ ]
27
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "hash":"0437cd7f8525ceed2324359c2d0ba26006d92d856a9c20fa0241106ee5a597c9",
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":"0000000000000000000000000000000000000000000000000000000000000000",
12
+ "n":4294967295
13
+ },
14
+ "coinbase":"04ffff001d0134"
15
+ }
16
+ ],
17
+ "out":[
18
+ {
19
+ "value":"50.00000000",
20
+ "scriptPubKey":"0411db93e1dcdb8a016b49840f8c53bc1eb68a382e97b1482ecad7b148a6909a5cb2e0eaddfb84ccf9744464f82e160bfa9b8b64f9d4c03f999b8643f656b412a3 OP_CHECKSIG"
21
+ }
22
+ ]
23
+ }
@@ -0,0 +1,27 @@
1
+ {
2
+ "hash":"2f4a2717ec8c9f077a87dde6cbe0274d5238793a3f3f492b63c744837285e58a",
3
+ "ver":1,
4
+ "vin_sz":1,
5
+ "vout_sz":2,
6
+ "lock_time":0,
7
+ "size":258,
8
+ "in":[
9
+ {
10
+ "prev_out":{
11
+ "hash":"c5a8064b7a2803adc7224f660851ea01c837761b4de593fa3dc4514f02a485ab",
12
+ "n":1
13
+ },
14
+ "scriptSig":"30450221009313144f4790a3c1436a1bcd900863c21018d097ef82c31baa99f499ed2dfbfa02207c44de9278f83f57915d58748fa2cb4bc259c6fc7ed0d1c74be41cd1677ddf6701 043a4fabcc1af4b23bbff763fca63e3f36a9ee15ba906a2f5d85c35e79ebf184f44ab123d5e12d29416c69956da4ab5f49a884ab89dc102f0b25e76d08d84fc4cb"
15
+ }
16
+ ],
17
+ "out":[
18
+ {
19
+ "value":"0.01000000",
20
+ "scriptPubKey":"OP_DUP OP_HASH160 9c212f789de098771d3870f1be7562e33637e808 OP_EQUALVERIFY OP_CHECKSIG"
21
+ },
22
+ {
23
+ "value":"0.99000000",
24
+ "scriptPubKey":"OP_DUP OP_HASH160 675db523ad432732974f8e296a99a82d124de109 OP_EQUALVERIFY OP_CHECKSIG"
25
+ }
26
+ ]
27
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "hash":"406b2b06bcd34d3c8733e6b79f7a394c8a431fbf4ff5ac705c93f4076bb77602",
3
+ "ver":1,
4
+ "vin_sz":1,
5
+ "vout_sz":1,
6
+ "lock_time":0,
7
+ "size":224,
8
+ "in":[
9
+ {
10
+ "prev_out":{
11
+ "hash":"4974d995c0291573caa216d538f2d79f27fe4f9fa351314e2c21b554dbdfd87f",
12
+ "n":1
13
+ },
14
+ "scriptSig":"3045022100b6a7fe5eea81894bbdd0df61043e42780543457fa5581ac1af023761a098e92202201d4752785be5f9d1b9f8d362b8cf3b05e298a78c4abff874b838bb500dcf2a1201 042e3c4aeac1ffb1c86ce3621afb1ca92773e02badf0d4b1c836eb26bd27d0c2e59ffec3d6ab6b8bbeca81b0990ab5224ebdd73696c4255d1d0c6b3c518a1a053e"
15
+ }
16
+ ],
17
+ "out":[
18
+ {
19
+ "value":"0.05000000",
20
+ "scriptPubKey":"OP_DUP OP_HASH160 dc44b1164188067c3a32d4780f5996fa14a4f2d9 OP_EQUALVERIFY OP_CHECKSIG"
21
+ }
22
+ ]
23
+ }
@@ -0,0 +1,37 @@
1
+ {
2
+ "hash":"ba1ff5cd66713133c062a871a8adab92416f1e38d17786b2bf56ac5f6ffdfdf5",
3
+ "ver":1,
4
+ "vin_sz":3,
5
+ "vout_sz":1,
6
+ "lock_time":0,
7
+ "size":1639,
8
+ "in":[
9
+ {
10
+ "prev_out":{
11
+ "hash":"de35d060663750b3975b7997bde7fb76307cec5b270d12fcd9c4ad98b279c28c",
12
+ "n":0
13
+ },
14
+ "scriptSig":"0 304502202bfc509d19c00b0ed7fd73885028597e983b25d76a5be3e67cd28b6bf57f5f26022100d47f810d0de3fd206a4dd08e8b95d289cdb62885b9c11927460e81d584d8efec01 3044022064866b184e657136f73e0c0f20e7e65b4e4b887ba859cf1806453a8b7018236102203db948080d7387bee0e1aa187d6fe8d054c69b5dccf8b94e2ffbed839da2e64c01 304302202075204a08e965f3edb9b3b81a5962ef541c36f020205c23e4014f32b4ac5c39021f5cc757814214d2ef61331f8dbb10f9a4c1616e6e7b73039709745be30ad04d01 534104c80d7a68192cc7983e249dc0042a95a4949a13e34cd95e0424cebdd48fa19ac73bfe723e6a406648210509ffed01dabb7b4195307b23c7da0a967006a3afbd3c4104f50759aa1ceb61a433da9f78b92e90193c388ec0c56f821543c3663ca903e90f94335a6720f0adf60f18bfe28368fe73093c257ef9352f257878ab892478bb6f41040f36c6c52e7ac751799da602ac58320c8d3d01044d1d7b605ed018cdf28fdbc01f74db205ec4f3e29e0ceeaec5b72247325d84e8aab1ef6b886a47e24004c988410479de377811cd30456ad5ffd03231ef343636539721cdd1a14d4b512d524fce1a1db99611954538f6dd45e481b4cc059a225b7dcb2de41defc779d7b9f68c83fb54ae"
15
+ },
16
+ {
17
+ "prev_out":{
18
+ "hash":"345e1d1e6932de7cea2d82c4e40dcff96dc8bfe1abb51ae2763491ae64e44026",
19
+ "n":1
20
+ },
21
+ "scriptSig":"0 30440220224b899deeda1101858c66f6d926a131e40ace822cb951e0d31b346fe00a966f0220155f8bda88a093d38de4ced787b1804102907dcc2cf99d988c9f45800102aa8801 3044022023fc99b984eeda51971c61ee04882fbd96527dac5f51f7c439efbf50a81eea280220676381101cff62c18d7b98be2ce429d8bbc72157d393baab39fa75881bbe3bf201 304502202b05aea86405e9430f2e11ecb40afa1d6148cbcf4a0612cf884e2158fb4c552c022100edb832605472e71c933241a2a740f9873461d93398050b928ba651fc6443b81a01 534104c80d7a68192cc7983e249dc0042a95a4949a13e34cd95e0424cebdd48fa19ac73bfe723e6a406648210509ffed01dabb7b4195307b23c7da0a967006a3afbd3c4104f50759aa1ceb61a433da9f78b92e90193c388ec0c56f821543c3663ca903e90f94335a6720f0adf60f18bfe28368fe73093c257ef9352f257878ab892478bb6f41040f36c6c52e7ac751799da602ac58320c8d3d01044d1d7b605ed018cdf28fdbc01f74db205ec4f3e29e0ceeaec5b72247325d84e8aab1ef6b886a47e24004c988410479de377811cd30456ad5ffd03231ef343636539721cdd1a14d4b512d524fce1a1db99611954538f6dd45e481b4cc059a225b7dcb2de41defc779d7b9f68c83fb54ae"
22
+ },
23
+ {
24
+ "prev_out":{
25
+ "hash":"abf327a94ef9d508e4e2062b692f6a990604377f388868ea14da760dfbdec8ac",
26
+ "n":1
27
+ },
28
+ "scriptSig":"0 3045022100f208b819e9c2a82faf552bcc590437b63fe49b85a3e8b65776d4ded1ad64105f02203ad8b7cb92033f34640dfb78801a508f06786cd61a3d9f5a717d6f527b3fde9101 3046022100bbeba74aecfdc5856b18a2f0b64cb7a9ad2abb7b7ef42a80ca9459e52270f89702210096beff7551ca65a74fc4a40a78ecd3a328190bea7816aa0887b1c7600bdb1c1601 3045022100efb3f87130cab3ea7eb79d9e300865e09b7f4a09cc2e25f6975d4775b9395d1102203bad542dbac1b27b3bc733872da49aeaff21dac6355da63dcadecb626bfebe2a01 534104c80d7a68192cc7983e249dc0042a95a4949a13e34cd95e0424cebdd48fa19ac73bfe723e6a406648210509ffed01dabb7b4195307b23c7da0a967006a3afbd3c4104f50759aa1ceb61a433da9f78b92e90193c388ec0c56f821543c3663ca903e90f94335a6720f0adf60f18bfe28368fe73093c257ef9352f257878ab892478bb6f41040f36c6c52e7ac751799da602ac58320c8d3d01044d1d7b605ed018cdf28fdbc01f74db205ec4f3e29e0ceeaec5b72247325d84e8aab1ef6b886a47e24004c988410479de377811cd30456ad5ffd03231ef343636539721cdd1a14d4b512d524fce1a1db99611954538f6dd45e481b4cc059a225b7dcb2de41defc779d7b9f68c83fb54ae"
29
+ }
30
+ ],
31
+ "out":[
32
+ {
33
+ "value":"2.24900000",
34
+ "scriptPubKey":"OP_DUP OP_HASH160 d1f8150f8701956d890ce410c75badc33c9fb433 OP_EQUALVERIFY OP_CHECKSIG"
35
+ }
36
+ ]
37
+ }