Skip to content

Commit 4b4ea2a

Browse files
committed
Updated Readme: PoW
1 parent 4b167c1 commit 4b4ea2a

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

README.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,9 +228,24 @@ Some have additional short versions.
228228
| --iriPort, -i | API port of your IRI instance. | 14265 |
229229
| --port, -p | Field port to be used | 21310 |
230230
| --silent, -s | Do not print log messages | false |
231-
| --pow, -w | Allow attachToTangle jobs to be passed from the Field server load balancer. It only has effect when disableIRI is false. | false |
231+
| --pow, -w | Allow attachToTangle jobs to be passed from the Field server load balancer. When disableIRI and pow are true, only PoW work will be passed to IRI. | false |
232232
| --customFieldId, -y | If you want Field to generate a custom id, instead of using machine-id. This is required for VPS and servers created from an image, which often have the same machine ID. | false |
233233

234+
### Run PoW jobs only
235+
236+
If you disableIRI and set "pow" to true, your node will only pass attachToTangle jobs t IRI.
237+
The jobs will be sent, even if your IRI is not synchronized, since proof-of-work does not require a
238+
synchronized node.
239+
240+
Sample config:
241+
242+
```
243+
# Disable IRI Jobs
244+
disableIRI = true
245+
# Except attachToTangle proof-of-work
246+
pow = true
247+
```
248+
234249
## Contributing
235250

236251
### Donations

0 commit comments

Comments
 (0)