zold 0.13.0 → 0.13.1
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/README.md +45 -3
- data/lib/zold/commands/taxes.rb +1 -1
- 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: 46e01de25675dbc6bec24662ef39de37cb5028aa
|
4
|
+
data.tar.gz: 5bbd7fa013ed6fc43f38e6c0ebae00e02514b202
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82d392d2cb1cadb74181bd80411c1b36ebf4fb2b2419291be150aef932d7efd7e511223768faffb4b87610a8f1e6a8d1a7ae8dee693509f75e6007cd79e2dc18
|
7
|
+
data.tar.gz: 3b1dd2c77ceb4f7652d26ddb38e03d8c2d5e88283b34411369b5220b69e9342c388fb74f494689456238e95df1b9ecc49f2bc388fe64e875ecf83d2850dd9b58
|
data/README.md
CHANGED
@@ -100,16 +100,16 @@ If you see a simple JSON document, everything is fine.
|
|
100
100
|
Next, hit <kbd>Ctrl</kbd>+<kbd>c</kbd> and run it again, but with `--nohup`:
|
101
101
|
|
102
102
|
```bash
|
103
|
-
$ zold node --nohup --invoice=5f96e731e48ae21f
|
103
|
+
$ zold node --nohup --invoice=5f96e731e48ae21f
|
104
104
|
```
|
105
105
|
|
106
106
|
Now you can close the console;
|
107
|
-
the
|
107
|
+
the software will work in the background, saving the output logs to `zold.log`.
|
108
108
|
The software will update itself automatically to new versions.
|
109
109
|
|
110
110
|
Grateful users of the system will pay "taxes" to your wallet
|
111
111
|
for the maintenance of their wallets, and the system will occasionally
|
112
|
-
send you
|
112
|
+
send you bonuses for keeping the node online (approximately 1 ZLD per day).
|
113
113
|
|
114
114
|
## Frequently Asked Questions
|
115
115
|
|
@@ -173,8 +173,50 @@ The higher the score, the better.
|
|
173
173
|
* `minutes` is the age of the score, in minutes since the moment
|
174
174
|
it was created.
|
175
175
|
|
176
|
+
`pid` is the Unix process ID of the running software.
|
177
|
+
|
178
|
+
`cpus` is the amount of CPUs detected on the server.
|
179
|
+
|
180
|
+
`threads` is the amount of running threads vs. the total amount of
|
181
|
+
threads in the Ruby process. If the second number is over 100 there
|
182
|
+
is definitely something wrong with the software.
|
183
|
+
|
184
|
+
`wallets` is the total number of wallets managed by the server.
|
185
|
+
The bigger the number, the better. When the server starts, the number
|
186
|
+
is small and it starts growing when other nodes are pushing wallets
|
187
|
+
to your node.
|
188
|
+
|
189
|
+
`remotes` is the total number of remote nodes your node is aware of.
|
190
|
+
The bigger the number, the more "connected" your node is to the
|
191
|
+
network. You can see the full list of nodes at `/remotes` URL of your node.
|
192
|
+
|
193
|
+
`farm` is the score calculating software.
|
194
|
+
|
195
|
+
* `threads` is the amount of threads this software module is using.
|
196
|
+
This number is configured via the `--threads` command line option.
|
197
|
+
The bigger the number, the more intensively the software will use
|
198
|
+
your CPUs. It is recommended to make this number equal to the
|
199
|
+
number of CPUs available.
|
200
|
+
|
201
|
+
* `scores` is ... something not important to you.
|
202
|
+
|
203
|
+
* `best` is ... something not important to you.
|
204
|
+
|
205
|
+
`entrance` is the place where all new wallets arive and get merged and pushed
|
206
|
+
further. The health of this point is critical to the entire node. Some
|
207
|
+
numbers it includes must be watched carefully.
|
208
|
+
|
209
|
+
* `semaphores` is the amount of locks the server maintain, one per wallet.
|
210
|
+
The number may be large (>100), if the node has processed a lot of wallets
|
211
|
+
recently. If it's larger [than 1024](https://github.com/zold-io/zold/issues/199),
|
212
|
+
it's a good reason to worry.
|
213
|
+
|
176
214
|
To be continued...
|
177
215
|
|
216
|
+
`date` is the current date and time on the server.
|
217
|
+
|
218
|
+
`hours_alive` is the time in hours your server is alive without a reboot.
|
219
|
+
|
178
220
|
## How to Contribute
|
179
221
|
|
180
222
|
It is a Ruby command line gem. First, install
|
data/lib/zold/commands/taxes.rb
CHANGED
@@ -65,7 +65,7 @@ Available options:"
|
|
65
65
|
when 'show'
|
66
66
|
raise 'At least one wallet ID is required' unless mine[1]
|
67
67
|
mine[1..-1].each do |id|
|
68
|
-
show(@wallets.find(Id.new(id), opts)
|
68
|
+
show(@wallets.find(Id.new(id)), opts)
|
69
69
|
end
|
70
70
|
when 'debt'
|
71
71
|
raise 'At least one wallet ID is required' unless mine[1]
|
data/lib/zold/version.rb
CHANGED