Difference between revisions of "POBH Setup Linux"
m (→2. Run Wallet) |
(Added minersleep, Added note that pool mining requires external miner) |
||
Line 22: | Line 22: | ||
https://github.com/biblepay/biblepay-evolution/blob/master/BuildBiblePay.txt | https://github.com/biblepay/biblepay-evolution/blob/master/BuildBiblePay.txt | ||
+ | |||
== 2. Run Wallet == | == 2. Run Wallet == | ||
Line 44: | Line 45: | ||
NOTE: Wait for wallet to sync before starting to solo mine | NOTE: Wait for wallet to sync before starting to solo mine | ||
+ | |||
== 3. Choose to Solo or Pool Mining == | == 3. Choose to Solo or Pool Mining == | ||
Line 50: | Line 52: | ||
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. | 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 | + | 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]] <br /> | ||
+ | vs <br /> | ||
+ | Small Daily rewards [[#Pool_Mining]] <br /> | ||
+ | |||
+ | NOTE: Pool mining requires using the external miner | ||
Line 58: | Line 66: | ||
1. Inside Wallet >>> click "File" menu in top left >>> Receiving Addresses >>> New >>> Label: NOMP >>> OK >>> Right Click >>> Copy Address (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 ==== | ==== Install and Run External Miner ==== | ||
Line 90: | Line 99: | ||
bbpminer_linux --help | bbpminer_linux --help | ||
+ | |||
=== Solo Mining === | === Solo Mining === | ||
Line 99: | Line 109: | ||
gen=1 | gen=1 | ||
genproclimit=2 | genproclimit=2 | ||
+ | minersleep=0 | ||
3. Restart BiblePay Wallet to apply the config settings | 3. Restart BiblePay Wallet to apply the config settings | ||
Line 105: | Line 116: | ||
gen - turns mining on by default | gen - turns mining on by default | ||
genproclimit - sets number of threads to use for mining | 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 | Change the number of threads to fit your computer | ||
Line 111: | Line 123: | ||
Check that your hashps is above 0 to confirm that mining is running | Check that your hashps is above 0 to confirm that mining is running | ||
+ | |||
+ | getmininginfo | ||
5. Increase or Decrease threads temporarily | 5. Increase or Decrease threads temporarily | ||
− | Use command "setgenerate true X" to change number of threads <br /> | + | Use command "setgenerate true X" to turn on mining and change number of threads <br /> |
(doesn't change config file, threads reset to value of "genproclimit" after wallet restarts) | (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 | Use command "help" to see all BiblePay commands | ||
+ | |||
+ | help | ||
+ | |||
== References == | == References == |
Revision as of 17:49, 6 January 2020
Contents
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
Large Spaced out rewards #Solo_Mining
vs
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
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 minersleep=0
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 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
getmininginfo
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
help
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