Dhive Docs
  • Welcome to Dhive
  • Dhive L1
  • Dhive EVM "CLI"
    • Client Configuration Guide
    • Using Dhive with Docker
    • Running a Single Node Local Network
  • Loyalty Program
    • Tokenization of loyalty Program
  • Redeemable NFTs
  • Onchain Reviews
  • Dhive Bridging
  • Dhive Amm
    • Overview
    • Get Started
    • Create A Wallet
    • Get DVI 20 Tokens
    • Token Swaps
  • Liquidity Pools
  • Add/Remove Liquidity
  • Contracts
  • Dhive rNFT Marketplace
    • Overveiw
  • Tokenize Your Business
  • List Product "rNFT"
  • Buy rNFT
  • Redeem rNFT
  • Cashback Mechanism
  • Contracts
  • Post A Reveiw
  • For Validators
    • Overview
    • Run a Validator
    • Configuration
    • Disk Usage Optimization
    • State Sync
    • Mempool
  • Tokenomics
    • Overview
    • DFuel Tokenomics
    • Dhive Validator Token Tokenomics
  • Others
    • Dhive Roadmap
Powered by GitBook
On this page

Was this helpful?

  1. For Validators

Configuration

Server Timezone

Ensure that your server's timezone is set to UTC. To check your current timezone configuration, execute the following command:

timedatectl

Warning 🚨 IMPORTANT: Configuring a different timezone may result in a LastResultsHash mismatch error, which can cause your node to become non-operational.


Block Time

The timeout-commit parameter in the node configuration determines the waiting period after committing a block before starting the next height. This delay allows additional pre-commits to be received, even if the required +2/3 threshold has already been met. The default value is set to "3s".

Note: Starting from version 6, this setting is managed automatically by the server during node initialization. Validators must verify their local node configurations to optimize the network for approximately 4-second block times.

Configuration File: ~/.dhived/config/config.toml

#######################################################
###         Consensus Configuration Options         ###
#######################################################
[consensus]

# Duration to wait after committing a block before starting the next height.
# Allows additional pre-commits to be received.
timeout_commit = "3s"

Peers

In the ~/.dhived/config/config.toml file, you can configure your peers.

Refer to the Add Persistent Peers section in the documentation for automated setup. The persistent_peers field should be a comma-separated list of peers. Example format (do not copy directly):

persistent_peers = "5576b0160761fe81ccdf88e06031a01bc8643d51@195.201.108.97:24656,13e850d14610f966de38fc2f925f6dc35c7f4bf4@176.9.60.27:26656"

Sharing Your Peer

To retrieve and share your node ID, use the following command:

dhived tendermint show-node-id

Example output:

ac29d21d0a6885465048a4481d16c12f59b2e58b

Peer Format: node-id@ip:port

Example:

ac29d21d0a6885465048a4481d16c12f59b2e58b@143.198.224.124:26656

Healthy Peers

If your node relies only on a seed node or has a low number of persistent peers, increase the following parameters in config.toml to improve connectivity:

# Maximum number of inbound peers
max_num_inbound_peers = 120

# Maximum number of outbound peers (excluding persistent peers)
max_num_outbound_peers = 60

EIP-155 Replay Protection

The EIP-155 replay protection is globally enabled within the EVM module parameters. If this feature is disabled as a global requirement, node operators can enable support for unprotected transactions by modifying the relevant setting in the node configuration file:

Configuration File: $HOME/.dhived/config/config.toml

# Allows unprotected (non EIP-155 signed) transactions via the node's RPC when the global parameter is disabled.
allow-unprotected-txs = true  # Default is false

Ensure proper configuration to maintain network security and integrity.

PreviousRun a ValidatorNextDisk Usage Optimization

Last updated 3 months ago

Was this helpful?