A few hours ago the network experienced a fork when two competing chains on the Nu network failed to reach consensus. This has caused some of the active Nu clients to proceed down one chain while the rest went another direction. The cause of this fork was that the network could not recover a fork that happened at a block generating a custodian grant. Forked blocks in this case are not accepted by the rest of the network during the chain reorganization because the custodian is considered already elected (because it is in the current chain).
This is not a fatal condition but it is important that we all work together to minimize the danger of transactions being processed on the secondary chain.
The Nu Development team is actively working on a software patch that will allow the network to reconcile situations like this in the future. We do not have an ETA on when the new version of the wallet client will be released but weâre hoping it is within a day or two once the fix has been written and changes have been sufficiently tested.
What Do I Need To Do?
First, youâll need to check to see if you are on the âmainâ blockchain or the âsecondaryâ one. The easiest way to do this is to check to see if you wallet client or Nu daemon process recognizes the hash of the block that caused the fork. You will need to use the debug window (located under the Help option in the applicationâs file menu) in your wallet to verify the current block height. Once youâve opened the dialog, select the Console tab and in the text input type in the following text and then hit ENTER:
getblockhash 407740
If you see this response you ARE on the main blockchain and do not need to do anything else.
bc23d7c56bec2c4b41ca67ff6cf2fbc6bd7fd995686e7f74e5cc675e225abfa0
If you see anything else you ARE NOT on the main blockchain and will need to take additional steps.
A test on a client that was tracking the secondary chain returned db861b0be97a5d64104ac2b991341bd9d05841c1e7ffbc26f7322a851a54beef
instead of the bc23d7c...
string that the main chain responds with.
Additional steps for clients on the SECONDARY blockchain
The most important thing you can do to support the network is to take your client offline. Continuing to propagate the secondary blockchain is not in the best interests of the network because it could mean that people who are synchronizing their clients with the network could be inadvertently directed towards the secondary blockchain.
Once youâve taken your client offline you can do one of two things to get back on the main blockchain:
-
Wait for the updated client to be released with the software fix. Once the fix is in place and youâve installed the new client the network will correctly handle the reorganization and your client should automatically make its way back to the main chain without manual intervention. At the time that this topic was written we do not have an ETA for when the new client will be available other than to say âas soon as possibleâ.
-
Fully re-synchronize the blockchain. This is a manual (and more invasive) fix for the issue, but perfectly safe if you follow the included instructions. The challenge right now is dealing with the potential for re-synching the chain only to find yourself back on the secondary chain because others who had are also on the wrong chain continue to broadcast. This is a time consuming process, unfortunately.
Steps to re-synchronize your blockchain:
- From your clientâs File menu option select Backup wallet. Select a location that youâll easily be able to find your wallet backup and save it there. This ensures you wonât lose anything important (private keys for addresses with your NBT and NSR).
###IMPORTANT!
You will need to do this for BOTH your NSR and NBT wallet. Make sure you switch between wallet views and run the operation twice. If you are using the Nu daemon and have questions about backing up your wallets, please let @Ben, @CoinGame, @sigmike, @pennybreaker, @erasmospunk, or @JordanLee know and weâll help you get it sorted out based on how youâve set up your daemons.
-
Once youâve backed up your wallets, shut down your Nu client completely.
-
You will need to delete the block index files (blkindex.dat, blk000*.dat) in your Nu application directory. There will only be one blkindex.dat file but could be multiple blk0001.dat, blk0002.dat, etc.; youâll need to remove all of them. If you need assistance locating your application directory, please review the Nu Documentation site for instructions for your computerâs operating system.
-
After youâve deleted the files you can restart your client to begin to re-synchronize the blockchain. This is not a fast process and depending on the unique conditions of your internet connection speeds, the number of network nodes you connect to, and the speed of your computerâs processor, it may take over 12 hours. You are not doing anything wrong if it takes a long time, it is just the way that it currently works. Youâll know the synchronization has been successful if you get to the end of the process (green checkmark icon in the lower right corner of the client) and are able to see the correct response from the
getblockhash 407740
console command.
Also, if you could please help us spread the message to other users (especially exchanges or commercial services that use Nu) weâd really appreciate it. Making sure that they are on the correct blockchain is paramount.
Please donât hesitate to ask if you have questions about the process used to correct this issue or about the issue itself. Thank you for your patience while we work to resolve this issue.