bitcoin-ruby 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +12 -0
- data/COPYING +18 -0
- data/Gemfile +4 -0
- data/README.rdoc +189 -0
- data/Rakefile +104 -0
- data/bin/bitcoin_dns_seed +130 -0
- data/bin/bitcoin_gui +80 -0
- data/bin/bitcoin_node +174 -0
- data/bin/bitcoin_shell +12 -0
- data/bin/bitcoin_wallet +323 -0
- data/bitcoin-ruby.gemspec +27 -0
- data/concept-examples/blockchain-pow.rb +151 -0
- data/doc/CONFIG.rdoc +66 -0
- data/doc/EXAMPLES.rdoc +9 -0
- data/doc/NODE.rdoc +35 -0
- data/doc/STORAGE.rdoc +21 -0
- data/doc/WALLET.rdoc +102 -0
- data/examples/balance.rb +60 -0
- data/examples/bbe_verify_tx.rb +55 -0
- data/examples/connect.rb +36 -0
- data/examples/relay_tx.rb +22 -0
- data/examples/verify_tx.rb +57 -0
- data/lib/bitcoin.rb +370 -0
- data/lib/bitcoin/builder.rb +266 -0
- data/lib/bitcoin/config.rb +56 -0
- data/lib/bitcoin/connection.rb +126 -0
- data/lib/bitcoin/ffi/openssl.rb +121 -0
- data/lib/bitcoin/gui/addr_view.rb +42 -0
- data/lib/bitcoin/gui/bitcoin-ruby.png +0 -0
- data/lib/bitcoin/gui/bitcoin-ruby.svg +80 -0
- data/lib/bitcoin/gui/conn_view.rb +36 -0
- data/lib/bitcoin/gui/connection.rb +68 -0
- data/lib/bitcoin/gui/em_gtk.rb +28 -0
- data/lib/bitcoin/gui/gui.builder +1643 -0
- data/lib/bitcoin/gui/gui.rb +290 -0
- data/lib/bitcoin/gui/helpers.rb +113 -0
- data/lib/bitcoin/gui/tree_view.rb +82 -0
- data/lib/bitcoin/gui/tx_view.rb +67 -0
- data/lib/bitcoin/key.rb +125 -0
- data/lib/bitcoin/logger.rb +65 -0
- data/lib/bitcoin/network/command_client.rb +93 -0
- data/lib/bitcoin/network/command_handler.rb +179 -0
- data/lib/bitcoin/network/connection_handler.rb +274 -0
- data/lib/bitcoin/network/node.rb +399 -0
- data/lib/bitcoin/protocol.rb +140 -0
- data/lib/bitcoin/protocol/address.rb +48 -0
- data/lib/bitcoin/protocol/alert.rb +47 -0
- data/lib/bitcoin/protocol/block.rb +154 -0
- data/lib/bitcoin/protocol/handler.rb +38 -0
- data/lib/bitcoin/protocol/parser.rb +148 -0
- data/lib/bitcoin/protocol/tx.rb +205 -0
- data/lib/bitcoin/protocol/txin.rb +97 -0
- data/lib/bitcoin/protocol/txout.rb +73 -0
- data/lib/bitcoin/protocol/version.rb +70 -0
- data/lib/bitcoin/script.rb +634 -0
- data/lib/bitcoin/storage/dummy.rb +164 -0
- data/lib/bitcoin/storage/models.rb +133 -0
- data/lib/bitcoin/storage/sequel.rb +335 -0
- data/lib/bitcoin/storage/sequel_store/sequel_migrations.rb +84 -0
- data/lib/bitcoin/storage/storage.rb +243 -0
- data/lib/bitcoin/version.rb +3 -0
- data/lib/bitcoin/wallet/coinselector.rb +30 -0
- data/lib/bitcoin/wallet/keygenerator.rb +75 -0
- data/lib/bitcoin/wallet/keystore.rb +203 -0
- data/lib/bitcoin/wallet/txdp.rb +116 -0
- data/lib/bitcoin/wallet/wallet.rb +243 -0
- data/spec/bitcoin/bitcoin_spec.rb +472 -0
- data/spec/bitcoin/builder_spec.rb +90 -0
- data/spec/bitcoin/fixtures/0d0affb5964abe804ffe85e53f1dbb9f29e406aa3046e2db04fba240e63c7fdd.json +27 -0
- data/spec/bitcoin/fixtures/23b397edccd3740a74adb603c9756370fafcde9bcc4483eb271ecad09a94dd63.json +23 -0
- data/spec/bitcoin/fixtures/477fff140b363ec2cc51f3a65c0c58eda38f4d41f04a295bbd62babf25e4c590.json +27 -0
- data/spec/bitcoin/fixtures/60a20bd93aa49ab4b28d514ec10b06e1829ce6818ec06cd3aabd013ebcdc4bb1.json +45 -0
- data/spec/bitcoin/fixtures/bc179baab547b7d7c1d5d8d6f8b0cc6318eaa4b0dd0a093ad6ac7f5a1cb6b3ba.json +34 -0
- data/spec/bitcoin/fixtures/rawblock-0.bin +0 -0
- data/spec/bitcoin/fixtures/rawblock-0.json +39 -0
- data/spec/bitcoin/fixtures/rawblock-1.bin +0 -0
- data/spec/bitcoin/fixtures/rawblock-1.json +39 -0
- data/spec/bitcoin/fixtures/rawblock-131025.bin +0 -0
- data/spec/bitcoin/fixtures/rawblock-131025.json +5063 -0
- data/spec/bitcoin/fixtures/rawblock-170.bin +0 -0
- data/spec/bitcoin/fixtures/rawblock-170.json +68 -0
- data/spec/bitcoin/fixtures/rawblock-9.bin +0 -0
- data/spec/bitcoin/fixtures/rawblock-9.json +39 -0
- data/spec/bitcoin/fixtures/rawblock-testnet-26478.bin +0 -0
- data/spec/bitcoin/fixtures/rawblock-testnet-26478.json +64 -0
- data/spec/bitcoin/fixtures/rawtx-01.bin +0 -0
- data/spec/bitcoin/fixtures/rawtx-01.json +27 -0
- data/spec/bitcoin/fixtures/rawtx-02.bin +0 -0
- data/spec/bitcoin/fixtures/rawtx-02.json +27 -0
- data/spec/bitcoin/fixtures/rawtx-03.bin +0 -0
- data/spec/bitcoin/fixtures/rawtx-03.json +48 -0
- data/spec/bitcoin/fixtures/rawtx-04.json +27 -0
- data/spec/bitcoin/fixtures/rawtx-0437cd7f8525ceed2324359c2d0ba26006d92d856a9c20fa0241106ee5a597c9.bin +0 -0
- data/spec/bitcoin/fixtures/rawtx-05.json +23 -0
- data/spec/bitcoin/fixtures/rawtx-14be6fff8c6014f7c9493b4a6e4a741699173f39d74431b6b844fcb41ebb9984.bin +0 -0
- data/spec/bitcoin/fixtures/rawtx-2f4a2717ec8c9f077a87dde6cbe0274d5238793a3f3f492b63c744837285e58a.bin +0 -0
- data/spec/bitcoin/fixtures/rawtx-2f4a2717ec8c9f077a87dde6cbe0274d5238793a3f3f492b63c744837285e58a.json +27 -0
- data/spec/bitcoin/fixtures/rawtx-406b2b06bcd34d3c8733e6b79f7a394c8a431fbf4ff5ac705c93f4076bb77602.json +23 -0
- data/spec/bitcoin/fixtures/rawtx-52250a162c7d03d2e1fbc5ebd1801a88612463314b55102171c5b5d817d2d7b2.bin +0 -0
- data/spec/bitcoin/fixtures/rawtx-b5d4e8883533f99e5903ea2cf001a133a322fa6b1370b18a16c57c946a40823d.bin +0 -0
- data/spec/bitcoin/fixtures/rawtx-ba1ff5cd66713133c062a871a8adab92416f1e38d17786b2bf56ac5f6ffdfdf5.json +37 -0
- data/spec/bitcoin/fixtures/rawtx-c99c49da4c38af669dea436d3e73780dfdb6c1ecf9958baa52960e8baee30e73.json +24 -0
- data/spec/bitcoin/fixtures/rawtx-de35d060663750b3975b7997bde7fb76307cec5b270d12fcd9c4ad98b279c28c.json +23 -0
- data/spec/bitcoin/fixtures/rawtx-f4184fc596403b9d638783cf57adfe4c75c605f6356fbc91338530e9831e9e16.bin +0 -0
- data/spec/bitcoin/fixtures/rawtx-testnet-a220adf1902c46a39db25a24bc4178b6a88440f977a7e2cabfdd8b5c1dd35cfb.json +27 -0
- data/spec/bitcoin/fixtures/rawtx-testnet-e232e0055dbdca88bbaa79458683195a0b7c17c5b6c524a8d146721d4d4d652f.bin +0 -0
- data/spec/bitcoin/fixtures/rawtx-testnet-e232e0055dbdca88bbaa79458683195a0b7c17c5b6c524a8d146721d4d4d652f.json +41 -0
- data/spec/bitcoin/fixtures/reorg/blk_0_to_4.dat +0 -0
- data/spec/bitcoin/fixtures/reorg/blk_3A.dat +0 -0
- data/spec/bitcoin/fixtures/reorg/blk_4A.dat +0 -0
- data/spec/bitcoin/fixtures/reorg/blk_5A.dat +0 -0
- data/spec/bitcoin/fixtures/testnet/block_0.bin +0 -0
- data/spec/bitcoin/fixtures/testnet/block_1.bin +0 -0
- data/spec/bitcoin/fixtures/testnet/block_2.bin +0 -0
- data/spec/bitcoin/fixtures/testnet/block_3.bin +0 -0
- data/spec/bitcoin/fixtures/testnet/block_4.bin +0 -0
- data/spec/bitcoin/fixtures/testnet/block_5.bin +0 -0
- data/spec/bitcoin/fixtures/txdp-1.txt +32 -0
- data/spec/bitcoin/fixtures/txdp-2-signed.txt +19 -0
- data/spec/bitcoin/fixtures/txdp-2-unsigned.txt +14 -0
- data/spec/bitcoin/key_spec.rb +123 -0
- data/spec/bitcoin/network_spec.rb +48 -0
- data/spec/bitcoin/protocol/addr_spec.rb +68 -0
- data/spec/bitcoin/protocol/alert_spec.rb +20 -0
- data/spec/bitcoin/protocol/block_spec.rb +101 -0
- data/spec/bitcoin/protocol/inv_spec.rb +124 -0
- data/spec/bitcoin/protocol/ping_spec.rb +49 -0
- data/spec/bitcoin/protocol/tx_spec.rb +226 -0
- data/spec/bitcoin/protocol/version_spec.rb +77 -0
- data/spec/bitcoin/reorg_spec.rb +129 -0
- data/spec/bitcoin/script/opcodes_spec.rb +417 -0
- data/spec/bitcoin/script/script_spec.rb +246 -0
- data/spec/bitcoin/spec_helper.rb +36 -0
- data/spec/bitcoin/storage_spec.rb +229 -0
- data/spec/bitcoin/wallet/coinselector_spec.rb +35 -0
- data/spec/bitcoin/wallet/keygenerator_spec.rb +64 -0
- data/spec/bitcoin/wallet/keystore_spec.rb +188 -0
- data/spec/bitcoin/wallet/txdp_spec.rb +74 -0
- data/spec/bitcoin/wallet/wallet_spec.rb +207 -0
- metadata +295 -0
metadata
ADDED
@@ -0,0 +1,295 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: bitcoin-ruby
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- lian
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-08-14 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rake
|
16
|
+
requirement: &70309726853100 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 0.8.0
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *70309726853100
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: eventmachine
|
27
|
+
requirement: &70309726850420 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0'
|
33
|
+
type: :runtime
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *70309726850420
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: bacon
|
38
|
+
requirement: &70309726849340 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - ! '>='
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0'
|
44
|
+
type: :development
|
45
|
+
prerelease: false
|
46
|
+
version_requirements: *70309726849340
|
47
|
+
description: Gem for working with Bitcoin network
|
48
|
+
email:
|
49
|
+
- meta.rb@gmail.com
|
50
|
+
executables:
|
51
|
+
- bitcoin_dns_seed
|
52
|
+
- bitcoin_gui
|
53
|
+
- bitcoin_node
|
54
|
+
- bitcoin_shell
|
55
|
+
- bitcoin_wallet
|
56
|
+
extensions: []
|
57
|
+
extra_rdoc_files: []
|
58
|
+
files:
|
59
|
+
- .gitignore
|
60
|
+
- COPYING
|
61
|
+
- Gemfile
|
62
|
+
- README.rdoc
|
63
|
+
- Rakefile
|
64
|
+
- bin/bitcoin_dns_seed
|
65
|
+
- bin/bitcoin_gui
|
66
|
+
- bin/bitcoin_node
|
67
|
+
- bin/bitcoin_shell
|
68
|
+
- bin/bitcoin_wallet
|
69
|
+
- bitcoin-ruby.gemspec
|
70
|
+
- concept-examples/blockchain-pow.rb
|
71
|
+
- doc/CONFIG.rdoc
|
72
|
+
- doc/EXAMPLES.rdoc
|
73
|
+
- doc/NODE.rdoc
|
74
|
+
- doc/STORAGE.rdoc
|
75
|
+
- doc/WALLET.rdoc
|
76
|
+
- examples/balance.rb
|
77
|
+
- examples/bbe_verify_tx.rb
|
78
|
+
- examples/connect.rb
|
79
|
+
- examples/relay_tx.rb
|
80
|
+
- examples/verify_tx.rb
|
81
|
+
- lib/bitcoin.rb
|
82
|
+
- lib/bitcoin/builder.rb
|
83
|
+
- lib/bitcoin/config.rb
|
84
|
+
- lib/bitcoin/connection.rb
|
85
|
+
- lib/bitcoin/ffi/openssl.rb
|
86
|
+
- lib/bitcoin/gui/addr_view.rb
|
87
|
+
- lib/bitcoin/gui/bitcoin-ruby.png
|
88
|
+
- lib/bitcoin/gui/bitcoin-ruby.svg
|
89
|
+
- lib/bitcoin/gui/conn_view.rb
|
90
|
+
- lib/bitcoin/gui/connection.rb
|
91
|
+
- lib/bitcoin/gui/em_gtk.rb
|
92
|
+
- lib/bitcoin/gui/gui.builder
|
93
|
+
- lib/bitcoin/gui/gui.rb
|
94
|
+
- lib/bitcoin/gui/helpers.rb
|
95
|
+
- lib/bitcoin/gui/tree_view.rb
|
96
|
+
- lib/bitcoin/gui/tx_view.rb
|
97
|
+
- lib/bitcoin/key.rb
|
98
|
+
- lib/bitcoin/logger.rb
|
99
|
+
- lib/bitcoin/network/command_client.rb
|
100
|
+
- lib/bitcoin/network/command_handler.rb
|
101
|
+
- lib/bitcoin/network/connection_handler.rb
|
102
|
+
- lib/bitcoin/network/node.rb
|
103
|
+
- lib/bitcoin/protocol.rb
|
104
|
+
- lib/bitcoin/protocol/address.rb
|
105
|
+
- lib/bitcoin/protocol/alert.rb
|
106
|
+
- lib/bitcoin/protocol/block.rb
|
107
|
+
- lib/bitcoin/protocol/handler.rb
|
108
|
+
- lib/bitcoin/protocol/parser.rb
|
109
|
+
- lib/bitcoin/protocol/tx.rb
|
110
|
+
- lib/bitcoin/protocol/txin.rb
|
111
|
+
- lib/bitcoin/protocol/txout.rb
|
112
|
+
- lib/bitcoin/protocol/version.rb
|
113
|
+
- lib/bitcoin/script.rb
|
114
|
+
- lib/bitcoin/storage/dummy.rb
|
115
|
+
- lib/bitcoin/storage/models.rb
|
116
|
+
- lib/bitcoin/storage/sequel.rb
|
117
|
+
- lib/bitcoin/storage/sequel_store/sequel_migrations.rb
|
118
|
+
- lib/bitcoin/storage/storage.rb
|
119
|
+
- lib/bitcoin/version.rb
|
120
|
+
- lib/bitcoin/wallet/coinselector.rb
|
121
|
+
- lib/bitcoin/wallet/keygenerator.rb
|
122
|
+
- lib/bitcoin/wallet/keystore.rb
|
123
|
+
- lib/bitcoin/wallet/txdp.rb
|
124
|
+
- lib/bitcoin/wallet/wallet.rb
|
125
|
+
- spec/bitcoin/bitcoin_spec.rb
|
126
|
+
- spec/bitcoin/builder_spec.rb
|
127
|
+
- spec/bitcoin/fixtures/0d0affb5964abe804ffe85e53f1dbb9f29e406aa3046e2db04fba240e63c7fdd.json
|
128
|
+
- spec/bitcoin/fixtures/23b397edccd3740a74adb603c9756370fafcde9bcc4483eb271ecad09a94dd63.json
|
129
|
+
- spec/bitcoin/fixtures/477fff140b363ec2cc51f3a65c0c58eda38f4d41f04a295bbd62babf25e4c590.json
|
130
|
+
- spec/bitcoin/fixtures/60a20bd93aa49ab4b28d514ec10b06e1829ce6818ec06cd3aabd013ebcdc4bb1.json
|
131
|
+
- spec/bitcoin/fixtures/bc179baab547b7d7c1d5d8d6f8b0cc6318eaa4b0dd0a093ad6ac7f5a1cb6b3ba.json
|
132
|
+
- spec/bitcoin/fixtures/rawblock-0.bin
|
133
|
+
- spec/bitcoin/fixtures/rawblock-0.json
|
134
|
+
- spec/bitcoin/fixtures/rawblock-1.bin
|
135
|
+
- spec/bitcoin/fixtures/rawblock-1.json
|
136
|
+
- spec/bitcoin/fixtures/rawblock-131025.bin
|
137
|
+
- spec/bitcoin/fixtures/rawblock-131025.json
|
138
|
+
- spec/bitcoin/fixtures/rawblock-170.bin
|
139
|
+
- spec/bitcoin/fixtures/rawblock-170.json
|
140
|
+
- spec/bitcoin/fixtures/rawblock-9.bin
|
141
|
+
- spec/bitcoin/fixtures/rawblock-9.json
|
142
|
+
- spec/bitcoin/fixtures/rawblock-testnet-26478.bin
|
143
|
+
- spec/bitcoin/fixtures/rawblock-testnet-26478.json
|
144
|
+
- spec/bitcoin/fixtures/rawtx-01.bin
|
145
|
+
- spec/bitcoin/fixtures/rawtx-01.json
|
146
|
+
- spec/bitcoin/fixtures/rawtx-02.bin
|
147
|
+
- spec/bitcoin/fixtures/rawtx-02.json
|
148
|
+
- spec/bitcoin/fixtures/rawtx-03.bin
|
149
|
+
- spec/bitcoin/fixtures/rawtx-03.json
|
150
|
+
- spec/bitcoin/fixtures/rawtx-04.json
|
151
|
+
- spec/bitcoin/fixtures/rawtx-0437cd7f8525ceed2324359c2d0ba26006d92d856a9c20fa0241106ee5a597c9.bin
|
152
|
+
- spec/bitcoin/fixtures/rawtx-05.json
|
153
|
+
- spec/bitcoin/fixtures/rawtx-14be6fff8c6014f7c9493b4a6e4a741699173f39d74431b6b844fcb41ebb9984.bin
|
154
|
+
- spec/bitcoin/fixtures/rawtx-2f4a2717ec8c9f077a87dde6cbe0274d5238793a3f3f492b63c744837285e58a.bin
|
155
|
+
- spec/bitcoin/fixtures/rawtx-2f4a2717ec8c9f077a87dde6cbe0274d5238793a3f3f492b63c744837285e58a.json
|
156
|
+
- spec/bitcoin/fixtures/rawtx-406b2b06bcd34d3c8733e6b79f7a394c8a431fbf4ff5ac705c93f4076bb77602.json
|
157
|
+
- spec/bitcoin/fixtures/rawtx-52250a162c7d03d2e1fbc5ebd1801a88612463314b55102171c5b5d817d2d7b2.bin
|
158
|
+
- spec/bitcoin/fixtures/rawtx-b5d4e8883533f99e5903ea2cf001a133a322fa6b1370b18a16c57c946a40823d.bin
|
159
|
+
- spec/bitcoin/fixtures/rawtx-ba1ff5cd66713133c062a871a8adab92416f1e38d17786b2bf56ac5f6ffdfdf5.json
|
160
|
+
- spec/bitcoin/fixtures/rawtx-c99c49da4c38af669dea436d3e73780dfdb6c1ecf9958baa52960e8baee30e73.json
|
161
|
+
- spec/bitcoin/fixtures/rawtx-de35d060663750b3975b7997bde7fb76307cec5b270d12fcd9c4ad98b279c28c.json
|
162
|
+
- spec/bitcoin/fixtures/rawtx-f4184fc596403b9d638783cf57adfe4c75c605f6356fbc91338530e9831e9e16.bin
|
163
|
+
- spec/bitcoin/fixtures/rawtx-testnet-a220adf1902c46a39db25a24bc4178b6a88440f977a7e2cabfdd8b5c1dd35cfb.json
|
164
|
+
- spec/bitcoin/fixtures/rawtx-testnet-e232e0055dbdca88bbaa79458683195a0b7c17c5b6c524a8d146721d4d4d652f.bin
|
165
|
+
- spec/bitcoin/fixtures/rawtx-testnet-e232e0055dbdca88bbaa79458683195a0b7c17c5b6c524a8d146721d4d4d652f.json
|
166
|
+
- spec/bitcoin/fixtures/reorg/blk_0_to_4.dat
|
167
|
+
- spec/bitcoin/fixtures/reorg/blk_3A.dat
|
168
|
+
- spec/bitcoin/fixtures/reorg/blk_4A.dat
|
169
|
+
- spec/bitcoin/fixtures/reorg/blk_5A.dat
|
170
|
+
- spec/bitcoin/fixtures/testnet/block_0.bin
|
171
|
+
- spec/bitcoin/fixtures/testnet/block_1.bin
|
172
|
+
- spec/bitcoin/fixtures/testnet/block_2.bin
|
173
|
+
- spec/bitcoin/fixtures/testnet/block_3.bin
|
174
|
+
- spec/bitcoin/fixtures/testnet/block_4.bin
|
175
|
+
- spec/bitcoin/fixtures/testnet/block_5.bin
|
176
|
+
- spec/bitcoin/fixtures/txdp-1.txt
|
177
|
+
- spec/bitcoin/fixtures/txdp-2-signed.txt
|
178
|
+
- spec/bitcoin/fixtures/txdp-2-unsigned.txt
|
179
|
+
- spec/bitcoin/key_spec.rb
|
180
|
+
- spec/bitcoin/network_spec.rb
|
181
|
+
- spec/bitcoin/protocol/addr_spec.rb
|
182
|
+
- spec/bitcoin/protocol/alert_spec.rb
|
183
|
+
- spec/bitcoin/protocol/block_spec.rb
|
184
|
+
- spec/bitcoin/protocol/inv_spec.rb
|
185
|
+
- spec/bitcoin/protocol/ping_spec.rb
|
186
|
+
- spec/bitcoin/protocol/tx_spec.rb
|
187
|
+
- spec/bitcoin/protocol/version_spec.rb
|
188
|
+
- spec/bitcoin/reorg_spec.rb
|
189
|
+
- spec/bitcoin/script/opcodes_spec.rb
|
190
|
+
- spec/bitcoin/script/script_spec.rb
|
191
|
+
- spec/bitcoin/spec_helper.rb
|
192
|
+
- spec/bitcoin/storage_spec.rb
|
193
|
+
- spec/bitcoin/wallet/coinselector_spec.rb
|
194
|
+
- spec/bitcoin/wallet/keygenerator_spec.rb
|
195
|
+
- spec/bitcoin/wallet/keystore_spec.rb
|
196
|
+
- spec/bitcoin/wallet/txdp_spec.rb
|
197
|
+
- spec/bitcoin/wallet/wallet_spec.rb
|
198
|
+
homepage: ''
|
199
|
+
licenses: []
|
200
|
+
post_install_message:
|
201
|
+
rdoc_options: []
|
202
|
+
require_paths:
|
203
|
+
- lib
|
204
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
205
|
+
none: false
|
206
|
+
requirements:
|
207
|
+
- - ! '>='
|
208
|
+
- !ruby/object:Gem::Version
|
209
|
+
version: '0'
|
210
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
211
|
+
none: false
|
212
|
+
requirements:
|
213
|
+
- - ! '>='
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: 1.3.6
|
216
|
+
requirements: []
|
217
|
+
rubyforge_project: bitcoin-ruby
|
218
|
+
rubygems_version: 1.8.10
|
219
|
+
signing_key:
|
220
|
+
specification_version: 3
|
221
|
+
summary: Gem for working with Bitcoin network
|
222
|
+
test_files:
|
223
|
+
- spec/bitcoin/bitcoin_spec.rb
|
224
|
+
- spec/bitcoin/builder_spec.rb
|
225
|
+
- spec/bitcoin/fixtures/0d0affb5964abe804ffe85e53f1dbb9f29e406aa3046e2db04fba240e63c7fdd.json
|
226
|
+
- spec/bitcoin/fixtures/23b397edccd3740a74adb603c9756370fafcde9bcc4483eb271ecad09a94dd63.json
|
227
|
+
- spec/bitcoin/fixtures/477fff140b363ec2cc51f3a65c0c58eda38f4d41f04a295bbd62babf25e4c590.json
|
228
|
+
- spec/bitcoin/fixtures/60a20bd93aa49ab4b28d514ec10b06e1829ce6818ec06cd3aabd013ebcdc4bb1.json
|
229
|
+
- spec/bitcoin/fixtures/bc179baab547b7d7c1d5d8d6f8b0cc6318eaa4b0dd0a093ad6ac7f5a1cb6b3ba.json
|
230
|
+
- spec/bitcoin/fixtures/rawblock-0.bin
|
231
|
+
- spec/bitcoin/fixtures/rawblock-0.json
|
232
|
+
- spec/bitcoin/fixtures/rawblock-1.bin
|
233
|
+
- spec/bitcoin/fixtures/rawblock-1.json
|
234
|
+
- spec/bitcoin/fixtures/rawblock-131025.bin
|
235
|
+
- spec/bitcoin/fixtures/rawblock-131025.json
|
236
|
+
- spec/bitcoin/fixtures/rawblock-170.bin
|
237
|
+
- spec/bitcoin/fixtures/rawblock-170.json
|
238
|
+
- spec/bitcoin/fixtures/rawblock-9.bin
|
239
|
+
- spec/bitcoin/fixtures/rawblock-9.json
|
240
|
+
- spec/bitcoin/fixtures/rawblock-testnet-26478.bin
|
241
|
+
- spec/bitcoin/fixtures/rawblock-testnet-26478.json
|
242
|
+
- spec/bitcoin/fixtures/rawtx-01.bin
|
243
|
+
- spec/bitcoin/fixtures/rawtx-01.json
|
244
|
+
- spec/bitcoin/fixtures/rawtx-02.bin
|
245
|
+
- spec/bitcoin/fixtures/rawtx-02.json
|
246
|
+
- spec/bitcoin/fixtures/rawtx-03.bin
|
247
|
+
- spec/bitcoin/fixtures/rawtx-03.json
|
248
|
+
- spec/bitcoin/fixtures/rawtx-04.json
|
249
|
+
- spec/bitcoin/fixtures/rawtx-0437cd7f8525ceed2324359c2d0ba26006d92d856a9c20fa0241106ee5a597c9.bin
|
250
|
+
- spec/bitcoin/fixtures/rawtx-05.json
|
251
|
+
- spec/bitcoin/fixtures/rawtx-14be6fff8c6014f7c9493b4a6e4a741699173f39d74431b6b844fcb41ebb9984.bin
|
252
|
+
- spec/bitcoin/fixtures/rawtx-2f4a2717ec8c9f077a87dde6cbe0274d5238793a3f3f492b63c744837285e58a.bin
|
253
|
+
- spec/bitcoin/fixtures/rawtx-2f4a2717ec8c9f077a87dde6cbe0274d5238793a3f3f492b63c744837285e58a.json
|
254
|
+
- spec/bitcoin/fixtures/rawtx-406b2b06bcd34d3c8733e6b79f7a394c8a431fbf4ff5ac705c93f4076bb77602.json
|
255
|
+
- spec/bitcoin/fixtures/rawtx-52250a162c7d03d2e1fbc5ebd1801a88612463314b55102171c5b5d817d2d7b2.bin
|
256
|
+
- spec/bitcoin/fixtures/rawtx-b5d4e8883533f99e5903ea2cf001a133a322fa6b1370b18a16c57c946a40823d.bin
|
257
|
+
- spec/bitcoin/fixtures/rawtx-ba1ff5cd66713133c062a871a8adab92416f1e38d17786b2bf56ac5f6ffdfdf5.json
|
258
|
+
- spec/bitcoin/fixtures/rawtx-c99c49da4c38af669dea436d3e73780dfdb6c1ecf9958baa52960e8baee30e73.json
|
259
|
+
- spec/bitcoin/fixtures/rawtx-de35d060663750b3975b7997bde7fb76307cec5b270d12fcd9c4ad98b279c28c.json
|
260
|
+
- spec/bitcoin/fixtures/rawtx-f4184fc596403b9d638783cf57adfe4c75c605f6356fbc91338530e9831e9e16.bin
|
261
|
+
- spec/bitcoin/fixtures/rawtx-testnet-a220adf1902c46a39db25a24bc4178b6a88440f977a7e2cabfdd8b5c1dd35cfb.json
|
262
|
+
- spec/bitcoin/fixtures/rawtx-testnet-e232e0055dbdca88bbaa79458683195a0b7c17c5b6c524a8d146721d4d4d652f.bin
|
263
|
+
- spec/bitcoin/fixtures/rawtx-testnet-e232e0055dbdca88bbaa79458683195a0b7c17c5b6c524a8d146721d4d4d652f.json
|
264
|
+
- spec/bitcoin/fixtures/reorg/blk_0_to_4.dat
|
265
|
+
- spec/bitcoin/fixtures/reorg/blk_3A.dat
|
266
|
+
- spec/bitcoin/fixtures/reorg/blk_4A.dat
|
267
|
+
- spec/bitcoin/fixtures/reorg/blk_5A.dat
|
268
|
+
- spec/bitcoin/fixtures/testnet/block_0.bin
|
269
|
+
- spec/bitcoin/fixtures/testnet/block_1.bin
|
270
|
+
- spec/bitcoin/fixtures/testnet/block_2.bin
|
271
|
+
- spec/bitcoin/fixtures/testnet/block_3.bin
|
272
|
+
- spec/bitcoin/fixtures/testnet/block_4.bin
|
273
|
+
- spec/bitcoin/fixtures/testnet/block_5.bin
|
274
|
+
- spec/bitcoin/fixtures/txdp-1.txt
|
275
|
+
- spec/bitcoin/fixtures/txdp-2-signed.txt
|
276
|
+
- spec/bitcoin/fixtures/txdp-2-unsigned.txt
|
277
|
+
- spec/bitcoin/key_spec.rb
|
278
|
+
- spec/bitcoin/network_spec.rb
|
279
|
+
- spec/bitcoin/protocol/addr_spec.rb
|
280
|
+
- spec/bitcoin/protocol/alert_spec.rb
|
281
|
+
- spec/bitcoin/protocol/block_spec.rb
|
282
|
+
- spec/bitcoin/protocol/inv_spec.rb
|
283
|
+
- spec/bitcoin/protocol/ping_spec.rb
|
284
|
+
- spec/bitcoin/protocol/tx_spec.rb
|
285
|
+
- spec/bitcoin/protocol/version_spec.rb
|
286
|
+
- spec/bitcoin/reorg_spec.rb
|
287
|
+
- spec/bitcoin/script/opcodes_spec.rb
|
288
|
+
- spec/bitcoin/script/script_spec.rb
|
289
|
+
- spec/bitcoin/spec_helper.rb
|
290
|
+
- spec/bitcoin/storage_spec.rb
|
291
|
+
- spec/bitcoin/wallet/coinselector_spec.rb
|
292
|
+
- spec/bitcoin/wallet/keygenerator_spec.rb
|
293
|
+
- spec/bitcoin/wallet/keystore_spec.rb
|
294
|
+
- spec/bitcoin/wallet/txdp_spec.rb
|
295
|
+
- spec/bitcoin/wallet/wallet_spec.rb
|