LogoLogo
  • DECENOMY Documentation
  • Basics
    • ▪️What is a Blockchain?
    • ▪️What is a Masternode?
    • ▪️What is a Spork?
    • ▪️Staying safe on Discord
    • ▪️How to secure your environment
    • ▪️Staking statistics on VaultWatch
  • Tutorials
    • DECENOMY Explorer
      • ▪️Overview
      • ▪️Latest blocks
      • ▪️Masternodes
      • ▪️Network
      • ▪️Search by Block and/or Hash
      • ▪️Search by Tx ID
      • ▪️Search by Address
      • ▪️Explorer API
    • DECENOMY Multinode Script
      • ▪️Environment basis
      • ▪️Script Screen Overview
      • ▪️Menu Structure
      • ▪️Main Menu
      • ▪️Coin Selection
        • Reinstall masternode multinode
        • Masternode multinode management
        • Stats wallet and masternode
        • Wallet management
        • Others
    • DECENOMY Wallet
      • ▪️How to use the DECENOMY wallets
      • ▪️Encrypting a wallet
      • ▪️Extra connections (addnodes)
      • ▪️Fast sync with a Bootstrap
      • ▪️Wallet update
      • ▪️How to Identify and Fix a Fork
      • ▪️Staking process on desktop wallet
      • ▪️Staking process on a VPS
      • ▪️Staking Best Practices
      • ▪️Backup Wallet on an external device
      • ▪️Restoring a backup from an external device
    • DECENOMY Masternodes
      • ▪️Masternode Multinode easy to deploy
      • ▪️Masternode Hosting With Flits Wallet App
      • ▪️Masternode collateral update
      • ▪️Setting Up a Virtual Private Server (VPS)
      • ▪️Using a Terminal Emulator - PuTTy
    • Exchange
      • ▪️How to buy Decenomy coins on Birake Exchange
        • User Account Creation and KYC Verification
        • Deposits and Withdrawals
        • Trade (Buy and Sell)
      • ▪️Birake Exchange Affiliate Program
    • Flits Wallet App
      • ▪️Getting Started with Flits Wallet App
      • ▪️How to Use the Flits Wallet App
      • ▪️How to Recover An Old Wallet Using the Seed Phrase
      • ▪️Adding and Removing a Wallet
      • ▪️Wallet Operations ( Send, Receive, Transaction history)
      • ▪️How to Top up Fee Credits
      • ▪️How to Deploy Masternodes in the Flits Wallet App
      • ▪️Settings Overview
      • ▪️Running Flits Wallet App on Windows and MacOS - Bluestacks
      • ▪️Flits Wallet In-app Support
      • ▪️Using the Flits Extraction Tool
      • ▪️Installing Flits Wallet App APK File on Android
  • Coins
    • ▪️Azzure (AZR)
    • ▪️Beacon (BECN)
    • ▪️Birake (BIR)
    • ▪️Cryptoflow (CFL)
    • ▪️Cryptosaga (SAGA)
    • ▪️Dash Diamond (DASHD)
    • ▪️Eskacoin (ESK)
    • ▪️Flits (FLS)
    • ▪️Jackpot (777)
    • ▪️Kyanite (KYAN)
    • ▪️Mobility Coin (MOBIC)
    • ▪️Monk (MONK)
    • ▪️One World (OWO)
    • ▪️Peony (PNY)
    • ▪️Sapphire (SAPP)
    • ▪️Suvereno (SUV)
    • ▪️Ultra Clear (UCR)
  • Blockchain Development
    • DECENOMY Standard Wallet
    • DECENOMY Testnet tKYAN
      • Compile Your Own tKYAN Binaries
      • Pre Build tKYAN Binaries
    • Improvements
      • Last Paid V2, a deterministic approach
      • Masternode Payment V2, a sequential and fairer distribution
      • Multinode, Multi-Instance Hosting on Masternode Full Nodes
      • Masternode Collateral Window, Mitigating Network Instabilities
      • The Emergence of a Progressive Masternode Collateral System
      • Dynamic Collateral
      • EBF system
      • Dynamic Rewards
    • Commands
Powered by GitBook
On this page
  • What is a Fork?
  • Possible Scenario your Wallet might be Forked
  • Verifying a Wallet Fork
  • Resolving a Fork

Was this helpful?

Export as PDF
  1. Tutorials
  2. DECENOMY Wallet

How to Identify and Fix a Fork

PreviousWallet updateNextStaking process on desktop wallet

Last updated 1 year ago

Was this helpful?

What is a Fork?

A fork in the context of blockchains is when changes are made to the blockchain's protocol which usually results in two separate versions of the blockchain.

Because blockchains are often updated to ensure security and embed new features, there is the need to be on the lookout for instructions on how to update your wallet if it's mandatory.

Failing to respond promptly to upgrades can result in your wallet being associated with the incorrect blockchain.

Possible Scenario your Wallet might be Forked

For example, you might have activated staking for a Decenomy coin, and in a short period, you realize you have received an outrageous amount of staking rewards.

In such an instance, there is a possibility your wallet might have been forked. This means your wallet is on the wrong chain and these rewards earned are useless. Once the issue is resolved, these rewards will not show in your wallet as they aren't real.

Verifying a Wallet Fork

Once you suspect a wallet fork, the following steps will help you to confirm if it's truly a fork. We will use SAPP for demonstration purposes.

  • Open your wallet and go to "SETTINGS", then select "Debug". Next, you choose "Information" from the dropdown menu. We then navigate to the "Blockchain" section on the left side of the screen.

  • The information of interest is: 1. Current number of blocks: 2360341 2. Last block hash: 616851ded4d975e3dc331a0ecf894bd5814a4b27aaf5e46118bd1adf8e8b8b0d

On the SAPP explorer, we compare the "Current number of blocks" and "Last block hash" from the wallet to ensure they match.

If we confirm the block hashes of both the wallet and the explorer are the same, then our wallet is on the right chain. However, if the hashes are different, then it indicates a fork.

NB: In some cases, it is preferable to use previous blocks in our wallet as bases for the comparison. This is because new releases have self-fork management and the explorer takes a while to index. This causes a difference in the hashes when using the most recent block.

To check the hash of a specific block in our wallet, we do this instead:

  • Open your wallet and go to "SETTINGS". Next, we choose 'Debug' and then 'Console"

  • We use the command getblockhash with the block number we want its hash. e.g., getblockhash 2360331

We get a response with the hash as shown in the image below:

We then have to compare the hash to that of the explorer to see if they match

Resolving a Fork

  • Go to "SETTINGS" in your wallet. Select 'Debug' and then 'Wallet Repair'. Scroll down to the end

  • First, we start by selecting the "Rewind blockchain to last week" option

  • If it doesn't resolve the issue, we then proceed with the "Rewind blockchain" option. Hopefully, that should put your wallet on the right chain.

▪️