Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix nproc #204

Merged
merged 5 commits into from
Apr 18, 2024
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions src/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,16 @@ git clone https://github.com/Sjors/bitcoin.git
cd bitcoin
git checkout sv2
```
Next, compile the template provider:
Next, compile the template provider. You can accelerate the process by using multiple cores with the `-j` option.

```bash
make clean
./autogen.sh && ./configure
make -j 10
./autogen.sh && ./configure
make -j "$(nproc)" # on linux
# or
make -j "$(sysctl -n hw.physicalcpu)" # on macOS
```

Edit the `bitcoin.conf` file by adding:
```bash
testnet=1
Expand Down Expand Up @@ -206,4 +209,4 @@ In case a public key is required, as explained in the config files, you can star

## Community support

If you get any issue during testing phase, feel free to [join our community Discord](https://discord.gg/fsEW23wFYs) to get community support or file a [bug report on GitHub](https://github.com/stratum-mining/stratum/issues/new).
If you get any issue during testing phase, feel free to [join our community Discord](https://discord.gg/fsEW23wFYs) to get community support or file a [bug report on GitHub](https://github.com/stratum-mining/stratum/issues/new).
Loading