zold 0.13.0 → 0.13.1

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: ffdbb36409b1e6f281cd278d24e6c2994da8a845
4
- data.tar.gz: 10e1b526ef486b2e77d225b42c8fc550c0f5c9fc
3
+ metadata.gz: 46e01de25675dbc6bec24662ef39de37cb5028aa
4
+ data.tar.gz: 5bbd7fa013ed6fc43f38e6c0ebae00e02514b202
5
5
  SHA512:
6
- metadata.gz: b20bde3757d4b7de91f9e1b911449b25d83b67dd23c721a92271f602f23fa41073f6ab2444e9a0895a8efe315372278b944480ace64e0714787c9b3912cc6a49
7
- data.tar.gz: 264d6b0401753c5b4460b035a88d2cdaab06d58b9f5c5e9976f5a8c27c25142a4a556708b70945c80176c20040795e1af1f5ad8a05bda14b83e0dc8bea1274f6
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 > log.txt
103
+ $ zold node --nohup --invoice=5f96e731e48ae21f
104
104
  ```
105
105
 
106
106
  Now you can close the console;
107
- the softsare will work in the background, saving the output logs to `log.txt`.
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 rewards for keeping the node online (approximately 1 ZLD per day).
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
@@ -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
@@ -23,5 +23,5 @@
23
23
  # Copyright:: Copyright (c) 2018 Yegor Bugayenko
24
24
  # License:: MIT
25
25
  module Zold
26
- VERSION = '0.13.0'.freeze
26
+ VERSION = '0.13.1'.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.13.0
4
+ version: 0.13.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yegor Bugayenko