zold 0.11.20 → 0.11.21

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
  SHA1:
3
- metadata.gz: efb6b0bb197850ce982a7d6b6a34c9ea4f4a1127
4
- data.tar.gz: 6d4529a6d52fe4c192455ef0c8d663fa4d94ce26
3
+ metadata.gz: c624d076515e55c78c91bbe5724d85ec5a7451ae
4
+ data.tar.gz: 2076bb04386f2502fc74984ad6f04ff703a75994
5
5
  SHA512:
6
- metadata.gz: f32874dd30b4b39d77d68a607ca817cc9d12ce1ec5ee4e09300d0b73f35256803c0d585e4a6559f462c09f4c5f47d849365eaf96f2a016d91db045e006e157c3
7
- data.tar.gz: cfe4c933369eb1b00320d7b6f88e3c1e3849bd9fc66e73e453b9cf67e906296b807e61da7aec801563c062181b0b878adbcd6dd83068bcd5d096311dc23eb28b
6
+ metadata.gz: 6d6311dfacdf2772f7050ce8cc6e69c7f6c67164249ef6a5f5e6ea51dc37b0c019d9558da00a7855c3ae70a3048546f4dc2ca60d53dd6ac76a807f54e3ed0fa0
7
+ data.tar.gz: 4d7d7c7e6f5565c6ddfceafb325040a66e567439c16e580f81d96506f7bf6b4f5e7e2dd4e17aa66ff3998d929aad944feaf8fad066af8fb543de18a4c0636a2b
data/README.md CHANGED
@@ -99,10 +99,10 @@ Then, open the page `4.4.4.4:4096` in your browser
99
99
  [IP firewall](https://www.howtogeek.com/177621/the-beginners-guide-to-iptables-the-linux-firewall/)).
100
100
  If you see a simple JSON document, everything is fine.
101
101
  Next, hit <kbd>Ctrl</kbd>+<kbd>c</kbd> and run it again, but instead
102
- of `zold` say `zold-nohup` and add an ampersand (`&`) at the end:
102
+ of `zold` say `zold-nohup`:
103
103
 
104
104
  ```bash
105
- $ zold-nohup node --trace --verbose --invoice=5f96e731e48ae21f --host=4.4.4.4 &
105
+ $ zold-nohup node --trace --verbose --invoice=5f96e731e48ae21f --host=4.4.4.4
106
106
  ```
107
107
 
108
108
  Now you can close console, it will work in the background, saving the
data/heroku.yml CHANGED
@@ -4,7 +4,7 @@ build:
4
4
  config:
5
5
  LC_ALL: UTF-8
6
6
  run:
7
- web: "./bin/zold node --no-colors --verbose --trace
7
+ web: "./bin/zold node --no-colors --trace
8
8
  --bind-port=$PORT --port=80 --host=b1.zold.io --threads=0
9
- --invoice=JKFq17yipfjLtX@0000000000000000 --never-reboot
9
+ --invoice=ML5Ern7m@912ecc24b32dbe74 --never-reboot
10
10
  --bonus-wallet=81c9c25789b03876 --private-key=bonus.key --bonus-amount=1"
@@ -77,6 +77,8 @@ module Zold
77
77
  end
78
78
  s = @scores.pop
79
79
  next unless s.valid?
80
+ next unless s.host == host
81
+ next unless s.port == port
80
82
  next if s.expired?(20)
81
83
  next if s.strength < strength
82
84
  @semaphore.synchronize do
@@ -23,5 +23,5 @@
23
23
  # Copyright:: Copyright (c) 2018 Yegor Bugayenko
24
24
  # License:: MIT
25
25
  module Zold
26
- VERSION = '0.11.20'.freeze
26
+ VERSION = '0.11.21'.freeze
27
27
  end
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.11.20
4
+ version: 0.11.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yegor Bugayenko