Distributed Computing 2
Proof of Distributed Computing (PODC)
How to Get Started with Distributed-Computing:
Testnet Block Explorer:
PART A. Install BOINC
1. Install BOINC
sudo apt-get install boinc-manager boinc-client
2. Create Account
2a. Click Activites >>> Search >>> Boinc >>> Run Boinc >>> Add Rosetta - Use existing User
2a. Create Rosetta account with email, password, username
boinccmd --create_account https://boinc.bakerlab.org/rosetta/ EMAIL PWD USRNAME
3. Check that it worked
boinccmd --lookup_account https://boinc.bakerlab.org/rosetta/ EMAIL PWD
It will return your account key that you need to copy
4. Attach machine to Rosetta account to begin working on solving computations
boinccmd --project_attach https://boinc.bakerlab.org/rosetta/ ACCOUNT_KEY
1. Click on Recommended Version - Install the 9.56 Meg version without VirtualBox (VirtualBox is not necessary)
NOTE: If you do not trust the software, you may install the Virtual Box Version - this runs the miner in a sandbox, but it runs slower and is a 98 meg download
After Installing BOINC Manager will open
2. "Choose a project" >>> Select "[email protected]"
3. "Identify your account" >>> Create an account
4. Set your Nickname
5. "Find a team" >>> Search for "BiblePay"
PART B. Setup BiblePay in Testnet
1. Install BiblePay
2. Run BiblePay in Testnet
Add testnet=1 in biblepay.conf or can run exe/daemon with -testnet flag
NOTE: Testnet has its own folder inside of /.biblepaycore named /testnet3
3. Check if Synced on Correct chain:
getblockhash 2576 8ad6d439bb77b4304a34497183a16e4256f39dce990906f97e89ac602dcd4a50
4. (OPTIONAL) Clean out old chain data
Bottom of post - "CLEAN UP AFTER INSTALL"
PART C. Link BOINC Account to BiblePay
Go to Distributed Computing page, and type in the rosetta user & password and click associate.
=== Command Line
exec associate rosetta_email_address rosetta_password
Then wait for 6 blocks for confirm to occur.
If everything worked, your CPID will match the one in notepad.
NOTE: "Please wait 24 hours to see yesterdays boinc RAC and magnitude in Biblepay"
How to re-associate my CPID to a new wallet?
This is Only if you lose your wallet or want to move your CPID to a brand new wallet.
Most of the time if you keep your wallet.dat you will never want to do this.
But if lets say you throw away your old PC and move, and buy a new PC,
yet your existing CPID has say 100,000 credits,
and you just want to associate that old CPID with a brand new wallet, Biblepay would say "Already_In_Chain".
To perform this action type:
exec associate rosetta_email rosetta_pass force
This will forcefully kill the old burn transaction and reassociate you.
PART D. (OPTIONAL) Setup Sanctuary (Masternode) in Testnet
500,000 tBBP Collateral/Escrow Required
1. Setup Hot Sanctuary
NOTE: "the Hot sanctuary is all you need in testnet.
We dont need to deal with starting and stopping those from the controller wallet or protecting the funds."
NOTE: "On the hot sanc, all you really have to do is
send the collateral to yourself (the 500,000 even), then add:
In the biblepay.conf, and leave the masternode.conf alone.
(On the testnet sanctuary itself)."
NOTE: If anyone is mining in prod and wants to run testnet side by side your prod masternode, just do this:
./biblepay-qt -testnet -masternode=0 -rpcport=45000
That will allow it to boot side by side without taking your prod node down.
2. Run in QT (GUI) Mode
NOTE: QT (GUI) is needed for PODC SanctuaryQuorum, sanctuaries must execute QT functions to process the Rosetta credits files.
TMIKE: I'm running the sanctuary on a shared vCPU with 0.6GB of ram and using xfce.
Try this (I used vncserver in place of tightvnc): https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-16-04
ROB: Im still using vultr for my sancs, so what I did is installed graphics on the machine (using Mike-Ts similar info post),
then I just VNC in using the inbuilt vnc viewer (they have a link to VNC viewer on each server in the web list).
? ? ?
1) How do I find out how much RAC (recent average credit) my CPID has for Rosetta?
Go to the BOINC manager (on your PC), click on Projects, and on the row with Rosetta, take a look at the RAC field.
That is the number Biblepay uses to calculate your Magnitude in the wallet once per day.
2) How do I view my CPID and magnitude in the wallet?
A. The first way is to click the Distributed Computing tab in the GUI and view the bottom left "CPID" and"Magnitude" values.(This requires 126.96.36.199i+).
B. The second way is to click on the RPC, and type 'exec getboincinfo'