** UPGRADING YOUR SANCTUARIES TO DETERMINISTIC (DIP3) **
Recently we explained during our getting started with Evolution guide steps that at height 129,150 we would start upgrading our sancs to deterministic.
The goal is to finish this process by the end of July (before our July superblock emits). So we have 28 days to perform this.
This will allow us to emit a superblock entirely from dip3 based sancs (and set us in a position for the next step in August).
Here are two resources we can start with containing instructions to upgrade your sanc from legacy to deterministic:
How to upgrade a legacy Sanc to a deterministic Sanc using the BiblePay upgrade tool (built in the core wallet):
https://forum.biblepay.org/index.php?topic=391.msg5968#msg5968How to create a deterministic sanc from scratch the Dash way:
https://docs.dash.org/en/stable/masternodes/setup.html#option-2-registering-from-dash-core-walletVery important info for you to know:
If you use the BiblePay upgradesanc tool, BiblePay will automatically create a file called deterministic.conf in your Data directory (this is where your masternode.conf file is). We will automatically add a new row to this file every time you upgrade a sanctuary to deterministic. This file will contain your sanctuary name, ip, port, collateral txid, pro-tx txid, bldsrivkey, blspubkey, and all other pertinent tx info on one row.
Note that you should back up this file occasionally, in case you destroy your cold sanctuary (VMSs). This will allow you to retrieve the masternodeblsprivkey, which is required to recreate a deterministic sanctuary! So remember, back up your deterministic.conf along with backing up your wallet.dat. If you create sancs using the Dash method above you will need to manually copy your masternodeblsprivkey over to notepad and create a backup system to back up your notes.
Summarizing the process:
1. We assume you have a sanctuary named 'biblical1'. This sanctuary exists in your masternode.conf file.
2. Type 'exec upgradesanc biblical1 0' into the RPC. If an error is thrown, post here and we will help. Otherwise continue to step 3.
3. Type 'exec upgradesanc biblical1 1' into the RPC. This results in many lines of output with all the keys etc.
4. Edit your remote hosted sanctuary biblepay.conf file (your cold sanc VMS's biblepay.conf file).
5. Add an entry: masternodeblsprivkey=nnnnnn (replace the n's with the blsprivkey which is found in the output of the command. Alternatively you can also get this value from viewing the deterministic.conf file we created in your datadir).
6. Remove the existing 'masternodeprivkey=nnnnn' from the file (or comment it out by putting a # in front of it). Note that this step is optional, as it will no longer be used anyway.
7. Reboot the remote sanctuary.
8. Verify the sanctuaries masternode status is ENABLED.
How do I upgrade many sanctuaries at once:
If you own a massive number of sanctuaries, you can run the upgradesanc command on all of them first, then write a program to loop through your deterministic.conf file on the controller wallet, and for each entry, connect to the remote host (by IP found in the data row), edit the remote cold sanc masternode.conf file, adding the masternodeblsprivkey=nnnn entry in the file. Then rebooting the remote sanc via script.
** Recommendation **
It is recommended that each of us upgrade one today and take a look at the network and verify everything looks fine, then continue with more.
Let's put this off for a few days, until our dip003 state becomes Active (I will post again when we rollover and Ill calculate the height asap).
If anyone in QT has trouble seeing their sanc list in the GUI, please reboot and ensure they are started.