blockchain 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/docs/wallet.md +2 -2
- data/lib/blockchain/statistics.rb +0 -2
- data/lib/blockchain/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9632fa2321d9fd2c31b83a92805d0e4b5c3adb8c
|
|
4
|
+
data.tar.gz: 815a5905bfe359dd078674515e0e5e23c6047785
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c4950484bf456cf3ea3b5924a39faab96d6788a660ca28cbe9e8c0e0fff63a1b62606a3e775eb928a68184d995b4135654ed1638d2b594be1e3c04d0b55d1fb0
|
|
7
|
+
data.tar.gz: 57369609fe4381631733b42d482319a2b3927e8d71a9498104424d5f9bd06f8e64c61251575fcbd77aff7cdf0016d3c091da0d0937cbcae422331d8e5374accd
|
data/docs/wallet.md
CHANGED
|
@@ -26,7 +26,7 @@ to : str - receiving address
|
|
|
26
26
|
amount : int - amount to send (in satoshi)
|
|
27
27
|
from_address : str - specific address to send from (optional, keyword)
|
|
28
28
|
fee : int - transaction fee in satoshi. Must be greater than default (optional, keyword)
|
|
29
|
-
note : str - public note to include with the transaction (optional, keyword)
|
|
29
|
+
note : str - public note to include with the transaction if amount >= 0.005 BTC (optional, keyword)
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
Usage:
|
|
@@ -44,7 +44,7 @@ Params:
|
|
|
44
44
|
recipients : dictionary - dictionary with the structure of 'address':amount
|
|
45
45
|
from_address : str - specific address to send from (optional, keyword)
|
|
46
46
|
fee : int - transaction fee in satoshi. Must be greater than default (optional, keyword)
|
|
47
|
-
note : str - public note to include with the transaction (optional, keyword)
|
|
47
|
+
note : str - public note to include with the transaction if amount >= 0.005 BTC (optional, keyword)
|
|
48
48
|
```
|
|
49
49
|
|
|
50
50
|
Usage:
|
|
@@ -18,7 +18,6 @@ module Blockchain
|
|
|
18
18
|
attr_reader :trade_volume_usd
|
|
19
19
|
attr_reader :difficulty
|
|
20
20
|
attr_reader :minutes_between_blocks
|
|
21
|
-
attr_reader :days_destroyed
|
|
22
21
|
attr_reader :number_of_transactions
|
|
23
22
|
attr_reader :hash_rate
|
|
24
23
|
attr_reader :timestamp
|
|
@@ -41,7 +40,6 @@ module Blockchain
|
|
|
41
40
|
@trade_volume_usd = s['trade_volume_usd']
|
|
42
41
|
@difficulty = s['difficulty']
|
|
43
42
|
@minutes_between_blocks = s['minutes_between_blocks']
|
|
44
|
-
@days_destroyed = s['days_destroyed']
|
|
45
43
|
@number_of_transactions = s['n_tx']
|
|
46
44
|
@hash_rate = s['hash_rate']
|
|
47
45
|
@timestamp = s['timestamp']
|
data/lib/blockchain/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: blockchain
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Blockchain
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-
|
|
11
|
+
date: 2014-12-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|