Difference between revisions of "POBH Setup Linux"

From BiblePay Wiki
Jump to: navigation, search
(Install and Run External Miner)
m (2. Run Wallet)
Line 27: Line 27:
 
=== GUI ===
 
=== GUI ===
  
Your GUI program will be located in: /biblepay-evolution/src/qt
+
Your GUI program is typically located in: /biblepay-evolution/src/qt
  
 
   ./biblepay-qt
 
   ./biblepay-qt
Line 38: Line 38:
 
=== CLI (Daemon) ===
 
=== CLI (Daemon) ===
  
  cd /biblepay-evolution/src/
+
Your Daemon program is typically located in: /biblepay-evolution/src/
 +
 
 
   ./biblepayd -daemon
 
   ./biblepayd -daemon
  

Revision as of 17:44, 6 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

or

- Build from Source:

https://github.com/biblepay/biblepay-evolution/blob/master/BuildBiblePay.txt

2. Run Wallet

GUI

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

 ./biblepay-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 every ~30 minutes


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

TheRouge's Pool: http://leopool.biblepay.org:8080/

 bbpminer_linux -o stratum+tcp://leopool.biblepay.org: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

 gen=1
 genproclimit=2

3. Restart BiblePay Wallet to apply the config settings

 Notes:
 gen - turns mining on by default
 genproclimit - sets number of threads to use for mining

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 change number of threads
(doesn't change config file, threads reset to value of "genproclimit" after wallet restarts)

Use command "help" to see all BiblePay commands

References

https://www.reddit.com/r/BiblePay/comments/6ummuj/how_to_mine_biblepay_on_linux/

https://whitewalr.us/2019/biblepay-nomp-pool-mining.html

https://whitewalr.us/2019/update-biblepay-daemon-ubuntu-script.html