doge_coin 0.9.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +5 -0
- data/Gemfile.lock +2 -2
- data/README.md +17 -17
- data/lib/doge_coin/client.rb +12 -1
- data/lib/doge_coin/version.rb +1 -1
- data/spec/blockchain_captured_responses/nethash/133/0/1000_format_json.json +1 -0
- data/spec/blockchain_captured_responses/nethash/133/100/200_format_json.json +1 -0
- data/spec/blockchain_captured_responses/nethash/133/50/200_format_json.json +1 -0
- data/spec/blockchain_captured_responses/nethash/150/100/200_format_json.json +1 -0
- data/spec/blockchain_captured_responses/nethash/500/0_format_json.json +1 -0
- data/spec/client_spec.rb +6 -0
- metadata +13 -3
- data/LICENSE.txt +0 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c28613f8e9edbd78ed662031adc808c65547fab4
|
4
|
+
data.tar.gz: 0a9ef6c80bbd1b8c4b07392636f56e790332f4f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cdc44cb0301c6bf590b12c36e919ce94a8152b1e841eee77d5136da855097c0671b9469527143ce6ca4078191c81ea94b857160918a5901eada7eea4a6a34b79
|
7
|
+
data.tar.gz: 61a13dfe81867c77583fd15c40e7b3b9bf2003b4aaace5dc767a6bf4cd573ead712ec37df38f762078730242bbbb2fc153423bc468b5aee89f3df8bbb429d024
|
data/.travis.yml
ADDED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
doge_coin (0.0
|
4
|
+
doge_coin (1.0.0)
|
5
5
|
faraday (~> 0.9)
|
6
6
|
multi_json (~> 1.8)
|
7
7
|
vcr (~> 2.8)
|
@@ -45,7 +45,7 @@ PLATFORMS
|
|
45
45
|
DEPENDENCIES
|
46
46
|
bundler (~> 1.5)
|
47
47
|
doge_coin!
|
48
|
-
pry
|
48
|
+
pry (~> 0.9)
|
49
49
|
rake (~> 10.1)
|
50
50
|
rspec (~> 2.14)
|
51
51
|
webmock (= 1.15)
|
data/README.md
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
# DogeCoin
|
2
2
|
|
3
|
+
[![Code Climate](https://codeclimate.com/github/jorge-d/dogecoin.png)](https://codeclimate.com/github/jorge-d/dogecoin) [![Gem Version](https://badge.fury.io/rb/doge_coin.png)](http://badge.fury.io/rb/doge_coin) [![Build Status](https://travis-ci.org/jorge-d/dogecoin.png?branch=master)](https://travis-ci.org/jorge-d/dogecoin) [![Dependency Status](https://gemnasium.com/jorge-d/dogecoin.png)](https://gemnasium.com/jorge-d/dogecoin)
|
4
|
+
|
3
5
|
The purpose of this gem is to explore the DogeCoin blockchain.
|
4
6
|
For the moment it wraps the [Dogechain](http://dogechain.info) API, but this could change in the future.
|
5
7
|
|
@@ -21,22 +23,20 @@ Or install it yourself as:
|
|
21
23
|
|
22
24
|
### Instruction
|
23
25
|
|
24
|
-
There is a call mapped for
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
decode_address (address)
|
39
|
-
```
|
26
|
+
There is a call mapped for all the [dogechain API](http://dogechain.info/chain/Dogecoin/q) as follow:
|
27
|
+
|
28
|
+
* [nethash (interval, start, end)](http://dogechain.info/chain/DogeCoin/q/nethash)
|
29
|
+
* [get_block_count](http://dogechain.info/chain/DogeCoin/q/getblockcount)
|
30
|
+
* [get_difficulty](http://dogechain.info/chain/DogeCoin/q/getdifficulty)
|
31
|
+
* [get_total_mined](http://dogechain.info/chain/DogeCoin/q/totalbc)
|
32
|
+
* [transactions](http://dogechain.info/chain/DogeCoin/q/transactions)
|
33
|
+
* [address_balance (address)](http://dogechain.info/chain/DogeCoin/q/addressbalance)
|
34
|
+
* [total_received (address)](http://dogechain.info/chain/DogeCoin/q/getreceivedbyaddress)
|
35
|
+
* [total_sent (address)](http://dogechain.info/chain/DogeCoin/q/getsentbyaddress)
|
36
|
+
* [address_to_hash (address)](http://dogechain.info/chain/DogeCoin/q/addresstohash)
|
37
|
+
* [hash_to_address (address)](http://dogechain.info/chain/DogeCoin/q/hashtoaddress)
|
38
|
+
* [valid_address? (address)](http://dogechain.info/chain/DogeCoin/q/checkaddress)
|
39
|
+
* [decode_address (address)](http://dogechain.info/chain/DogeCoin/q/decode_address)
|
40
40
|
|
41
41
|
In a close-future, I would like to add methods to check if an address received new transactions, check how much validations it got etc...
|
42
42
|
|
@@ -62,7 +62,7 @@ rspec
|
|
62
62
|
|
63
63
|
## Contributing
|
64
64
|
|
65
|
-
1. Fork it ( http://github.com
|
65
|
+
1. Fork it ( http://github.com/jorge-d/dogecoin/fork )
|
66
66
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
67
67
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
68
68
|
4. Push to the branch (`git push origin my-new-feature`)
|
data/lib/doge_coin/client.rb
CHANGED
@@ -21,7 +21,7 @@ module DogeCoin
|
|
21
21
|
|
22
22
|
# Returns the amount transactions of the last blocks as an Array object
|
23
23
|
def transactions
|
24
|
-
JSON.parse(call_blockchain_api("transactions"))
|
24
|
+
::JSON.parse(call_blockchain_api("transactions"))
|
25
25
|
end
|
26
26
|
|
27
27
|
# Returns the address balance (received - sent)
|
@@ -34,6 +34,17 @@ module DogeCoin
|
|
34
34
|
balance.to_f
|
35
35
|
end
|
36
36
|
|
37
|
+
# shows statistics about difficulty and network power
|
38
|
+
#
|
39
|
+
# /nethash/INTERVAL/START/STOP
|
40
|
+
# Default INTERVAL=500, START=0, STOP=infinity.
|
41
|
+
#
|
42
|
+
# See http://dogechain.info/chain/Dogecoin/q/nethash
|
43
|
+
def nethash interval = 500, start = 0, stop = false
|
44
|
+
suffixe = stop ? "/#{stop}" : ''
|
45
|
+
::JSON.parse(call_blockchain_api("nethash/#{interval}/#{start}#{suffixe}?format=json"))
|
46
|
+
end
|
47
|
+
|
37
48
|
# Returns the total sent
|
38
49
|
# Raise error if address is invalid
|
39
50
|
def total_received address
|
data/lib/doge_coin/version.rb
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
{"http_interactions":[{"request":{"method":"get","uri":"http://dogechain.info/chain/Dogecoin/q/nethash/133/0/1000?format=json","body":{"encoding":"US-ASCII","string":""},"headers":{"User-Agent":["Faraday v0.9.0"],"Accept-Encoding":["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"],"Accept":["*/*"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Date":["Mon, 10 Feb 2014 13:34:15 GMT"],"Server":["Apache/2.2.22 (Debian)"],"X-Powered-By":["PHP/5.4.4-14+deb7u7"],"Content-Length":["1286"],"Content-Type":["application/json"]},"body":{"encoding":"UTF-8","string":"[[133,1386475502,110426256551982323683968927107989468512300641233199776096820318605148160,110426256577692940079240529213161942732034942728573710308163312334934014,0,1048592,1128,929],[266,1386475661,110427836236357352041769395878404723568785424659630784333489133269811200,110426572505830402019829489922827635854724763148994090191159342705209694,0,1048577,2,877121],[399,1386475766,110427836236357352041769395878404723568785424659630784333489133269811200,110427836236457785573754702810273263530737356117519804496434295247667199,0,1048577,1,1328197],[532,1386475956,6901641034498895230248057944249341782018790077074986006051269912821760,16086211485244434794097844329388085923085149476626244271425100095289269,0.003,16777472,2,5038754],[665,1386476252,6901641034498895230248057944249341782018790077074986006051269912821760,6901641036105808754952533075822621420752183920535856894260207020933374,0.003,16777472,3,7538526],[798,1386477312,431352564656180951890503621515583861376174379817186625378204369551360,704465278597096219767658079522418683430715183655545484741986195028846,0.062,268439552,8,20623628],[931,1386479438,431352564656180951890503621515583861376174379817186625378204369551360,431352564756613047184533317238913838797011495033491055891262938808334,0.062,268439552,16,16793255]]"},"http_version":null},"recorded_at":"Mon, 10 Feb 2014 13:37:50 GMT"}],"recorded_with":"VCR 2.8.0"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"http_interactions":[{"request":{"method":"get","uri":"http://dogechain.info/chain/Dogecoin/q/nethash/133/100/200?format=json","body":{"encoding":"US-ASCII","string":""},"headers":{"User-Agent":["Faraday v0.9.0"],"Accept-Encoding":["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"],"Accept":["*/*"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Date":["Mon, 10 Feb 2014 13:34:43 GMT"],"Server":["Apache/2.2.22 (Debian)"],"X-Powered-By":["PHP/5.4.4-14+deb7u7"],"Content-Length":["2"],"Content-Type":["application/json"]},"body":{"encoding":"UTF-8","string":"[]"},"http_version":null},"recorded_at":"Mon, 10 Feb 2014 13:38:18 GMT"}],"recorded_with":"VCR 2.8.0"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"http_interactions":[{"request":{"method":"get","uri":"http://dogechain.info/chain/Dogecoin/q/nethash/133/50/200?format=json","body":{"encoding":"US-ASCII","string":""},"headers":{"User-Agent":["Faraday v0.9.0"],"Accept-Encoding":["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"],"Accept":["*/*"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Date":["Mon, 10 Feb 2014 13:34:55 GMT"],"Server":["Apache/2.2.22 (Debian)"],"X-Powered-By":["PHP/5.4.4-14+deb7u7"],"Content-Length":["183"],"Content-Type":["application/json"]},"body":{"encoding":"UTF-8","string":"[[183,1386475590,110426256551982323683968927107989468512300641233199776096820318605148160,110426256577692940079240529213161942732034942728573710308163312334934014,0,1048592,4,315526]]"},"http_version":null},"recorded_at":"Mon, 10 Feb 2014 13:38:30 GMT"}],"recorded_with":"VCR 2.8.0"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"http_interactions":[{"request":{"method":"get","uri":"http://dogechain.info/chain/Dogecoin/q/nethash/150/100/200?format=json","body":{"encoding":"US-ASCII","string":""},"headers":{"User-Agent":["Faraday v0.9.0"],"Accept-Encoding":["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"],"Accept":["*/*"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Date":["Mon, 10 Feb 2014 13:35:09 GMT"],"Server":["Apache/2.2.22 (Debian)"],"X-Powered-By":["PHP/5.4.4-14+deb7u7"],"Content-Length":["2"],"Content-Type":["application/json"]},"body":{"encoding":"UTF-8","string":"[]"},"http_version":null},"recorded_at":"Mon, 10 Feb 2014 13:38:44 GMT"}],"recorded_with":"VCR 2.8.0"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"http_interactions":[{"request":{"method":"get","uri":"http://dogechain.info/chain/Dogecoin/q/nethash/500/0?format=json","body":{"encoding":"US-ASCII","string":""},"headers":{"User-Agent":["Faraday v0.9.0"],"Accept-Encoding":["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"],"Accept":["*/*"]}},"response":{"status":{"code":200,"message":"OK"},"headers":{"Date":["Mon, 10 Feb 2014 13:32:51 GMT"],"Server":["Apache/2.2.22 (Debian)"],"X-Powered-By":["PHP/5.4.4-14+deb7u7"],"Transfer-Encoding":["chunked"],"Content-Type":["application/json"]},"body":{"encoding":"UTF-8","string":"[[500,1386475886,6901641034498895230248057944249341782018790077074986006051269912821760,69016706544110646121312590156214853227120998882806968922155747617576697,0.003,16777472,301,5579],[1000,1386481098,102835395933649441302964260321625980471269832238804165165005483802624,511646604635674070810351654692609304043970858461013446657591038336313,0.262,1125994490,11,21710728],[1500,1386502787,52529853359504190785223619957073939508190122722587178372643483025408,74497229072396294688799436972909949335238640702983859448049420638195,0.513,2204310155,44,35831851],[2000,1386525878,24135026718369459321797471742864299194208032625214124250699885707264,34964872878590649020220162976973531547996706094112403821688576531138,1.117,4797678104,47,71709088],[2500,1386547883,14238139558361065581256409594373114581989367761360958162589676732416,20401277838725253533921598926247758520653710673652986374373263559060,1.893,8132529447,45,128964491],[3000,1386578142,12337483771434372804160612128831741937815553982171552670059079925760,12509836639047558096789387030780126701199600638729796543855128570749,2.185,9385389385,61,152947606],[3500,1386604879,10847082481083088762391228669389252788390863671700881753966595014656,12014393291141663681497720688691713489763535748873466110903331156788,2.485,10674952406,54,180233025],[4000,1386632799,9045309626709872951900905841200093584963253653733900418556268380160,9880415950534523032019800031862517113158506987674760345511444343760,2.98,12801340585,56,209873812],[4500,1386660584,8398415826798841049607906955420958144204108049947717986398840553472,9118234481756712005158643876597581099550934413847782930414575790288,3.21,13787372717,56,228521853],[5000,1386689081,6881050116064891151014929372068984286309095173241371806529998553088,7280616014038002977945394096580730303195051023340418154269141052141,3.917,16827677067,57,279049742],[5500,1386722845,10496440565135555789316594831029949402707506367442507443339658264576,8158069466947333834555705538235060672194766150014467566075649009959,2.568,11031557652,68,210187847],[6000,1386747831,5239533978969535922723855339424824546905819415438360834998607544320,6624519508699486521753737349547599481461328518053604796578009095292,5.145,22099692396,50,349782256],[6500,1386775649,4419180858809011574127754897550014650180017131691288613027407986688,4809662470429476958372553140982185763351325194848420655736909193663,6.1,26202161200,56,432721418],[7000,1386806037,4357125732353862146657150947430075973958417218680378502106574749696,4533691604386460560138061291802062672323799104318801107447915741548,6.187,26575338043,61,420237497],[7500,1386832869,3814448292365202799694150471187634292623246567852985316489782362112,4315734526787440543864952287779920402474738706773605163444482181557,7.067,30356182693,54,499966754],[8000,1386862884,3777667087470158771277270500856037421814115863528290971282569166848,3548454036309469210330426995040040027780693364558881989779901531053,7.136,30651745258,61,543589879],[8500,1386894675,3871141066566659976615270893805430509240229889473642247719214907392,3388946274754583295161771571071556513216301423078237515778477033862,6.964,29911617077,64,537378171],[9000,1386921194,2780489718795463650741083634264190674631975406751347791300476796928,3418299747221028838682165653615131314488917858151210059542318004514,9.696,41644494656,54,638677487],[9500,1386949902,2745533995518697835277219332869493364539309925027590698754165964800,2788431694392297033610930986059784317291046777289883355773000895768,9.819,42174706059,58,723245843],[10000,1386976507,2144802704805093946629714392117042501862819646643806556376440766464,2325478444542225882919020467550244866436975778408736955615561833669,12.569,53987291687,54,935779038],[10500,1387003002,1730526042304904958643618854901029077119583103831633649471569526784,1856598312990342071519186448923778809779477781401424507004626670084,15.579,66911497664,53,1176974406],[11000,1387032616,1481600090682877552030240133062736601850676204673722559733539274752,1531202847370140809838784905384811956300037974371828537508057208183,18.196,78153403179,60,1276788887],[11500,1387059151,1199095561688014284619136571342883192839465351757726230909051469824,1370636565415873413154004139550342952861856296495475464150491934508,22.483,96566189498,54,1591869598],[12000,1387087438,1034668840185301622654856384168258411861585974824889519622508773376,1156424702680152029360348922451175155204863049979170439313709247053,26.056,111912222288,57,1769883349],[12500,1387112572,692405499200535024876898336158421847987779436976098690838833397760,920118513778008149262480810973164225048699465462541830199192229845,38.936,167231614091,51,2503476472],[13000,1387136994,457798972490899480608874038524981472669947888695786068056173707264,649039161709069694475286189140883400420634934686728403164870663514,58.89,252932173716,49,3652555009],[13500,1387164357,379475205275672035588683264182180866260413192575818962470749339648,424407296257336198841087496672113915283802855296047098008344650080,71.045,305137430924,55,4985426781],[14000,1387191530,307286727513425415440511701107938818667308267486114559930505625600,343971804695663695459614382620706339621238918787829881790915530137,87.735,376820991177,55,6194246163],[14500,1387221926,338467753324226862747127933547726737806649094377475872106693525504,320457255640988762492486429928319907637577818241791986645488096156,79.652,342106709132,61,5943774841],[15000,1387248986,243668050341211990431805421872152191233454250962253791580924149760,276067279861145905211571342420954949445253621259181810398906193571,110.642,475204234101,55,7750079650],[15500,1387279568,249774414909396153478864877823048609123038622338628404355069378560,242504581277946239970142715646623921194720355874727803295964853014,107.937,463586669913,62,7806620412],[16000,1387309712,242131817570900395728387306111874039785443024900197441630376034304,253927698473259381053033115004123353785612135251362050632092498010,111.344,478219221244,61,7563763426],[16500,1387337230,223716307583692367170676420533644316360538578591446635737822265344,245088663767953799425008519420308054961467118702389477848107326652,120.509,517584482275,56,8584377428],[17000,1387363763,177115104300181649179959519855750600887394691771745643514082361344,195620709563519635661740341476672787241095446113835062886931496947,152.217,653767445158,54,11154438347],[17500,1387397828,195043712059979203684181190920000952043734910573380263177539813376,181661717374784975527353348902626565982680762928503500443910489328,138.225,593672505585,69,9355717195],[18000,1387421658,132241359414249345735450228427123635211962173170361153588291436544,196928585389957530548396456754761105136296450752311216141784789357,203.869,875611758304,48,12337185385],[18500,1387450373,119851867093012530711021700695173271546515988088295820828117827584,130535174035332382092287171494664829566376614349837777504521759037,224.943,966126703286,58,15445875188],[19000,1387479231,111156725335527134330064143813515240704268347688937128796302082048,114185544413762526790947866218846036288018881840531563126297819199,242.539,1041701155623,58,17569990973],[19500,1387505638,84973276842371146780383413480908337258771572108240302337901461504,105055992020253694005891655467939620558247034951200005180866280453,317.275,1362688289073,53,20869353754],[20000,1387534464,81630845710312447007256132328838719045525389881172093240474599424,84966740794499587722756359731467197726146870221240031422971775807,330.266,1418484498472,58,23638262568],[20500,1387564774,78561594045777775580970984732467098474707982163046958925048971264,74777723519279390491510005292318400393607366733674317311398858034,343.169,1473901982816,61,25544106621],[21000,1387593136,67634415344816641707285642504547192777557001805323967644999614464,76542461989894747240954604351230881133233598664614592327627723334,398.612,1712029129652,57,26669177041],[21500,1387627043,83387228992687523378423496895767609770082157753376685809459003392,73404403901898634520363167266599126912139323201848471618278710126,323.31,1388606992174,68,23261483683],[22000,1387655643,78738357230646264511280600562624626360985424492363066136932122624,82689865171273008981809465269629969259523667976706756642227180937,342.399,1470593155736,58,24481080241],[22500,1387684851,79112773794958609245481877730140117247373097789914456867557343232,79155683234822575958404032425908940690328538152890020992872637514,340.778,1463633288063,59,25041767123],[23000,1387718706,86146341614680209681529045808317385958612780293701741107671465984,78699219902380974077804022734421381552409550709663312874038216607,312.955,1344132403848,68,21729795976],[23500,1387746707,80073722745425485430255971061360132483681375180196566983067566080,87794413709561307102753979583050797916378193862398266866016764780,336.689,1446068513705,57,23550952133],[24000,1387777985,90017455363300117255309632488767246668088767305724489047912480768,86059306618530979570417908149547306649811781145621676204463588640,299.496,1286329287691,63,21508596701],[24500,1387806287,78807455566549401093128904932595296352893879221095726228850081792,86186049496192886930483952659647302265476279050021332744197881268,342.098,1469303740425,57,23735303712],[25000,1387836151,81278926278619728136912442630616004435573027425533661609543598080,79996601046218917360948915017500051430381883561115515536841678799,331.696,1424626216645,60,24234238777],[25500,1387864159,67025385826042484392855238871549892151201086870680289160420392960,77110115990378756323056186140786503303734354092196998827751448344,402.234,1727585567919,57,26807446020],[26000,1387893795,65024747960940041499805496066585144711060944143420712080470179840,66440873388990791768144786542223052839367492913877403407468764309,414.61,1780738762830,60,29403157850],[26500,1387924225,66538483598632010339366024357570519882636859363564102931324076032,63882101727905179803304751276131090316735194533719850043559382144,405.178,1740227353779,61,29782952298],[27000,1387952095,57502670975763708019993571512336162568654511929523458818424438784,64353552925031999149593112378011392431043376511659227672640522338,468.846,2013681925942,56,32280436341],[27500,1387982776,57104150340787478431659164913435554243229005587065326195269697536,58937328409501123247457986948748711404564009361936245361777709389,472.118,2027735086614,62,32017612042],[28000,1388013114,62836098344659296744517343696816481246425703665888548238789705728,60775558689937521202797470374784579268048663868398659929162687119,429.051,1842763829832,61,31400241442],[28500,1388043228,55241709147491308702306030848412146786905772317271069299155402752,58229293282961328368250570938956317737290947230888605480003523809,488.036,2096098962618,61,33017100300],[29000,1388075043,57206994375620053809293850487345388649790426578667424936728985600,59817264773037895937887141541194439269444431025518018133806999690,471.27,2024089720166,64,30422185932],[29500,1388103339,71055586441044032003914479799141527958326771979087533591356243968,70963781425809947966252268738179124246950936512354006730340218149,379.42,1629598671082,57,28832818487],[30000,1388133665,55452218031289236428402027882508839087836180909456615160579883008,66484485808630397730273091673819514279450768685995878856870582262,486.183,2088141707370,61,28715306051],[30500,1388165522,61413958175490090350662707245094552343193554016390776579547987968,58758158970338598017404712863955919790414616352648924829345122676,438.987,1885436025902,64,30929709350],[31000,1388196430,65751083956945105104350462932323350207400979896610534442026401792,66632896014283439286657609212600892238538064257995899771050477574,410.03,1761067381233,62,28111841897],[31500,1388225598,60006280448719214869287948452203693903384104193837050055823982592,59456815636927102085576286225309956327159855715639920431849478132,449.285,1929666167798,59,33384171078],[32000,1388255897,58171157202175447974619027742750086211303748374937100637909811200,60726969487488709142126434401839221214467675906628019138495830235,463.459,1990541271765,61,31465815404],[32500,1388287354,69545064679440581144905035432340835111955901164931708326172950528,65679241034558722523054102510230955311234664921302470456738976989,387.661,1664993623502,63,28022279879],[33000,1388319215,75522874204084024969921134415849959993338496301803697673494069248,67764550063875138868757186888140416184699564188576196620051624606,356.977,1533205541468,64,26815563809],[33500,1388347598,70194267649321213216223988117646664803374871174419956631634706432,73528236777350207575731460704966196801441239107077235620980580051,384.076,1649594662284,57,27741915559],[34000,1388378337,73406536799794934777032370340236648845816754958991759509402157056,69113964232931899903792522650520122050075209858664125837607530495,367.269,1577408420085,62,27251684695],[34500,1388409878,72815183599507626355632928290255101008088584257279691746011250688,71740889796131680920243950347239850819566535076218041395066617915,370.251,1590219010834,64,25586252238],[35000,1388439361,77451199857194813300571488926659355116365139894343049075855720448,78315312221928463998523871615576016872533636081016588554961083114,348.089,1495032865221,59,25074399336],[35500,1388470462,81065203518733282430265361672334629809437574427360550162448515072,77830675832046046041395249224423844753903662552815369198779630865,332.571,1428382144387,63,23917938202],[36000,1388499584,75580723973677348619840645051174241847029295609579878215564918784,79581348558493082391141117117538002237408237463006915855718402557,356.704,1532032020196,59,24981378669],[36500,1388530886,82039007973554230537243790700293374346566029441592922620641148928,75426074738922849246006445999315672413884321568191841502831166230,328.623,1411427223433,63,24521966799],[37000,1388559136,70604036850607255736487188451193661267018032937834568804636557312,80390145754893941660923322136423289348164565993322578951025075163,381.847,1640020803375,57,25493392123],[37500,1388588846,69868059226336638190288969812901408795062863966682049686068527104,75817581512344367100750169969620816734398660330311202312359992652,385.869,1657296488832,60,25702556095],[38000,1388620041,68863722948674769268075243505188182168486487095567804164005167104,71577604336121394266871434744646607828670009995807631368259001083,391.497,1681467168477,63,25929058386],[38500,1388649714,68318970951670971564666518355884528046231460280675437392838000640,71864799993353650254537732855243703430757818190336012151802003751,394.618,1694874609853,60,27150086432],[39000,1388682262,77896321695454553606896612426237857157263790123620882691234201600,71269474881935316449064287318328937031699376763809130292190967379,346.1,1486489820277,66,24958646391],[39500,1388710769,83776107999398199025104651722114171119892530877872121675601936384,83591536806806189786532958970544829784893048061538918434312386542,321.809,1382161239074,58,24296016222],[40000,1388740613,78942438362267156276274429748351954011505744272573480827015397376,80884207714262138300366954929358796375865874157899303327887643162,341.513,1466791394331,60,23984359612],[40500,1388773764,91129456489927338525984670256667331189034131777422181689941032960,77991173651685550947914992834625861616658796516489132458532047814,295.842,1270632940185,67,22392717696],[41000,1388804300,79802150215945716073689379467754476003855122874247274993901633536,85103187275955828202828287033144875826059473476480628482037802977,337.834,1450989590179,62,22278755218],[41500,1388836376,81086093713308649303847407179535064923270363066279726469307432960,86631900038704181754176861541692800252754329490389347969835860047,332.485,1428014150573,65,20834872634],[42000,1388865799,96120606055395762321818004515478982232468094276111536236387106816,95584630147974215179617238322070368885287987054565387463992843623,280.48,1204654173430,59,20586090538],[42500,1388898408,106422685857140148978317523489478175677237937669253021103504228352,90305347370680688367269772307840045653142182799669124901133272022,253.328,1088039531277,66,19660653353],[43000,1388925957,92490533013414703289368712148880295913370437713156207221441298432,112501191280441891680791712067978769043771579295474744665423567439,291.488,1251934500372,56,18680389787],[43500,1388955796,91323895993282676349325247669840611863939318339669899623012499456,90681271804741582840875158032947149842689354853499289187158241986,295.212,1267927610598,60,21396711323],[44000,1388986902,99858343946342173702728608342264526445934738439650312371298107392,91377863604634773527797435127888202638580777408125555515627323465,269.981,1159563484244,63,20368719454],[44500,1389017907,102122519650703091000967232930373224552888522457890267476237746176,97710898591298496886337358221264426140535350544729068449121096227,263.996,1133854605559,63,19110592471],[45000,1389050143,129612408773841637644663578444053493194235849072532504509738385408,106004675192241380328381656204391119474418675756037509642135439479,208.004,893371941257,65,16942704158],[45500,1389081564,125776647662195427856944914929635138062015350526372978011874000896,108920263870879711228927527956205793507717263914796497297237920065,214.347,920616755093,63,16916877591],[46000,1389109279,98286758539056881213248569415954869420668023911730740978373361664,107259027146150864877250616788017334329707153416749603760904371711,274.298,1178104670033,56,19476017578],[46500,1389140386,107020466809604493360819133387829088165376197182940220038236340224,99422899979358746281809446007121600674991608774212700342870031960,251.913,1081962102102,63,18719935092],[47000,1389170935,114163306416335705135603154888285555933587389490304734191150956544,105484702846224559926960634203599790090292111748280605195561452004,236.152,1014267130763,62,17966455746],[47500,1389200872,105632072339364725762750878140046323676797013796311887028535951360,104619054147002807740813764361033963810521381590186846174409556119,255.225,1096183068957,60,18485441504],[48000,1389234256,126708671727865642216759252943193012371478228262766997856348798976,103477536845787297048601030388484000531565020313129484906484837725,212.771,913845024640,67,16759630530],[48500,1389261155,101037836470828272564976408518042939796186035437086882312409317376,112357634625434286521814699996894340661752058326193506778712415707,266.83,1146027006137,54,19156235682],[49000,1389291613,100477015093381884958812263747815874047905786592256687612889137152,94710392669319102846322208805442521516598029275458592794849197512,268.319,1152423657586,61,20070115638],[49500,1389319697,80015872975832161780336460426035850629990575872420386440996716544,94050634018653073056716767833880452960077552050007403477180821804,336.932,1447113990399,57,21919376800],[50000,1389349309,82243089105175122302237619886020701997086349221803337310724423680,89708320212494123470151889537767357776729429830761792007169100203,327.808,1407924854199,60,21794576226],[50500,1389378897,78751212735000336433484936259363355661805602116313328479614533632,81929383950364876931456173047268132009855419034278021723064048588,342.343,1470353093189,60,23883259366],[51000,1389407229,73250663809501812720304800017279556073372101268594828604377923584,73736637162547342354427829240046469637066164104161469321350747998,368.05,1580765049972,57,27713305796],[51500,1389436319,66713639845456240279400098225635706606311779489886427350371926016,67339323236572552553962618270819513012715156587394807916222181369,404.114,1735658397676,59,29555371706],[52000,1389467814,62874664857721512511130350787032669148886236537739335266836938752,62921673812793552050319054455223262606048379134353003658971038384,428.788,1841633502132,63,29215075610],[52500,1389497390,68866936824763287248626327429372864493691531501555369749675769856,67971443499888936247949248549526466998436397615192990978522363257,391.478,1681388697916,60,28799368422],[53000,1389529329,57987966265129923083207244064223193674616217233645862254685454336,63800124450990482914736939954905976092299067071283421520038149376,464.923,1996829630270,64,28412277913],[53500,1389562731,54602147805876230572640329935660364071101935525745517750705455104,64385116655137672047928421616712889045598651970610229732010516651,493.752,2120650814854,67,26920984359],[54000,1389590609,67091270285857102994152459317335879817904497193425383666667749376,75729379026148183947782789832704679352956288911796008736868557288,401.839,1725889057457,56,27423500181],[54500,1389620821,66192991919116327430124502507717169923094585719900802471734280192,71180272323846050321371545776229985618369150216835596692608764019,407.293,1749310400998,61,26922152072],[55000,1389652909,73822733753258013258397738522153009959870005534381502853745213440,72089419569032080274203280979621478079828731602513654671947178544,365.198,1568515325161,65,25028493900],[55500,1389682876,75675533318288629046097620814622370440578105586213062992847699968,78686184328962402104074462263104063086824080956166506976394882367,356.257,1530112629009,60,24553145677],[56000,1389712859,74767613323282299540416412232449613570153060894725785040902422528,73958141339481872335984857620141283482677811038124521560207112969,360.583,1548693131833,60,26108854697],[56500,1389741710,63318179757936993827179932324518830027182364564023386089380118528,71251299468704612253448174125960499743009563094678279826109307069,425.785,1828733701442,58,28164058271],[57000,1389769890,63665278375496935726696996136464521149327160410680469341805215744,65106377151892918358395004668462789999429594308660055505286784216,423.463,1818763573990,57,31556176454],[57500,1389799481,54320933648130907274420486569500660615660550001833529004527714304,57531294951291691579217687058799008697908517733251855934021160479,496.308,2131629216599,60,34008314077],[58000,1389828500,58619492916523706261495235166513270577407443010202499838958895104,59601449477655839529905953451465639403617212156689044856912292997,459.914,1975317142408,59,33474155566],[58500,1389861084,64777279502124156997372033904364605670272524882378161983833767936,57301109414048825287856220141427084714356602703998049950354270317,416.194,1787541714120,66,31008550586],[59000,1389889461,58719123075267763658578836816238422658763819595817032994747580416,60418631621835662510937618325849395817251937509679068095837111559,459.134,1971965573956,57,33768481295],[59500,1389919687,55179038563765208081559894326810841445407406400513540378578649088,54518874571791471926625667102522673200872127440903967780757183942,488.59,2098479644648,61,35133493348],[60000,1389950047,56665456254704774086436209262226416852740444169762623751232421888,56093283352166688216774795743500725640696546707875233099602770479,475.773,2043433458240,61,33996661059],[60500,1389978241,47747320458069765871343385961308933661060767593239346893346045952,55630766137842344725195357639927031635742720669391178052120789492,564.637,2425101306763,57,36912814303],[61000,1390008267,50897138723378125345232365914927424630328849043494177091744694272,47034386884091706251625009321017786960271297417369201404327044450,529.694,2275021585528,61,40995475386],[61500,1390036861,44175938317314572304035958225817239022953668053689756601095815168,48505286844978865830276245435001420814159121432670740047867403097,610.285,2621157436557,58,41743119799],[62000,1390065260,42000533385695493445159499371731543734456403546145411872237551616,45312641215469275875958685538415566118213715744096636675691146142,641.895,2756919493711,57,44991085261],[62500,1390096819,43919474771711878688067919377353243396190974117295289543002423296,41293732455112110254515277971286499394838986243374722377744465353,613.849,2636463433116,64,44426440791],[63000,1390124726,39126480753826141630587353319053411966180530775276775638059450368,40561976140035182339331827606452873336018188903031690207211842122,689.046,2959430212133,56,51146584414],[63500,1390154395,36720065924141362146240209742614828138237867382665265511057588224,38212687318615273703435427728231948859574554965454606427984982445,734.202,3153373675214,60,51066771848],[64000,1390184154,34776411588592759541164568234033959893823101838130532936415444992,36581837804300413860398199713494263514230071567462908406049726775,775.236,3329615792656,60,53182045967],[64500,1390213880,35927757588897384526867328730038710067864595873754126146770829312,36648620416923379481185644611408005119987731181246080431536434903,750.393,3222914454118,60,53144067365],[65000,1390242241,31832168405118313862291210384025519999682372528681899868314140672,33796157479206038934022260623607609152568115131764846622002902295,846.94,3637580945277,57,60403211451],[65500,1390271894,30077423446296173414803206958136086476060207371248312412337602560,31099885478514787469011003238460214499217270644804522210421977407,896.351,3849800813027,60,62780022489],[66000,1390301280,29103141931743335920086726410181178156284128578002160687521988608,29634879622011136752224693504469317938597787470200454734497556079,926.358,3978680017054,59,66482180114],[66500,1390328153,23723979599603719839517646663963368421005215079868706311695761408,26919879758774119309447180374604564950956461074004482275648738590,1136.4,4880803777088,54,80031254848],[67000,1390357497,22257058586654264865093805690496276025560591226630128230239043584,21811518076354356328022815204832288147728570744188361850115024351,1211.298,5202488405487,59,90457313802],[67500,1390387792,21351787528580268538694935811460112790363141729140414100858208256,20639772865965708972435975038195004030903562816952298042488800342,1262.655,5423063014388,61,92591905925],[68000,1390416857,20638765265355960084050064655088530754491659071848299956503838720,21317118048026941136418467305891951611793563149244603746609405277,1306.277,5610417471615,59,93443710838],[68500,1390447997,23215728949191195684750626630155666878959823461885897901221085184,21382757581959269685066393772765912840169259265034082826953491458,1161.279,4987656837772,63,86949396848],[69000,1390478375,22654518391437214104379124040984362255361776271018146431561105408,22805842930921608750358382453425326743156787717397477134126640281,1190.047,5111213897227,61,83568688709],[69500,1390508824,22950678328414493089497660421760723164539901503243404043914051584,22753388095389253296857559846943644807841909468855227421153820368,1174.69,5045257816800,61,83566032920],[70000,1390537379,22446532902536911823950188994235799436330640825721275112010809344,22689921017545710631119767309369882472986539331444177823856642416,1201.073,5158573475025,58,89358062918],[70500,1390567507,20768450187209048908630912064572001142648333735330926909540270080,21014917468683699649814318622027343418773658908270232938142435588,1298.12,5575384209873,61,91443092061],[71000,1390596599,21514785029343054478089459755412546264190071592966811685054578688,21329667148807522925292510934376736581509594808580409694154044538,1253.089,5381977513574,59,93302060977],[71500,1390628597,20971131525142949443814405869257953483557862690277226119927169024,20306859951409991888802866183263632109533530554582126723394030374,1285.574,5521499357270,64,89101145324],[72000,1390657333,20651087216062524138389474309726287403666467995585782856252653568,22945075717254091041642772433336307293049987580392244947066861128,1305.497,5607069885756,58,87807797571],[72500,1390689486,23733483131631095274194094049150104827959194046011624859948285952,20165327647955431137516617795739171944120322668911058769011032120,1135.945,4878849370533,65,89293965654],[73000,1390715648,15222467599349796400082132378643024464695084038905396352499318784,23845496800095012529449537796401845482248877081520037689541931416,1771.062,7606656968168,53,92805043358],[73500,1390751128,20221865276498518294439146864756770381799805032648776640295337984,18457869170423618952450695943269707055980512960443946831561328542,1333.207,5726083506840,71,88406402802],[74000,1390781652,21833605303585079380765443336006686849130326328346584461999079424,20801973981073161637878817587721043500432307091640407020003176396,1234.791,5303388406416,62,91180695511],[74500,1390812032,22222999032638056735269232697085951227586819845988466378972069888,22052308090552465425960647542964718325894009449567109479083015514,1213.155,5210461876331,61,86418569572],[75000,1390841574,23500464561010070910878981874181789835260642407202230970760560640,22647512923920127820528542526991122676180411151271751968042284750,1147.209,4927225542146,60,86534339740],[75500,1390871692,21232855281999897098262539109258597134777250400534154038942367744,21640963824554105828084985888460373382605610016856718267048679409,1269.727,5453439384361,61,88827239628],[76000,1390902445,22354472928485730763867773306555035800672083680772765581844676608,21941285513429607476551668114670369806749894435134019898195830854,1206.02,5179817462382,62,85802380545],[76500,1390932955,23026028657646074805386745237996907992198794177998750314206855168,24047907297065328771061978663270507549588144608386911682298923332,1170.846,5028747725407,62,78909519270],[77000,1390964228,35686377918764825104774787283558682463499795897492706163611926528,28779044227233765406447529952281718132827390814068229242886080207,755.468,3244713977442,63,64328434550],[77500,1390997581,25174919111534880324716761717558974097754442336145678961282646016,23608808610712426305209534316729537803134712038683936873830422885,1070.904,4599501937794,67,73525827221],[78000,1391027611,26700323881352933003817260741082092321197891835060328452296015872,25713358917036863501206523509972932349894857057993880731478481948,1009.723,4336729762225,61,74978155127],[78500,1391056642,24328703026587401890944058945416348588199683798677482468599136256,27196138541492490183406767542116504985940218394656309423359272902,1108.153,4759484675807,59,73329657014],[79000,1391085664,22338861776469824088808113698259518334295237122782383528011104256,23973559866079733923350897383557207641208323578086829948685146230,1206.863,5183437293984,59,83212587906],[79500,1391115099,22234982019850909908847395219094854662775159242531948220857188352,22100759625894428411679913244341698683782287460805273051468475680,1212.501,5207653828275,59,88997468418],[80000,1391145276,20118412362797610408770369219272884831596022112568564887488299008,20568916114963640441618851304924181758662687245464051341714193288,1340.063,5755528177334,61,93274176714],[80500,1391174503,21244788052398867178394590944952114908634260978234080168551383040,21690547385598568857942390726943303821308703451984158975189739258,1269.014,5450376297081,59,91325938247],[81000,1391204018,20437094540801456804469548412499714847875122596128559455673516032,21127511747933059816197731888874299109017897205481180541957114638,1319.167,5665780378230,60,92844836312],[81500,1391233361,19920966127711022365343914462965887684477522522062948681885155328,19936805523186942995703382629098072602934451716966438188650826482,1353.345,5812573973319,59,98966635976],[82000,1391263267,17423596093880489876728790297785024770165535999061154694791430144,18864997262632377962870386384319662464800778864338077301266631974,1547.323,6645705548579,60,102620427333],[82500,1391293640,21369325750828938924749093007108555010329731710252246613287239680,19605484357539722024415914246556154755098281614147938407515462011,1261.618,5418612200847,61,97226270743],[83000,1391323796,20800620333602905647545570485365940433030858306983805086418862080,19351699231792730375255426712361953020360939903433870734716001473,1296.112,5566761345586,61,99210138099],[83500,1391354215,22886187385185130331330011521226687599780865903406980553328558080,20380335807325516649393174322202689638784170264182083487342371686,1178,5059474839058,61,93388333559],[84000,1391386694,21587291831488506027592526959040018018962469900705815747713040384,18542628058581391799562491005831039353037940238198239679957128315,1248.88,5363900675508,65,96133545115],[84500,1391415809,20307441004457044913292520181963360498050528444423154822809649152,21334137280632039052822482364490605035016847550839850509083363378,1327.589,5701953742566,59,93208820979],[85000,1391448255,23851875547462223460080800873461224624233300572049661014896017408,20655202728905608474718998988774363123438102592309766777980908970,1130.307,4854632458856,65,86388964540],[85500,1391478349,23923359182024806980619362843412713529379874195851217439928877056,23170350835487333650968065483303398917954273806289289248787262211,1126.929,4840126687740,61,83030254277],[86000,1391505943,19433247877074948043355401296361498419279201708738982128302161920,22052351605599361176470654531612711843761439353971302091361444692,1387.31,5958452749111,56,95143544358],[86500,1391539244,24311152250135260731528374078189059952900261612854761028101079040,21043955094934007014275599314163256215405804736941829543673830978,1108.953,4762920656575,67,82616016876],[87000,1391568567,24105213096400694509028449498792462833120775535432784983801987072,24386600002863709631694014780862700739351013365545803772820259898,1118.428,4803611931338,59,80963493452],[87500,1391597191,20699571549866650860609341947231143419064442589038823058830262272,22510329897358377701657163250075798451758801671005889318449628933,1302.439,5593936519814,58,89853854361],[88000,1391628810,24823024788249103001096127362493952318467744289929025186489696256,23287431646954316556522265266399615243807011526130517346216699018,1086.086,4664705056094,64,78628351519],[88500,1391658783,26157561725599252878210671537025595029196769466843856780069437440,23773797551279776213272492410400463397482683794632398502766094122,1030.675,4426715702786,60,81249392139],[89000,1391688958,21429410168640060233020529183467498793264663456566656351644680192,21740096205265737410456877156202300222480972604804704665795479183,1258.081,5403419334740,61,88255169613],[89500,1391718199,22060861494813018771139354256284497204058896004857960367503966208,22154860077603279761049978539369404286511341090756192066124243449,1222.071,5248756457880,59,89369157135],[90000,1391747083,19806766815839132482207449945989470609369372369461814501992038400,20514617202057816904441340170622979885818310294179149622746299015,1361.148,5846087365693,58,97707553798],[90500,1391777988,21468642054486226987794502867362546708365303178094556567350280192,19063342327592187782589335506307145466125452813484309557974156947,1255.782,5393545103758,62,98270032494],[91000,1391810031,18417098093947081387944136032953794964507720204678255293285531648,19131495972275244492215538844866336288608095497315532711451857735,1463.854,6287205978197,65,94442351915],[91500,1391837426,19517731389331517379755867186208450401573523310666023568811229184,19393525794818126648255825778845432865235182563634346481685977028,1381.305,5932661277458,55,108973479334],[92000,1391866471,18467358847542322540820169198865418749501451764722078817630289920,19328925984378743288868409792176869559963243222294661553026710960,1459.87,6270094721895,59,103126384106],[92500,1391899373,22053511008680880967964902546869921026685640146632492983089364992,20350694904202240703652536399899927179421790614021763113521852627,1222.478,5250505880525,66,86466395064],[93000,1391928555,19559361128040601846581626141663163645245114131973709045700755456,19913153102696676044123850726167451958008098055387330974625922576,1378.365,5920034324194,59,99630843768],[93500,1391956878,18023046755406447116313580516122510497570478739296581062703972352,19052877947987577598013231806876584301676223930295150853935399381,1495.859,6424667860476,57,107287482963],[94000,1391989507,17355050142930067322787703477283597052901698277607607437910605824,18253347245683898042988774023839907697846967310555521446704656436,1553.435,6671953597580,66,97208135817],[94500,1392017803,18546180414033573091171655206652637416688449042038213699008724992,19487126190264998397929326191898496644663019177355580606151542314,1453.665,6243446717993,57,104996796811]]"},"http_version":null},"recorded_at":"Mon, 10 Feb 2014 13:36:27 GMT"}],"recorded_with":"VCR 2.8.0"}
|
data/spec/client_spec.rb
CHANGED
@@ -71,4 +71,10 @@ describe DogeCoin do
|
|
71
71
|
it '#decode_address' do
|
72
72
|
DogeCoin.decode_address(ADDRESS_FOR_DONATIONS).should == "1e:#{HASH_FROM_ADDRESS_FOR_DONATION}"
|
73
73
|
end
|
74
|
+
|
75
|
+
it '#nethash' do
|
76
|
+
DogeCoin.nethash.should == DogeCoin.nethash(500, 0, nil)
|
77
|
+
DogeCoin.nethash(133, 0, 1000).count.should == 7
|
78
|
+
DogeCoin.nethash(150, 100, 200).count.should == 0
|
79
|
+
end
|
74
80
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: doge_coin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dimitri Jorge
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-02-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: vcr
|
@@ -133,10 +133,10 @@ extra_rdoc_files: []
|
|
133
133
|
files:
|
134
134
|
- ".gitignore"
|
135
135
|
- ".rspec"
|
136
|
+
- ".travis.yml"
|
136
137
|
- Gemfile
|
137
138
|
- Gemfile.lock
|
138
139
|
- LICENSE
|
139
|
-
- LICENSE.txt
|
140
140
|
- README.md
|
141
141
|
- Rakefile
|
142
142
|
- doge_coin.gemspec
|
@@ -168,6 +168,11 @@ files:
|
|
168
168
|
- spec/blockchain_captured_responses/getsentbyaddress/DMP2WQ1pjCqSNCdvn4HMFztmLG7an9hNWT_---.json
|
169
169
|
- spec/blockchain_captured_responses/getsentbyaddress/abcdef.json
|
170
170
|
- spec/blockchain_captured_responses/hashtoaddress/B224785E7F7D213AF75AB440DB1108C07ED38D80.json
|
171
|
+
- spec/blockchain_captured_responses/nethash/133/0/1000_format_json.json
|
172
|
+
- spec/blockchain_captured_responses/nethash/133/100/200_format_json.json
|
173
|
+
- spec/blockchain_captured_responses/nethash/133/50/200_format_json.json
|
174
|
+
- spec/blockchain_captured_responses/nethash/150/100/200_format_json.json
|
175
|
+
- spec/blockchain_captured_responses/nethash/500/0_format_json.json
|
171
176
|
- spec/blockchain_captured_responses/totalbc.json
|
172
177
|
- spec/blockchain_captured_responses/transactions.json
|
173
178
|
- spec/client_spec.rb
|
@@ -220,6 +225,11 @@ test_files:
|
|
220
225
|
- spec/blockchain_captured_responses/getsentbyaddress/DMP2WQ1pjCqSNCdvn4HMFztmLG7an9hNWT_---.json
|
221
226
|
- spec/blockchain_captured_responses/getsentbyaddress/abcdef.json
|
222
227
|
- spec/blockchain_captured_responses/hashtoaddress/B224785E7F7D213AF75AB440DB1108C07ED38D80.json
|
228
|
+
- spec/blockchain_captured_responses/nethash/133/0/1000_format_json.json
|
229
|
+
- spec/blockchain_captured_responses/nethash/133/100/200_format_json.json
|
230
|
+
- spec/blockchain_captured_responses/nethash/133/50/200_format_json.json
|
231
|
+
- spec/blockchain_captured_responses/nethash/150/100/200_format_json.json
|
232
|
+
- spec/blockchain_captured_responses/nethash/500/0_format_json.json
|
223
233
|
- spec/blockchain_captured_responses/totalbc.json
|
224
234
|
- spec/blockchain_captured_responses/transactions.json
|
225
235
|
- spec/client_spec.rb
|
data/LICENSE.txt
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
Copyright (c) 2014 Dimitri Jorge
|
2
|
-
|
3
|
-
MIT License
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
-
a copy of this software and associated documentation files (the
|
7
|
-
"Software"), to deal in the Software without restriction, including
|
8
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
-
permit persons to whom the Software is furnished to do so, subject to
|
11
|
-
the following conditions:
|
12
|
-
|
13
|
-
The above copyright notice and this permission notice shall be
|
14
|
-
included in all copies or substantial portions of the Software.
|
15
|
-
|
16
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|