Skip to content

Commit

Permalink
Merge pull request bcoin-org#319 from tuxcanfly/docs-workers
Browse files Browse the repository at this point in the history
Docs: update worker options
  • Loading branch information
chjj authored Oct 18, 2017
2 parents c1144a9 + a1b5cdc commit 4c0f884
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ Will create a datadir of `~/.bcoin_spv`, containing a chain database, wallet dat

- `config`: Points to a custom config file, not in the prefix directory.
- `network`: Which network's chainparams to use for the node (main, testnet, regtest, or segnet4) (default: main).
- `use-workers`: Whether to use a worker process pool for transaction verification (default: true).
- `max-workers`: Number of worker processes to spawn for transaction verification. By default, the worker pool will be sized based on the number of CPUs/cores in the machine.
- `workers`: Whether to use a worker process pool for transaction verification (default: true).
- `workers-size`: Number of worker processes to spawn for transaction verification. By default, the worker pool will be sized based on the number of CPUs/cores in the machine.
- `workers-timeout`: Worker process execution timeout in milliseconds (default: 120000).
- `sigcache-size`: Max number of items in signature cache.

## Node Options
Expand Down Expand Up @@ -94,4 +95,4 @@ Note that certain chain options affect the format and indexing of the chain data

## Sample Config File

See https://github.com/bcoin-org/bcoin/blob/master/etc/sample.conf.
See https://github.com/bcoin-org/bcoin/blob/master/etc/sample.conf.

0 comments on commit 4c0f884

Please sign in to comment.