peatio-electrum 2.6.2 → 2.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +37 -31
- data/lib/peatio/electrum/blockchain.rb +5 -1
- data/lib/peatio/electrum/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ffeef075773466c5d82e4056223f1d259cc8fbef84021530c17a9dfc7e7bdf6
|
4
|
+
data.tar.gz: b6daa277f52c9e016cc68993db78b90136e40b859fe2bb7b836e10eb4aacd921
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 698483cff5a219b66f96dba7a8a7736b47287180161be52e8ba91745c898a0d99fe2b84440b9d625c580cd45229d010eb30c50b1eb10c0a6601237b8a6ad279b
|
7
|
+
data.tar.gz: ac9914a3c5495e8c6e2b94883b20cdb8f3b5a437c2beae654d3034c41f6b692dbd053e630c65c876ba1a0e5240db7c13e2c360862f35e0779608980a4c73a68d
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
peatio-electrum (2.6.
|
4
|
+
peatio-electrum (2.6.3)
|
5
5
|
activesupport (~> 5.2.3)
|
6
6
|
faraday (~> 0.17)
|
7
7
|
net-http-persistent (~> 3.0.1)
|
@@ -10,32 +10,33 @@ PATH
|
|
10
10
|
GEM
|
11
11
|
remote: https://rubygems.org/
|
12
12
|
specs:
|
13
|
-
activemodel (5.2.
|
14
|
-
activesupport (= 5.2.
|
15
|
-
activesupport (5.2.
|
13
|
+
activemodel (5.2.6)
|
14
|
+
activesupport (= 5.2.6)
|
15
|
+
activesupport (5.2.6)
|
16
16
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
17
17
|
i18n (>= 0.7, < 2)
|
18
18
|
minitest (~> 5.1)
|
19
19
|
tzinfo (~> 1.1)
|
20
|
-
addressable (2.
|
20
|
+
addressable (2.8.0)
|
21
21
|
public_suffix (>= 2.0.2, < 5.0)
|
22
|
-
amq-protocol (2.3.
|
22
|
+
amq-protocol (2.3.2)
|
23
23
|
amqp (1.8.0)
|
24
24
|
amq-protocol (>= 2.2.0)
|
25
25
|
eventmachine
|
26
|
-
bunny (2.
|
26
|
+
bunny (2.19.0)
|
27
27
|
amq-protocol (~> 2.3, >= 2.3.1)
|
28
|
+
sorted_set (~> 1, >= 1.0.2)
|
28
29
|
byebug (11.1.3)
|
29
|
-
clamp (1.3.
|
30
|
-
concurrent-ruby (1.1.
|
31
|
-
connection_pool (2.2.
|
30
|
+
clamp (1.3.2)
|
31
|
+
concurrent-ruby (1.1.9)
|
32
|
+
connection_pool (2.2.5)
|
32
33
|
cookiejar (0.3.3)
|
33
34
|
crack (0.4.3)
|
34
35
|
safe_yaml (~> 1.0.0)
|
35
|
-
daemons (1.
|
36
|
+
daemons (1.4.1)
|
36
37
|
diff-lcs (1.3)
|
37
38
|
docile (1.3.2)
|
38
|
-
em-http-request (1.1.
|
39
|
+
em-http-request (1.1.7)
|
39
40
|
addressable (>= 2.3.4)
|
40
41
|
cookiejar (!= 0.3.1)
|
41
42
|
em-socksify (>= 0.3)
|
@@ -45,40 +46,40 @@ GEM
|
|
45
46
|
eventmachine (>= 1.0.0.beta.4)
|
46
47
|
em-synchrony (1.0.6)
|
47
48
|
eventmachine (>= 1.0.0.beta.1)
|
48
|
-
em-websocket (0.5.
|
49
|
+
em-websocket (0.5.3)
|
49
50
|
eventmachine (>= 0.12.9)
|
50
|
-
http_parser.rb (~> 0
|
51
|
+
http_parser.rb (~> 0)
|
51
52
|
eventmachine (1.2.7)
|
52
|
-
faraday (0.17.
|
53
|
+
faraday (0.17.4)
|
53
54
|
multipart-post (>= 1.2, < 3)
|
54
55
|
faraday_middleware (0.13.1)
|
55
56
|
faraday (>= 0.7.4, < 1.0)
|
56
|
-
faye (1.
|
57
|
+
faye (1.4.0)
|
57
58
|
cookiejar (>= 0.3.0)
|
58
|
-
em-http-request (>=
|
59
|
+
em-http-request (>= 1.1.6)
|
59
60
|
eventmachine (>= 0.12.0)
|
60
|
-
faye-websocket (>= 0.
|
61
|
+
faye-websocket (>= 0.11.0)
|
61
62
|
multi_json (>= 1.0.0)
|
62
63
|
rack (>= 1.0.0)
|
63
64
|
websocket-driver (>= 0.5.1)
|
64
|
-
faye-websocket (0.
|
65
|
+
faye-websocket (0.11.1)
|
65
66
|
eventmachine (>= 0.12.0)
|
66
67
|
websocket-driver (>= 0.5.1)
|
67
68
|
hashdiff (1.0.1)
|
68
|
-
http_parser.rb (0.
|
69
|
-
i18n (1.
|
69
|
+
http_parser.rb (0.8.0)
|
70
|
+
i18n (1.9.1)
|
70
71
|
concurrent-ruby (~> 1.0)
|
71
72
|
io-console (0.5.6)
|
72
73
|
irb (1.2.4)
|
73
74
|
reline (>= 0.0.1)
|
74
|
-
jwt (2.
|
75
|
-
minitest (5.
|
76
|
-
multi_json (1.
|
75
|
+
jwt (2.3.0)
|
76
|
+
minitest (5.15.0)
|
77
|
+
multi_json (1.15.0)
|
77
78
|
multipart-post (2.1.1)
|
78
79
|
mysql2 (0.5.3)
|
79
80
|
net-http-persistent (3.0.1)
|
80
81
|
connection_pool (~> 2.2)
|
81
|
-
peatio (2.6.
|
82
|
+
peatio (2.6.5)
|
82
83
|
activemodel (> 5.2, <= 6.0.0)
|
83
84
|
amqp
|
84
85
|
bunny
|
@@ -92,9 +93,10 @@ GEM
|
|
92
93
|
mysql2
|
93
94
|
prometheus-client
|
94
95
|
thin
|
95
|
-
prometheus-client (2.
|
96
|
-
public_suffix (4.0.
|
97
|
-
rack (2.2.
|
96
|
+
prometheus-client (2.1.0)
|
97
|
+
public_suffix (4.0.6)
|
98
|
+
rack (2.2.3)
|
99
|
+
rbtree (0.4.5)
|
98
100
|
reline (0.1.4)
|
99
101
|
io-console (~> 0.5)
|
100
102
|
rspec (3.9.0)
|
@@ -111,22 +113,26 @@ GEM
|
|
111
113
|
rspec-support (~> 3.9.0)
|
112
114
|
rspec-support (3.9.3)
|
113
115
|
safe_yaml (1.0.5)
|
116
|
+
set (1.0.2)
|
114
117
|
simplecov (0.18.5)
|
115
118
|
docile (~> 1.1)
|
116
119
|
simplecov-html (~> 0.11)
|
117
120
|
simplecov-html (0.12.2)
|
118
|
-
|
121
|
+
sorted_set (1.0.3)
|
122
|
+
rbtree
|
123
|
+
set (~> 1.0)
|
124
|
+
thin (1.8.1)
|
119
125
|
daemons (~> 1.0, >= 1.0.9)
|
120
126
|
eventmachine (~> 1.0, >= 1.0.4)
|
121
127
|
rack (>= 1, < 3)
|
122
128
|
thread_safe (0.3.6)
|
123
|
-
tzinfo (1.2.
|
129
|
+
tzinfo (1.2.9)
|
124
130
|
thread_safe (~> 0.1)
|
125
131
|
webmock (3.7.6)
|
126
132
|
addressable (>= 2.3.6)
|
127
133
|
crack (>= 0.3.2)
|
128
134
|
hashdiff (>= 0.4.0, < 2.0.0)
|
129
|
-
websocket-driver (0.7.
|
135
|
+
websocket-driver (0.7.5)
|
130
136
|
websocket-extensions (>= 0.1.0)
|
131
137
|
websocket-extensions (0.1.5)
|
132
138
|
|
@@ -73,6 +73,8 @@ module Peatio::Electrum
|
|
73
73
|
txs = []
|
74
74
|
current_height = tx['height']
|
75
75
|
end
|
76
|
+
fee = tx['fee']
|
77
|
+
|
76
78
|
(tx['outputs'] || []).each_with_index do |out, i|
|
77
79
|
@currencies_ids.each do |currency_id|
|
78
80
|
txs << Peatio::Transaction.new(
|
@@ -82,7 +84,9 @@ module Peatio::Electrum
|
|
82
84
|
amount: out['value'].to_d,
|
83
85
|
status: 'success',
|
84
86
|
block_number: tx['height'],
|
85
|
-
currency_id: currency_id
|
87
|
+
currency_id: currency_id,
|
88
|
+
fee_currency_id: currency_id,
|
89
|
+
fee: fee
|
86
90
|
)
|
87
91
|
end
|
88
92
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: peatio-electrum
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.6.
|
4
|
+
version: 2.6.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Camille Meulien
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-02-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -193,7 +193,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
193
193
|
- !ruby/object:Gem::Version
|
194
194
|
version: '0'
|
195
195
|
requirements: []
|
196
|
-
rubygems_version: 3.0.3
|
196
|
+
rubygems_version: 3.0.3.1
|
197
197
|
signing_key:
|
198
198
|
specification_version: 4
|
199
199
|
summary: Peatio Plugin for Electrum server
|