Skip to content

Commit

Permalink
download Sjors release
Browse files Browse the repository at this point in the history
  • Loading branch information
plebhash committed Apr 15, 2024
1 parent 6aa84bb commit 1048ebe
Showing 1 changed file with 2 additions and 17 deletions.
19 changes: 2 additions & 17 deletions src/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,22 +75,7 @@ Depending on mining device you do run, you may have to adjust `tproxy-config-loc

#### Run Template Provider

Clone template provider repository:

```bash
git clone https://github.com/Sjors/bitcoin.git
cd bitcoin
git checkout sv2
```
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 "$(nproc)" # on linux
# or
make -j "$(sysctl -n hw.physicalcpu)" # on macOS
```
Download a release from Sjors' fork of Bitcoin Core from https://github.com/Sjors/bitcoin/releases

Edit the `bitcoin.conf` file by adding:
```bash
Expand All @@ -114,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

0 comments on commit 1048ebe

Please sign in to comment.