peatio-goldcash 2.6.1 → 2.6.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7fed0cd91377505a4456249049acfcc8aac3960d821a1d03a7b7357f688e08f4
4
- data.tar.gz: 3a9c119333cbbd55c02ba32da007e13a104d9f44611e568b3a821555725000f4
3
+ metadata.gz: 115911f79f2edc5fc5906110f3ffa581784059dbc402585415b724c99595abd9
4
+ data.tar.gz: a2f88a8c16ecc62c0f176f02cd363dd7fa2b5646800a6f3fcfa99a3ce993ea16
5
5
  SHA512:
6
- metadata.gz: c07fdeec7a4d7cc5c9354d11078ec9a72a9693545c9ed521c42e8c8f9cf211967a8219d94f65a767f1a76493ae62e66c5a67d8c60cf723b21dbd7dea42d54ad4
7
- data.tar.gz: 920387f15da5a47af85d353e7788148fd47b2b82aaa084328a60c7519443baade76d0ffab04215f04e7487da5528d3c68cf2e94f20046055d6e537c252384646
6
+ metadata.gz: 4ff0f5f995bf090d63f105a43f87ef7d2aafd160afa4877ef936b3b90984c49dcba640efb54a927d626ed4775676d2409747ec7dedcd0a5a3eb6cbc1e70d3a30
7
+ data.tar.gz: 41927cc33f6edfe1ed8afd305c484b3ddaf3172094f71f5bd7926f286015fa73ebbcb2e895e1a2aaf691674cf37abe5ae1021fa22228f8504163fa70ff2cb270
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- peatio-goldcash (2.6.1)
4
+ peatio-goldcash (2.6.6)
5
5
  activesupport (~> 5.2.3)
6
6
  better-faraday (~> 1.0.5)
7
7
  faraday (~> 0.17)
@@ -2,7 +2,7 @@
2
2
  blockchain_key: gold-mainnet
3
3
  currency_id: gold
4
4
  # Address where deposits will be collected to.
5
- address: 'Qc2BM7gp8mKgJPPxLAadLAHteNQwhFwwuf' # IMPORTANT: Always wrap this value in quotes!
5
+ address: 'GNVfBQ8nnuktSYspWzY3H5SbFhizSzi28F' # IMPORTANT: Always wrap this value in quotes!
6
6
  kind: deposit # Wallet kind (deposit, hot, warm, cold or fee).
7
7
  nsig: 1 # Number of signatures required for performing withdraw.
8
8
  max_balance: 0.0
@@ -17,7 +17,7 @@
17
17
  blockchain_key: gold-mainnet
18
18
  currency_id: gold
19
19
  # Address where deposits will be collected to.
20
- address: 'Qc2BM7gp8mKgJPPxLAadLAHteNQwhFwwuf' # IMPORTANT: Always wrap this value in quotes!
20
+ address: 'GNVfBQ8nnuktSYspWzY3H5SbFhizSzi28F' # IMPORTANT: Always wrap this value in quotes!
21
21
  kind: hot # Wallet kind (deposit, hot, warm, cold or fee).
22
22
  nsig: 1 # Number of signatures required for performing withdraw.
23
23
  max_balance: 100.0
@@ -32,7 +32,7 @@
32
32
  blockchain_key: gold-mainnet
33
33
  currency_id: gold
34
34
  # Address where deposits will be collected to.
35
- address: 'Qc2BM7gp8mKgJPPxLAadLAHteNQwhFwwuf' # IMPORTANT: Always wrap this value in quotes!
35
+ address: 'GNVfBQ8nnuktSYspWzY3H5SbFhizSzi28F' # IMPORTANT: Always wrap this value in quotes!
36
36
  kind: warm # Wallet kind (deposit, hot, warm, cold or fee).
37
37
  nsig: 1 # Number of signatures required for performing withdraw.
38
38
  max_balance: 500.0
@@ -3,7 +3,7 @@ require "active_support/core_ext/enumerable"
3
3
  require "peatio"
4
4
 
5
5
  module Peatio
6
- module Litecoin
6
+ module Goldcash
7
7
  require "bigdecimal"
8
8
  require "bigdecimal/util"
9
9
 
@@ -1,4 +1,3 @@
1
-
2
1
  module Peatio
3
2
  module Goldcash
4
3
  # TODO: Processing of unconfirmed transactions from mempool isn't supported now.
@@ -20,7 +19,7 @@ module Peatio
20
19
  def fetch_block!(block_number)
21
20
  block_hash = client.json_rpc(:getblockhash, [block_number])
22
21
 
23
- client.json_rpc(:getblock, [block_hash, 2])
22
+ client.json_rpc(:getblock, [block_hash])
24
23
  .fetch('tx').each_with_object([]) do |tx, txs_array|
25
24
  txs = build_transaction(tx).map do |ntx|
26
25
  Peatio::Transaction.new(ntx.merge(block_number: block_number))
@@ -1,5 +1,5 @@
1
1
  module Peatio
2
2
  module Goldcash
3
- VERSION = "2.6.1".freeze
3
+ VERSION = "2.6.6".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: peatio-goldcash
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.1
4
+ version: 2.6.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Olaf W.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-08-29 00:00:00.000000000 Z
11
+ date: 2020-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport