zold 0.24.6 → 0.26.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/zold/commands/routines/reconnect.rb +4 -1
- data/lib/zold/version.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: e21eb76334ee1e9a8e7b80dbc6c43b62ad8381a1ee99e8ac780b937c14d0f418
|
|
4
|
+
data.tar.gz: 7b0a0e5c66a8cfcb7ca34a139be4223b5c42e32d10df6e6a79bc71a116d86d71
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a2a009ad5725c759219f5a94085eefbe82868237db58ccc52d66e6ff488fb5f10df27a48b32f832409d8371242cfe17e7b61b53519f766e97abee7dea784b667
|
|
7
|
+
data.tar.gz: ae6f4c9677dd2367f72582c5e663316755fe7710f44c6af177952a07739c1260ddfbbf644656141f4dac91f990756cfee130a5195f2746768c4cf0ed049816ba
|
|
@@ -47,7 +47,10 @@ module Zold
|
|
|
47
47
|
score = @farm.best[0]
|
|
48
48
|
args << "--ignore-node=#{score.host}:#{score.port}" if score
|
|
49
49
|
cmd.run(args + ['masters']) unless @opts['routine-immediately']
|
|
50
|
-
|
|
50
|
+
all = @remotes.all
|
|
51
|
+
return if @opts['routine-immediately'] && all.empty?
|
|
52
|
+
cmd.run(args + ['select'])
|
|
53
|
+
return if all.count >= Remotes::MAX_NODES / 2 && all.none? { |r| r[:errors] > Remotes::TOLERANCE }
|
|
51
54
|
cmd.run(args + ['update'] + (@opts['never-reboot'] ? [] : ['--reboot']))
|
|
52
55
|
cmd.run(args + ['trim'])
|
|
53
56
|
cmd.run(args + ['select'])
|
data/lib/zold/version.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.
|
|
4
|
+
version: 0.26.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Yegor Bugayenko
|
|
@@ -764,7 +764,7 @@ licenses:
|
|
|
764
764
|
- MIT
|
|
765
765
|
metadata: {}
|
|
766
766
|
post_install_message: |-
|
|
767
|
-
Thanks for installing Zold 0.
|
|
767
|
+
Thanks for installing Zold 0.26.7!
|
|
768
768
|
Study our White Paper: https://papers.zold.io/wp.pdf
|
|
769
769
|
Read our blog posts: https://blog.zold.io
|
|
770
770
|
Try ZLD online wallet at: https://wts.zold.io
|