peatio-goldcash 2.6.3 → 2.6.4

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: ccf178dfbb39f9bc904c1e4a86b70e342c81668dec4567faf1beb5b197894ae1
4
- data.tar.gz: c17348b5c035dd9d6d6859cff79432a5c9c08f44666dbc1b80204f444ffe0636
3
+ metadata.gz: bdd7d06a900e2a60f1068f6a3c218b0e9d00d9d15e03c9095c3fdda8d1d01285
4
+ data.tar.gz: 9600a042dd679483e35dcd6dc4dd75fcae0e7ab0d48340106ed1a775f21f5eab
5
5
  SHA512:
6
- metadata.gz: ef1264d59d0bba4025fbbf0db9408694dbd1341658b3420534c2383914db683115777663aaf087c086eab5137a18d9f37c9ac3ff46b9b778327973420544059f
7
- data.tar.gz: 5f789d945a219caa53e8c04d1e84c96171a644ad2ed4845e5dd4757e36e4b302b057b475dd458b1d745426f5bda13f3a390846231b9c5d87a320cdc1d91e3fce
6
+ metadata.gz: 22adc1e5395d4e30dce871ae99105d6928b46dbb995dc166399d339e7d0c998af6f5f6dfac66c9750deaeb78cb6bdedaa9dc131ec8136e1f9170ac64c1b37529
7
+ data.tar.gz: 262e63da1e84bddf48b8f9ac948466833b52968ca55b68e99fda409167a40b08eca9db700f81f603376b93e7b596c23a242db1078facee6987682e1e6e4ece42
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- peatio-goldcash (2.6.1)
4
+ peatio-goldcash (2.6.4)
5
5
  activesupport (~> 5.2.3)
6
6
  better-faraday (~> 1.0.5)
7
7
  faraday (~> 0.17)
@@ -2,7 +2,7 @@
2
2
  name: Goldcash Mainnet
3
3
  client: goldcash # API client name.
4
4
  server: http://user:password@127.0.0.1:8345 # Public Goldcash node endpoint.
5
- height: 11576 # Initial block number from which sync will be started.
5
+ height: 10000 # Initial block number from which sync will be started.
6
6
  min_confirmations: 6 # Minimal confirmations needed for withdraw and deposit confirmation.
7
7
  explorer:
8
8
  address: http://goldcashblockexplorer.co.uk/address/#{address}
@@ -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
@@ -26,13 +26,13 @@ module Peatio
26
26
  end
27
27
  txs_array.append(*txs)
28
28
  end.yield_self { |txs_array| Peatio::Block.new(block_number, txs_array) }
29
- rescue Client::Error => e
29
+ rescue Goldcash::Client::Error => e
30
30
  raise Peatio::Blockchain::ClientError, e
31
31
  end
32
32
 
33
33
  def latest_block_number
34
34
  client.json_rpc(:getblockcount)
35
- rescue Client::Error => e
35
+ rescue Goldcash::Client::Error => e
36
36
  raise Peatio::Blockchain::ClientError, e
37
37
  end
38
38
 
@@ -46,7 +46,7 @@ module Peatio
46
46
  end
47
47
 
48
48
  address_with_balance[1].to_d
49
- rescue Client::Error => e
49
+ rescue Goldcash::Client::Error => e
50
50
  raise Peatio::Blockchain::ClientError, e
51
51
  end
52
52
 
@@ -73,7 +73,7 @@ module Peatio
73
73
  end
74
74
 
75
75
  def client
76
- @client ||= Client.new(settings_fetch(:server))
76
+ @client ||= Goldcash::Client.new(settings_fetch(:server))
77
77
  end
78
78
 
79
79
  def settings_fetch(key)
@@ -1,5 +1,5 @@
1
1
  module Peatio
2
2
  module Goldcash
3
- VERSION = "2.6.3".freeze
3
+ VERSION = "2.6.4".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.3
4
+ version: 2.6.4
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