zold 0.22.1 → 0.22.2
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/node.rb +1 -1
- data/lib/zold/commands/taxes.rb +5 -2
- data/lib/zold/hands.rb +1 -1
- data/lib/zold/version.rb +1 -1
- data/test/test_zold.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2764494d95c5735d838e532a867436d7d9ce7248818051d961c0be042972901e
|
4
|
+
data.tar.gz: 0c21c31a8b4ca6acdefbad5d5e7d2506806b3886f33a536def034eb4ef371041
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1bc14efbd4e9ac71f4ebf8dbbde7c8b6c109e3de4958b15ef076ed86c22fb1de17c277c79ce8c293ba5c6d71ead62e5f4f9664227d343a0aa2858c9ca7eb07f9
|
7
|
+
data.tar.gz: 0354532534df852f7bdd5eecc650a65274fc64e19b351933e6f78322879359dd1e517a18a7b2e62c343802680f33772c09ab55822768d5dabb66d6a4173966cd
|
data/lib/zold/commands/node.rb
CHANGED
@@ -346,7 +346,7 @@ module Zold
|
|
346
346
|
# Returns exit code
|
347
347
|
def exec(cmd, nohup_log)
|
348
348
|
start = Time.now
|
349
|
-
Open3.popen2e(cmd) do |stdin, stdout, thr|
|
349
|
+
Open3.popen2e({ 'MALLOC_ARENA_MAX' => '2' }, cmd) do |stdin, stdout, thr|
|
350
350
|
nohup_log.print("Started process ##{thr.pid} from process ##{Process.pid}: #{cmd}\n")
|
351
351
|
stdin.close
|
352
352
|
until stdout.eof?
|
data/lib/zold/commands/taxes.rb
CHANGED
@@ -162,8 +162,11 @@ the balance is #{wallet.balance}: #{tax.to_text}")
|
|
162
162
|
@log.debug('Read the White Paper for more details: https://papers.zold.io/wp.pdf')
|
163
163
|
end
|
164
164
|
|
165
|
-
def show(
|
166
|
-
raise '
|
165
|
+
def show(wallet, _)
|
166
|
+
raise 'The wallet is absent' unless wallet.exists?
|
167
|
+
tax = Tax.new(wallet)
|
168
|
+
@log.info(tax.to_text)
|
169
|
+
@log.info('Read the White Paper for more details: https://papers.zold.io/wp.pdf')
|
167
170
|
end
|
168
171
|
|
169
172
|
def top_scores(opts)
|
data/lib/zold/hands.rb
CHANGED
data/lib/zold/version.rb
CHANGED
data/test/test_zold.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zold
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.22.
|
4
|
+
version: 0.22.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yegor Bugayenko
|
@@ -746,7 +746,7 @@ licenses:
|
|
746
746
|
- MIT
|
747
747
|
metadata: {}
|
748
748
|
post_install_message: |-
|
749
|
-
Thanks for installing Zold 0.22.
|
749
|
+
Thanks for installing Zold 0.22.2!
|
750
750
|
Study our White Paper: https://papers.zold.io/wp.pdf
|
751
751
|
Read our blog posts: https://blog.zold.io
|
752
752
|
Try ZLD online wallet at: https://wts.zold.io
|