RandomX IntegrationWelcome to the Biblepay-RandomX Integration Testing thread.
In this thread we will be testing:
Dash 0.14.0.5 changes (these occurred between Nov 2019 and Jan 2020). These include:
https://github.com/biblepay/biblepay-evolution/commit/34851a046392e169fcfa90a0bbcd7a01e1096090 which are ddos and chainlocks enhancements.
Test BiblePay Core RandomX hashes, RandomX solo mining, RX multithread solo mining.
Test xmrig->bbpcore mining against bbpcore using RX.
Test xmrig dual-hash mining.
Test bbp->nomp pool mining.
Stress test biblepay; verify RAM utilization and reliability in running for days.
Test BBP against sancs; regression test sanctuary abilities.
Verify how many BBP memory footprints can fit on a VM.
Starting Version: 1.5.0.2+
(Please ensure your version is greater than this, otherwise your testnet branch will not sync. We are at block ____28050_____________ as of February 9th, 2020).
BlockHash 28189:
c6fd*****
Testnet Download Links: Ready:
Windows 64-bit:
https://biblepay.org/biblepayevo64develop.exe Linux PC 64bits Daemon:
https://biblepay.org/biblepayd-evo-testnet-x86_64-pc-linux-gnu.tar.gz Linux 64 bits QT:
https://biblepay.org/biblepay-qt-evo-testnet-x86_64-pc-linux-gnu.tar.gz MacOS QT:
https://biblepay.org/biblepaycore-evo-testnet.dmg Linux 64 bits II (QT/biblepayd/biblepay-cli) zip:
https://biblepay.org/bbp-lin-develop-64.zipNot ready:
(Unknown state, probably wont run due to memory constraints in the future)
Linux ARM64 daemon:
https://biblepay.org/biblepayd-evo-testnet-aarch64-linux-gnu.tar.gzTo self compile:
https://github.com/biblepay/biblepay-evolution/blob/develop/BuildBiblePay.txt** Note above: The instructions have changed, see the changes for randomx. **
The ETA for MainNet for RandomX is April 30th, 2020.
CONFIGURING FOR TESTNET:Create a biblepaytest.conf file with the following contents:
testnet=1
debug=1
Place the file in ~/.biblepayevolution
Start testnet by typing:./biblepay-qt -conf=biblepaytest.conf
(Note the blocks and chainstate will sync into the ./biblepayevolution/testnet3 folder.
NOTE: This version will also work side-by-side our production nodes,
so, you also have the option if you are short on machines, to run TestNet side by side a prod node!
To run a TestNet Sanctuary:
https://forum.biblepay.org/index.php?topic=391.msg5968#msg5968How to create a deterministic sanc from scratch:
https://docs.dash.org/en/stable/masternodes/dip3-upgrade.html__________________________________________________________________________________________________________________________________________________________________________________________
POOLS for TESTNET (RandomX):
http://rxtest.biblepay.orgInstructions to pool mine:
Launch xmrig.exe or xmrig with these args:
xmrig-bbp-win64.exe -o rxtest.biblepay.org:3008 -u your_biblepay_testnet_address -p your_monero_prod_address --threads nproc_count
Where your bbp receive address for testnet receives Biblepay rewards, and your monero prod address receives prod rewards.
___________________________________________________________________________________________________________________________________________________________________________________________
XMRIG - The dual-hash miner for Biblepay + XMR:
To download Xmrig - binaries are here:
linux-64-bit :
https://github.com/biblepay/xmrig/raw/master/binaries/xmrig-bbp-linux64windows-64-bit:
https://github.com/biblepay/xmrig/raw/master/binaries/bbprig.zip(Extract the zip file to a folder on your machine, such as c:\mining\). Run the miner from a batch file in that subdirectory (this allows the miner to use the dependencies).
To build your own xmrig:
https://github.com/biblepay/xmrigHow to mine:
xmrig-bbp-win64.exe -o rxtest.biblepay.org:3008 -u your_biblepay_testnet_address -p your_monero_prod_address --threads nproc_count
Where your bbp receive address for testnet receives Biblepay rewards, and your monero prod address receives prod rewards.
___________________________________________________________________________________________________________________________________________________________________________________________
How to get a monero production wallet, without running the full monero client (How to get an XMR address to mine to):
Since it is not allowed to mine to SX, we need to go with the next best option.
I'm sure other SPV wallets exist, but I'm currently using this one:
https://mymonero.com/Just install it, then create a wallet. Then use that address for your mining reward address.
NOTE: The XMR side of the pool has a complicated payment strategy that we will explain asap. For now know that XMR is held until the balance gets to 1xmr, but we will explain how to lower the threshhold etc.
The BiblePay payment side works the same as usual: After the mined block matures in the pool, all the BBP is dispersed automatically.
____________________________________________________________________________________________________________________________________________________________________________________________
What is so special about XMR+BBP dual-hash mining? What entices me as an XMR miner to mine BiblePay+XMR?- You get double the hashrate. If you mined at 5,000 HPS with XMR, you will mine at 10,000 HPS with BBP+XMR. This translates into a potential profit of almost double (minus the 10% we give to orphan-charity).
- If you generate 1 XMR per month with XMR mining alone, you stand to generate .90 XMR + 80,000 BBP for the same amount of work (the amount of BBP is speculative, based on current rates).
How does this work, why am I earning double what I earn in XMR alone?The way it works is when you mine XMR alone, the solution can only go to one pool because you are solving a blockheader based on the current height and time and nonce for Monero.
However, BiblePay, with RX integrated can also be solved *at the same time*. How? Every randomx hash is checked against our current height and difficulty, giving you one chance to win a biblepay block for every XMR hash.
Why is biblepay interested in integrating wtih XMR?We are interested because we want more miners, because miners give us more PR. And we want to help more orphans. Theoretically, the more XMR miners that dual-hash-mine, the more of our 10% tithe goes to orphan-charity. That is a win-win for us, XMR, and the orphans!
How are the payments allocated for the work I spend mining?
For every 100,000 hashes, 90,000 go toward your personal account and 10,000 toward our orphan-charity XMR address (IE we tithe 10% to orphan charity, dispersed in XMR liquidations to our charity partners). Out of the 90,000 that go toward your personal account, every single hash has an equal chance at winning a BBP block. On the biblepay side, we pay out 100% of the earnings to your personal BBP address (we keep no overhead, unless a pool charges a small bit of overhead, TBD). On the orphan-charity side that we spend from our collected revenue for our foundation, our liquidated XMR is guaranteed to go 100% to our voted charity (with no overhead kept by us). We only partner with charities who are 75%+ efficient, such as compassion.com, Cameroon-one, Kairos, etc (therefore the maximum passes through to the children in need. You can also see our orphan collage at
https://accountability.biblepay.org).
__________________________________________________________________________________________________________________________________________________________________________________________________
Hashrate comparison chart, supplied by earlzmoade, showing a 200% increase in hashrates between xmrig plain vanilla and xmrig dual mode:
https://wiki.biblepay.org/RandomX_Hashing_Speed_Comparison