Difference between revisions of "POBH Setup Linux"

From BiblePay Wiki
Jump to: navigation, search
(Added minersleep, Added note that pool mining requires external miner)
m (3. Choose to Solo or Pool Mining)
Line 90: Line 90:
   bbpminer_linux -o stratum+tcp://sunpool.whitewalr.us:3032 -u RECEIVING_ADDRESS -p x -t 2
   bbpminer_linux -o stratum+tcp://sunpool.whitewalr.us:3032 -u RECEIVING_ADDRESS -p x -t 2
TheRouge's Pool: http://leopool.biblepay.org:8080/
  bbpminer_linux -o stratum+tcp://leopool.biblepay.org:3032 -u RECEIVING_ADDRESS -p x -t 2
Line 138: Line 134:
== References ==
== References ==

Revision as of 01:27, 21 January 2020

1. Install Wallet

- Download Binary:

Linux GUI 32 bit: https://biblepay.org/biblepay-qt-evo-i686-pc-linux-gnu.tar.gz (Hash)
Linux GUI 64 bit: https://biblepay.org/biblepay-qt-evo-x86_64-pc-linux-gnu.tar.gz (Hash)

Linux CLI 32 bit: https://biblepay.org/biblepayd-evo-i686-pc-linux-gnu.tar.gz (Hash)
Linux CLI 64 bit: https://biblepay.org/biblepayd-evo-x86_64-pc-linux-gnu.tar.gz (Hash)

Linux ARM 64 bit: https://biblepay.org/biblepayd-evo-arm-linux-gnueabihf.tar.gz (Hash)
Linux Arch 64 bit: https://biblepay.org/biblepayd-evo-aarch64-linux-gnu.tar.gz (Hash)

- Download and unzip

 wget filename
 tar xvfz filename


- Build from Source:


2. Run Wallet


Your GUI program is typically located in: /biblepay-evolution/src/qt


You can also run it in the background (to free up your terminal) if you call it with:

 ./biblepay-qt &

CLI (Daemon)

Your Daemon program is typically located in: /biblepay-evolution/src/

 ./biblepayd -daemon

NOTE: Wait for wallet to sync before starting to solo mine

3. Choose to Solo or Pool Mining

Why use a Pool?
As the network hash rises (as more miners are mining), it can take longer and longer to solve a block, by using the pool, everyone works together with all of their hash power to solve blocks, and the reward gets split between everyone who contributed based on how much they contributed in hash.

With solo mining (not using the pool) it may take weeks to finally solve a block and get a large full block reward, with a pool you can get small frequent rewards

Large Spaced out rewards #Solo_Mining
Small Daily rewards #Pool_Mining

NOTE: Pool mining requires using the external miner

Pool Mining

Create BiblePay Receiving Address

1. Inside Wallet >>> click "File" menu in top left >>> Receiving Addresses >>> New >>> Label: NOMP >>> OK >>> Right Click >>> Copy Address (RECEIVING_ADDRESS)

Install and Run External Miner

1. Download miner: https://github.com/biblepay/cpuminer/blob/master/binaries/bbpminer_linux

2. Enter the below command with your wallet address from above:

 bbpminer_linux -o stratum+tcp://nomp.biblepay.org:3032 -u RECEIVING_ADDRESS -p x -t 2

You are now mining!

3. Change the number of threads to fit your computer, -t 2 only uses 2 threads

4. Choose the pool you want to use: https://miningpoolstats.stream/biblepay

Rob's Pool: http://nomp.biblepay.org/

 bbpminer_linux -o stratum+tcp://nomp.biblepay.org:3032 -u RECEIVING_ADDRESS -p x -t 2

Sun's Pool: http://sunpool.whitewalr.us/

 bbpminer_linux -o stratum+tcp://sunpool.whitewalr.us:3032 -u RECEIVING_ADDRESS -p x -t 2

7. See all External Miner Options (Help)

 bbpminer_linux --help

Solo Mining

1. In BiblePay Wallet >>> click "Tools" menu >>> "Open Wallet Configuration File"

2. Add text lines and Save file


3. Restart BiblePay Wallet to apply the config settings

 gen - turns mining on by default
 genproclimit - sets number of threads to use for mining
 minersleep - by default the miner sleeps for 325ms every 1000ms

Change the number of threads to fit your computer

4. In BiblePay Wallet >> "Tools" >> "Debug Console" >> Type "getmininginfo" >> Enter

Check that your hashps is above 0 to confirm that mining is running


5. Increase or Decrease threads temporarily

Use command "setgenerate true X" to turn on mining and change number of threads
(doesn't change config file, threads reset to value of "genproclimit" after wallet restarts)

 setgenerate true X

6. Help

Use command "help" to see all BiblePay commands