From 1048ebe1f7b66ba0b524862ba909985ad5b65a13 Mon Sep 17 00:00:00 2001 From: plebhash Date: Mon, 15 Apr 2024 14:05:44 -0300 Subject: [PATCH] download Sjors release --- src/getting-started.md | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/src/getting-started.md b/src/getting-started.md index 60b52a9..6eb90d1 100644 --- a/src/getting-started.md +++ b/src/getting-started.md @@ -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 @@ -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.