Connecting to mainnet
You can connect to mainnet using two different ways. Method 1 is the default method of connecting by downloading all blocks from the start. Method 2 works by downloading a pre-created snapshot and downloading recent blocks after the snapshot.
Method 1
-
Open the appropriate shell window.
-
Run the following command to open firewall port. Make sure that the commands succeed.
If you are connecting from a cloud computer (such as AWS), you will need to additionally open the 30303 port under security rules, to allow incoming connections from 0.0.0.0/0.
If you are connecting from a home computer, you may need to additionally open the firewall port 30303 in your router.Windowsnetsh advfirewall firewall add rule name="TCP Port 30303" dir=in action=allow protocol=TCP localport=30303
1. Open System Preferences.
2. Click on Security & Privacy.
3. Click the Firewall tab.
4. Click the lock icon to unlock the firewall settings.
5. Click the Add (+) button.
6. Enter port 30303 in the Port field.
7. Enter "blockchain" in the Application field.
8. Click the Add button.
9. Click the Start button to enable the firewall.Note that in case you are SSH'd into this computer, you might get logged out when you run these commands. In this case, you will need to SSH again and re-run the applicable steps before this step.
The next command to open port 22 is required only if you are SSH'd into the computer. If you do not open this port but enable firewall in the next command, then you might get permanently get locked out of the machine. But if you are logged in locally, do not run this command.sudo ufw allow 30303/tcp
Run the following command to enable firewall.sudo ufw allow 22/tcp
sudo ufw enable
-
Create a folder named dp.
-
Change to the folder dp.
-
Download the updated CLI (command line interface) wallet by running the following command:
Windowscurl https://github.com/quantumcoinproject/quantum-coin-go/releases/download/v2.0.57/dp-release-windows-v2.0.57.zip -o dp-release-windows-v2.0.57.zip
curl -Lo dp-release-mac-v2.0.57.tar.gz https://github.com/quantumcoinproject/quantum-coin-go/releases/download/v2.0.57/dp-release-mac-v2.0.57.tar.gz
curl -Lo dp-release-ubuntu-v2.0.57.tar.gz https://github.com/quantumcoinproject/quantum-coin-go/releases/download/v2.0.57/dp-release-ubuntu-v2.0.57.tar.gz
-
Extract the contents of the downloaded zip file to a folder.
-
This step is specific to Windows.
WindowsClose the Powershell window. Open a command prompt instead and change to the following folder.cd c:\dp
-
This step is specific to Mac and Linux. Set the environment variable to the required library path. Remember that if you open a new Terminal window anytime, you will need to run this command again, to set the environment variable. You might want to add this environment variable to your shell profile.
-
This command is just required the first time and you do not have to run it each time. Run the following command to configure the software to connect to the Quantum Coin blockchain. Do not run it more than once. Ensure that the command succeeds and no errors or warnings are reported.
-
Run the following command to connect to the mainnet. You may additionally have to add exclusion in your anti-virus software, if the software shows a prompt. If successful, you should see your node connecting to the blockchain and blocks getting created.
-
To stop the blockchain node client, do not close the window or logout or shutdown directly. Instead press CTRL+C.
Vision
The Vision of Quantum Coin.
Quantum Resistance
Quantum Resistance in the Quantum Coin blockchain.
Smart Contracts
Smart Contract support in the Quantum Coin blockchain.
Consensus
Proof of Stake consensus.
Data Availability
Data Availability, long term and short term.
Blockchain Allocation
Bitcoin + Ethereum + Dogecoin + DogeP multi-fork.
Dynamic TPS
Dynamic Transactions Per Second model.
Github
Source code, documentation are maintained in Github.
QCIPs
Quantum Coin Improvement Proposals