zold 0.30.0 → 0.31.0

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: e2f4aa48c3e7a6c2978aac585620c18f33b30d61bd3093b52d6df87bf961c809
4
- data.tar.gz: 90d8e9d897b031debe7f6c6a2c1b0f89167097c9592aaaba67bf3b0c3062bcc2
3
+ metadata.gz: eaf97f12668652e8dea6097810416c2440e331366963239e3f2a2610bda97cef
4
+ data.tar.gz: 771ed9e0c1457455b88ea7d9acfbfb5f7bd42682839080ba19a302e89378a682
5
5
  SHA512:
6
- metadata.gz: dd6bc7450fa42aa01dc64a50f4b7f8bfc0e3751e6c4579a96ef2d67df2510219731313452321307ef79ac88bbddb415ae63975acf5f760f07512ac05f63b02b4
7
- data.tar.gz: 5ddff5a8a97bedc4cbdf80772dae27903e47ee7f48ab0ee778e388bddcf2e7d792f36a6ad32decf08a6f7bbf8104744ff9a3760d6659ed3a4dd6f700b1beb27f
6
+ metadata.gz: e39d881c991fe021ecee054683f598b93cda07cb968c999699ddb61d9ec0d56848ce7e345d914e466065533f541eb60335bfe9d43c115c5d3809d9b5e565911c
7
+ data.tar.gz: cbe18090d252ee05c8aa16d0445fff773d1479086e187649593bc268f70de328e2dba6f7c4eed40ee974adf68c062dd50e1f08a9cec456d870fa066a00c3866d
@@ -78,6 +78,9 @@ Available options:"
78
78
  o.integer '--tolerate-quorum',
79
79
  'The minimum number of nodes required for a successful fetch (default: 4)',
80
80
  default: 4
81
+ o.bool '--ignore-score-weakness',
82
+ 'Don\'t complain when their score is too weak (when paying taxes)',
83
+ default: false
81
84
  o.bool '--dont-pay-taxes',
82
85
  'Don\'t pay taxes even if the wallet is in debt',
83
86
  default: false
@@ -128,8 +131,14 @@ Available options:"
128
131
  return unless debt
129
132
  require_relative 'taxes'
130
133
  Taxes.new(wallets: @wallets, remotes: @remotes, log: @log).run(
131
- ['taxes', 'pay', "--private-key=#{Shellwords.escape(opts['private-key'])}"] +
132
- [id.to_s, "--keygap=#{Shellwords.escape(opts['keygap'])}"]
134
+ [
135
+ 'taxes',
136
+ 'pay',
137
+ "--private-key=#{Shellwords.escape(opts['private-key'])}",
138
+ opts['ignore-score-weakness'] ? '--ignore-score-weakness' : '',
139
+ id.to_s,
140
+ "--keygap=#{Shellwords.escape(opts['keygap'])}"
141
+ ]
133
142
  )
134
143
  end
135
144
 
data/lib/zold/version.rb CHANGED
@@ -25,7 +25,7 @@
25
25
  # Copyright:: Copyright (c) 2018 Yegor Bugayenko
26
26
  # License:: MIT
27
27
  module Zold
28
- VERSION = '0.30.0'
28
+ VERSION = '0.31.0'
29
29
  PROTOCOL = 2
30
30
  REPO = 'zold-io/zold'
31
31
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zold
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.30.0
4
+ version: 0.31.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yegor Bugayenko
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-25 00:00:00.000000000 Z
11
+ date: 2022-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: backtrace
@@ -823,7 +823,7 @@ licenses:
823
823
  - MIT
824
824
  metadata: {}
825
825
  post_install_message: |-
826
- Thanks for installing Zold 0.30.0!
826
+ Thanks for installing Zold 0.31.0!
827
827
  Study our White Paper: https://papers.zold.io/wp.pdf
828
828
  Read our blog posts: https://blog.zold.io
829
829
  Try ZLD online wallet at: https://wts.zold.io