zold 0.13.39 → 0.13.40
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -0
- data/lib/zold/commands/node.rb +7 -2
- data/lib/zold/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 578bc522cfcaed922a3440d80d38f95a69af7977
|
4
|
+
data.tar.gz: 2e23c53f4812f19e33d0c4120c79c1361b2f9c9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 661e61e5f36b391b0c1815a3fa9032aacb8f52ab173b71e079bbc011e89b8abc7a38b9223b57ecbd30d517abd34ea6621c5faa7cbb4ae8ffbf9bf6ac7fc9b6d1
|
7
|
+
data.tar.gz: 75d126c26de193a5b7e3646db1f9922602be31536acfeab6e46f24f869e4d398041bb340d0c541148c602478988f2d08dde9e433ccbc8ed02bb1902f3444df4b
|
data/README.md
CHANGED
@@ -109,6 +109,12 @@ $ zold node --nohup --invoice=5f96e731e48ae21f
|
|
109
109
|
Now you can close the console;
|
110
110
|
the software will work in the background, saving the output logs to `zold.log`.
|
111
111
|
The software will update itself automatically to new versions.
|
112
|
+
The software will never stop, even if it crashes internally with any error.
|
113
|
+
In order to terminate it forcefully, do:
|
114
|
+
|
115
|
+
```bash
|
116
|
+
$ killall -9 zold
|
117
|
+
```
|
112
118
|
|
113
119
|
Grateful users of the system will pay "taxes" to your wallet
|
114
120
|
for the maintenance of their wallets, and the system will occasionally
|
data/lib/zold/commands/node.rb
CHANGED
@@ -157,8 +157,13 @@ module Zold
|
|
157
157
|
Front.set(:reboot, !opts['never-reboot'])
|
158
158
|
invoice = opts[:invoice]
|
159
159
|
unless invoice.include?('@')
|
160
|
-
|
161
|
-
|
160
|
+
if @wallets.find(Id.new(invoice)).exists?
|
161
|
+
@log.info("Wallet #{invoice} already exists locally, won't pull")
|
162
|
+
else
|
163
|
+
@log.info("The wallet #{invoice} is not available locally, will pull now...")
|
164
|
+
require_relative 'pull'
|
165
|
+
Pull.new(wallets: @wallets, remotes: @remotes, copies: @copies, log: @log).run(['pull', invoice])
|
166
|
+
end
|
162
167
|
require_relative 'invoice'
|
163
168
|
invoice = Invoice.new(wallets: @wallets, log: @log).run(['invoice', invoice])
|
164
169
|
end
|
data/lib/zold/version.rb
CHANGED