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

Was this helpful?

Export as PDF
  1. Tutorials
  2. DECENOMY Wallet

Staking Best Practices

Optimizing the process and overcoming common challenges

PreviousStaking process on a VPSNextBackup Wallet on an external device

Last updated 1 year ago

Was this helpful?

This guide explains how to optimize staking and solve the most common problems.

We open our wallet (in our case SAPP), and let's make sure staking is active.

Staking optimization

When staking, the larger the address balance the more will be earned. However, when we receive a reward, the coins are spent and it is necessary to wait for 600 confirmations to be available again for staking (mature)

It is therefore useful to divide the coins into different inputs through the setstakesplitthreshold command.

Whenever a successful stake is found, the stake amount is split across as many outputs (each with a value higher than the threshold) as possible.

E.g. If the coin stake input + the block stake reward is 30280, and the split threshold is 3400, the corresponding coinstake transaction will have 9 outputs (of 3400 SAPP each).

It is also possible to set the split value from the UI, Settings→Options→Wallet

Another useful command to know is setautocombinethreshold. Periodically the wallet will look for 'dust' in your addresses, and combine them up to the number of coins set in the configuration setting.

The command setautocombinethresholdtrue value will enable a feature that will automatically combine all staking / masternode rewards you receive into one input, up to the amount that you specify with the value.

So, if you want your minimum input size to be 5000 SAPP via the user interface, then you would want to follow the steps below:

  1. Go to 'Settings' from your wallet

  2. Select 'Options'

  3. Choose 'Wallet' from the dropdown menu

  4. Check the 'Autocombine threshold' checkbox to display the input box

  5. Enter a value (e.g. 5000)

  6. Click 'Save' to store changes

Once done, any inputs less than 5000 will be swept into a new input, repetitively until the combined threshold is exceeded.

Once that threshold is exceeded, the grouping begins with another input. Your wallet MUST be unlocked when a reward is received for this to take effect.

Common problems

We can check the staking status in detail with the following command getstakingstatus

Below is an explanation of the result of the command.

  • "staking_status": true|false, (boolean) whether the wallet is staking or not

  • "staking_active": true|false, (boolean) whether the wallet is active or not

  • "staking_enabled": true|false, (boolean) whether staking is enabled/disabled in sapphire.conf

  • "haveconnections": true|false, (boolean) whether network connections are present

  • "mnsync": true|false, (boolean) whether masternode data is synced

  • "walletunlocked": true|false, (boolean) whether the wallet is unlocked

  • "stakeablecoins": n, (numeric) number of stakeable UTXOs

  • "stakingbalance": d, (numeric) SAPP value of the stakeable coins (minus reserve balance, if any)

  • "stakesplitthreshold": d, (numeric) value of the current threshold for stake split

  • "lastattempt_age": n, (numeric) seconds since the last stake attempt

  • "lastattempt_depth": n, (numeric) depth of the block on top of which the last stake attempt was made

  • "lastattempt_hash": xxx, (hex string) hash of the block on top of which the last stake attempt was made

  • "lastattempt_coins": n, (numeric) number of stakeable coins available during the last stake attempt

  • "lastattempt_tries": n, (numeric) number of stakeable coins checked during the last stake attempt

For staking to be active, the first six values must necessarily be "true". Below we explain how to solve the most frequent problems you might encounter.

  • haveconnections: if false, you don't have connections to the coin network. Make sure you have internet access, consider the port being blocked or bad connectivity.

  • walletunlocked: if false, click the lock icon in the top right, select staking only, and enter your passphrase.

  • mnsync: if false, wait 20 minutes. If still false, consider deleting mncache.dat and mnpayments.dat files from the data directory.

  • staking status: if all of the above is True and this is still False, first try, close the wallet for 30 seconds, open and unlock (if encrypted), and wait 5 minutes.

That’s everything you need to know about staking.

▪️