Vince Chain Documentation
  • Vince Chain x Users
    • Getting Started
      • What is Vince Chain?
      • Vince Chain dApps
      • Vince Chain Features and Offerings.
    • Connecting Wallet
      • Blithe Wallet
        • Install Blithe Wallet
        • Set up Blithe Wallet account
        • Secure Blithe Wallet.
      • Metamask
        • Install Metamask
        • Set up Metamask account
        • Adding Vince Chain account manually on Metamask
        • Importing wallet on Metamask
        • Resetting Account​
        • Downloading Account State​
        • Registering for Vince Chain Domains​
      • Keplr
      • Ledger
      • Transferring Tokens on Vince Chain
      • View Balances
      • Vince Chain Onramp
      • Sending and receiving assets on Vince Chain
      • Deposit and Withdraw Assets across Chains​
    • Using dApp on Vince Chain
      • Queries and Transactions​
      • Vince Chain dApps
        • Staking​
        • Governance​
    • Frequently Asked Questions (FAQs)
  • 2. Vince Chain x Developers
    • Overview
      • Why build on Vince Chain?
      • Building dApps on Vince Chain
      • Contributing to Vince Chain Ecosystem
    • Building DApps & Smart Contracts
      • Deploying EVM Smart Contracts on Vince Chain
      • What are EVM Smart Contracts?
      • Smart Contracts & Solidity​
      • Smart Contracts & EVM Extensions
      • Smart Contracts & Oracles
      • Smart Contracts & JSON-RPC
      • Vince Explorers
      • Contract Verification
      • Post-project features on Vince Chain
    • Building a dApp front-end
      • Indexers
      • Wallet Integration
    • Building a dApp backend
    • Testnet
      • Security Audits
    • Mainnet
      • Deployment
      • Token distribution
      • Revenue
      • Vince Chain Community
    • Developer Kit
      • Block Explorers
      • Oracles
        • Oracle features
        • How do oracles work?
        • Vince Chain oracles
        • DIA
        • SEDA Network
        • Adrastia
      • Vince Client Integrations
        • Ethereum Client Integrations​
      • Contract Verification
      • Tools x Plugins x IDE
      • Indexers
        • Covalent: Indexer
    • Tools
      • Vince Chain Explorers
      • Oracles
      • Contract Verification
      • Tools & Plugins
      • Indexers
      • Vince Chain Client Integrations
    • API
      • Networks
      • Vince Clients
      • Ethereum JSON-RPC
      • Cosmos gRPC and REST Routes
      • Tendermint RPC
      • Snapshots & Archive Nodes
    • Frequently Asked Questions
  • 3. Vince Chain Protocols
    • Technical Architecture
      • Cosmos SDK
      • What is CometBFT?
      • Is Vince Chain compatible with EVM?
      • Contributing to Vince Chain
    • Vince Chain CLI
      • Configuration
      • Working with Docker
      • Single Node
      • Multi Node
      • CLI Commands
    • Concepts
      • Accounts
      • Vince Chain Accounts
        • Addresses and Public Keys
        • Address conversion
        • Key output
      • Querying an Account
        • Cosmos gRPC and REST
        • JSON-RPC
      • Chain ID
      • Vince Chain’s Identifiers
      • The Chain ID
      • Vince Chain ID Structure/Format
      • Encoding
        • Ethereum’s Recursive-Length Prefix (RLP) Encoding
        • Cosmos SDK Encoding
      • IBC Relayers
        • IBC layers
        • Restore & Manage Keys
      • Restore & Manage Keys
      • Keyring
        • Operating Systems (OS) Backends
        • File
        • Password Store
        • KDE Wallet Manager​
      • Transactions
        • Ethereum transactions
        • Cosmos Transactions
        • Vince Chain Transaction
      • Tokens
        • Overview
        • Vince Chain (VCE)
        • Ethereum (ETH)
        • Cosmos (ATOM)
      • Gas and Fees
        • What is Gas?
        • Why transaction fees are important.
        • Calculating Network Gas
        • Are Gas also fees? —What’s the relationship?
    • Modules
    • Module Accounts
    • Bugs
    • IBC Channels
    • Security
    • Metrics
    • Frequently Asked Questions
  • 4. Technical Documentation
    • Quick Start
    • Vince Tokenomics
    • Staking/Delegation
    • Set Up Validators
    • Keys and Wallets
    • JSON RPC & WebSockets
    • Node Requirements
    • Vince Chain Validators
      • Disk Space Optimization
      • Rewards Management
      • Validator Concepts
      • FAQ
    • Vince Chain Governance
    • Grants & Bounties
    • Resources
Powered by GitBook
On this page
  • Pruning
  • Logging
  • State-sync snapshots
  • Indexing
  1. 4. Technical Documentation
  2. Vince Chain Validators

Disk Space Optimization

Optimize disk space to boost network output

Blockchains tend to grow in adoption over time. The increase in blockchain usage could significantly affect its output, such as block speed and transaction amount. However, optimizing disk space could help to significantly reduce the cost of maintaining disk usage.

A good way to start this process is to configure the disk space. However, know that these changes could take effect when the disk space is in use.

Pruning

Usually, the 500th and last 100 states are stored on the disk. In the long run, this could consume a lot of disk space.

You can optimize this with the following configuration:

pruning = "custom" pruning-keep-recent = "100" pruning-keep-every = "0" pruning-interval = "10"

You might be moved to configure pruning-keep-recent = "0" , but keep in mind that this could corrupt the database, especially if the vinced is purged in the process. Hence, we recommend keeping the last few states.

Logging

By default, logs are set to info, and over time, produce more logs. The default log level might be good initially. But while syncing, you can lower the log level to warn (or error).

On config.toml, set the log_level = "warn"

Don't forget to configure your log rotation as well.

State-sync snapshots

Vince Chain disables this by default. You may still sync it with the following commands.

On app.toml set snapshot-interval = 0

You could sync a new node in minutes if the state-sync is already enabled and functioning properly. However, this node does not come with a transaction and block history.

Indexing

Indexing is optional, especially if you do not need to query transactions from the specific node.

On config.toml set indexer = "null"

On an already synced node, you will have to delete the collected index manually. You can find the index in the database directory with the title data/tx_index.db/.

PreviousVince Chain ValidatorsNextRewards Management

Last updated 2 years ago