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 +4 -4
- data/lib/zold/commands/pay.rb +11 -2
- data/lib/zold/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: eaf97f12668652e8dea6097810416c2440e331366963239e3f2a2610bda97cef
|
4
|
+
data.tar.gz: 771ed9e0c1457455b88ea7d9acfbfb5f7bd42682839080ba19a302e89378a682
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e39d881c991fe021ecee054683f598b93cda07cb968c999699ddb61d9ec0d56848ce7e345d914e466065533f541eb60335bfe9d43c115c5d3809d9b5e565911c
|
7
|
+
data.tar.gz: cbe18090d252ee05c8aa16d0445fff773d1479086e187649593bc268f70de328e2dba6f7c4eed40ee974adf68c062dd50e1f08a9cec456d870fa066a00c3866d
|
data/lib/zold/commands/pay.rb
CHANGED
@@ -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
|
-
[
|
132
|
-
|
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
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.
|
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-
|
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.
|
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
|