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 all 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
20 changes: 4 additions & 16 deletions src/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,20 +75,8 @@ Depending on mining device you do run, you may have to adjust `tproxy-config-loc

#### Run Template Provider

Clone template provider repository:
Download a release from Sjors' fork of Bitcoin Core from https://github.com/Sjors/bitcoin/releases

```bash
git clone https://github.com/Sjors/bitcoin.git
cd bitcoin
git checkout sv2
```
Next, compile the template provider:

```bash
make clean
./autogen.sh && ./configure
make -j 10
```
Edit the `bitcoin.conf` file by adding:
```bash
testnet=1
Expand All @@ -99,7 +87,7 @@ rpcpassword=password
Run the Template provider:

```bash
./src/bitcoind -sv2 -sv2port=8442 -debug=sv2
./bitcoin-sv2-tp-0.1.2/bin/bitcoind -sv2 -sv2port=8442 -debug=sv2
```
Optional paremeters:

Expand All @@ -111,7 +99,7 @@ There are optional parameters which can be used to better manage the Template Pr
For example:

```bash
./src/bitcoind -sv2 -sv2port=8442 -sv2interval=20 -sv2feedelta=1000 -debug=sv2 -loglevel=sv2:trace
./bitcoin-sv2-tp-0.1.2/bin/bitcoind -sv2 -sv2port=8442 -sv2interval=20 -sv2feedelta=1000 -debug=sv2 -loglevel=sv2:trace
```
This way new templates are constructed every 20 seconds (taking the most profitable txs from the mempool) and they are sent downstream if new fees collected are more than 1000 sats.

Expand Down Expand Up @@ -206,4 +194,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