Core Qt 3DCoin Wallet and blocks: How to solve block sync, stuck, split chain problems.


  • Global Moderator

    Sometimes after wallet software updates or after a network protocol update, it may happen that the wallet on your computer can not synchronize with the latest blocks. To check the current number of blocks, I remind you that it is always useful to consult the explorer at the address you already know: https://3dcstats.net

    If you even doubt that a split of the chain may have occurred (it can happen also in the best blockchains like ours!) the commands for the verification are as follows (check the hash of the current block).
    In the debug console of the QT 3DCoin Core wallet in your pc (Menu: Tools - Debug console) use this command:

    getbestblockhash
    

    In the browser address bar past this line:

    https://3dcstats.net/insight-api/status?q=getBestBlockHash

    Compare the two strings obtained from the two commands (debug console and browser) obviously must be the same (try again several times, maybe in the meantime the block has updated, but if you try a couple of times in a few moments and the result is always different then there is something wrong).

    This above is usually the best way to know in one go if you are in sync with the last block and if you are on the right chain (the hash of the block must be the same obviously both in the wallet and in the explorer as said).

    Generally after software updates it is always advisable to do a "fresh / clean wallet install (also with wallet backup restore)" as explained in the guide in the link below:
    https://3dctalk.net/topic/1137/core-qt-3dcoin-wallet-how-to-make-a-clean-fresh-install-also-with-backup-of-your-wallet

    Even if those who do a "fresh / clean wallet install (also with wallet backup restore)" should not have subsequent problems of synchronization, in the event that the wallet even after a clean / fresh installation can not synchronize the blocks the first important thing to check is ⚠your Internet connection and your pc firewall⚠ (especially after a software update it is likely that you need to authorize the new wallet in the firewall, so check Windows firewall or any other firewall that may block the wallet connection to Internet) and the second important thing is adding some active nodes as the examples of listed below that is add all the lines below in your 3dcoin.conf file (always in the 3DCoin files directory, you can open the 3dcoin.conf file with the simple Windows notepad or with the more complete and effective Notepad++) and please check again also your firewall of course.

    This is an example of some lines to add to the file 3dcoin.conf (always go to the end of the line after each line... a line for each line...):

    addnode=207.180.246.171
    addnode=95.217.47.245
    addnode=81.25.9.35
    addnode=81.25.10.236
    addnode=81.25.7.180
    addnode=80.211.79.77
    addnode=185.204.3.137
    addnode=54.39.249.33
    addnode=81.25.13.75
    addnode=149.56.86.67
    addnode=81.25.11.50
    addnode=185.255.132.250
    addnode=185.255.132.215
    addnode=81.25.3.164
    addnode=94.177.241.43
    addnode=51.38.74.232
    addnode=81.25.13.127
    addnode=217.61.98.22
    addnode=142.44.203.38
    addnode=80.211.37.89
    

    This list above is just an example of active nodes created on 17 Nov. 2019, here you can find the explanation of the method for finding active nodes
    https://telegra.ph/3DCoin-addnodes-08-05

    If not even with the firewall properly configured and some active nodes added you can synchronize your wallet, even after a clean installation, then try this solution below even more drastic.
    Delete all the files below from the main 3dcoin folder (warning! ⚠ do not delete your wallet.dat file and moreover if you have masternodes do not delete your masternode.conf file! ⚠ )

    banlist.dat
    mncache.dat
    mnpayments.dat
    netfulfilled.dat
    debug.log
    

    If you want, you can also delete all the blockchain, deleting the two subfolders below:

    chainstate
    blocks
    

    ⚠ All the operations above must be done with wallet closed of course! ⚠

    Then reopen the wallet and wait for the sync.

    We have seen that with this method even the most stubborn wallets can finally unblock the synchronization. Also a very strong stucked wallet unstucks at the end with this method!
    If even so, do not synchronize the blocks then you are doing something wrong in following this guide or your connection has problems (check your connection well and check your firewall again!).
    ⚠ Be careful to perform all operations with caution and always have many backups of your wallet.dat and your masternode.conf ⚠ in other storage media other than your computer (for example in external drives such as external usb sticks and hard drives, never trust a single stick or a single hard-disk of course!). Naturally, you must also always keep your password to unlock the wallet with due care! ⚠ Be careful if you do not want to lose your 3DCoins! ⚠

    Once again I remind you that we also have a guide for a "fresh / clean wallet install (also with wallet backup restore)" at the link below:
    https://3dctalk.net/topic/1137/core-qt-3dcoin-wallet-how-to-make-a-clean-fresh-install-also-with-backup-of-your-wallet

    👷 For further assistance... 👷

    You can open a specific topic in this official 3DCoinTalk! Forum 🗨👥 in the specific section for 👨‍💻 technical support 👩‍💻

    https://3dctalk.net/category/16/technical-support

    Or you can use our official 🗨👥 Telegram group

    https://t.me/Project_Districts

    Enjoy and have fun with 3DCoin! 😎 😉


  • Global Moderator

    Previous post updated with the new addnode/peers list:

    https://telegra.ph/3DCoin-addnodes-08-05


  • Global Moderator

    First post updated with an example list of the most recent addnodes and also this link below has been updated and now it contains the method to easily find active addnodes:

    https://telegra.ph/3DCoin-addnodes-08-05