From 7a18c405e33621a720c8b3c215b26938385fc018 Mon Sep 17 00:00:00 2001 From: Brannon King Date: Thu, 10 Oct 2019 10:50:02 -0600 Subject: [PATCH] added segwit instructions --- contrib/mining/README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/contrib/mining/README.md b/contrib/mining/README.md index cace968db..1c89cffb1 100644 --- a/contrib/mining/README.md +++ b/contrib/mining/README.md @@ -36,7 +36,7 @@ insert into coins(name, symbol, symbol2, algo, enable, auto_ready, rpcuser, rpcp values('Local LBRY Instance', 'LBC', 'LBC', 'lbry', 1, 1, 'ruser', 'rpswd', '127.0.0.1', 19245, 1, 'utf-8', 0, 1, 0, 0, 0); exit ``` -Use port 19245 for testnet, port 9245 for main. +Use port 19245 for testnet, port 9245 for main. Set usesegwit to 1 after the segwit fork is enabled on December 11, 2019. #### 3. Run the stratum server: ``` docker run --network host -d lbry/yiimp_stratum @@ -47,10 +47,11 @@ docker run --network host -it lbry/yiimp_stratum bash cat config/lbry.conf ./stratum config/lbry ``` +When testing with an ASIC you may need to modify the TCP server address in said lbry.conf file to be an external IP address. #### 4. Connect sgminer to it: ``` sgminer -k lbry -o stratum+tcp://127.0.0.1:3334/ -D -T -O mn824Su1wX7ip8WcNYzXwwWqvBvkeWGRo6:x ``` The username there is the account to receive payments from the pool. The password is unused. Tested with https://github.com/lbryio/sgminer-gm. -You can use whatever miner you prefer. \ No newline at end of file +You can use whatever miner you prefer.