Pando Project
About UsWallet & ExplorerGitHub
  • Pandoproject -Documentations
  • Whitepaper
  • Pando Network Testament
  • Blockchain Integration
    • Mainnet v4.0-2.0 Code
    • Mainnet v1.0 Code
    • Command Line Tool
    • Connect to the Mainnet
      • Using Pre-Compiled Binaries
      • Using Code
    • Connect to the Testnet
      • Using Pre-Compiled Binaries
      • Using code
    • Launch a Local Private Net
    • Configuration
  • APIs
    • Tx Api
    • RPC API Reference
    • Pando CLI APIs
    • PNC 20 Protocol
    • PNC721- Protocol
  • Pando Nodes
    • Zytatron Node
    • Metatron Node
    • Rametron Overview
    • Mainnet Metatron Setup
    • To Migrate Metatron/Zytatron
  • Rametron Overview
    • Rametron Lite
    • Rametron Mobile
    • Rametron Pro
    • Rametron Ent
  • How to Stake ?
    • Stake for RT Lite
    • Stake for RT Mobile
    • Stake for RTPro
    • Stake for RTE
  • Wallet Application
    • Web Wallet Overview
    • Connect to Metamask
    • Wallet Code- Frontend
    • Wallet Code- Backend
    • Wallet API Reference
    • Explorer Overview
  • Explorer Application
    • Explorer Node- Frontend
    • Explorer Code- Backend
    • Explorer API Reference
  • Connect to Metamask
  • Smart Contracts
    • Ethereum RPC API support
    • Deployment fees
    • PNC-20
      • PNC20 Code
      • PNC20 API Reference
    • PNC-721
      • PNC721 Code
      • PNC721 API Reference
  • Docker Implementation
  • Videos
  • Frequently Asked Question
    • Upgrade Chain to Mainnet 4.0
    • To Resolve The Block Height Issue
  • Developer Community Engagement
Powered by GitBook
On this page
  1. Blockchain Integration

Configuration

Configuration for the Pando Blockchain Node

The Pando blockchain node can be launched with flag --config=path/to/config/folder as shown in the command below

pando start --config=../privatenet/node

If the --config parameter is not specified, the pando node uses ~/.pando as the default config folder. The pando node also uses the config directory to store other important data. For example, it stores its encrypted key under the key folder, and the blockchain data under the db folder.

The configuration for the pando node is defined by file config.yaml under path/to/config/folder. Below are the options

storage:
  statePruningEnabled: true # true by default, when set to true the node will perform state pruning which can effectively reduce the disk space consumption
  statePruningInterval: 16 # the purning interval (in terms of blocks) which control the frequency the pruning procedure is activated
  statePruningRetainedBlocks: 2048 # the number of blocks prior to the latest finalized block whose corresponding state tree need to be retained
p2p:
  address: 127.0.0.1 # the binding address of the RPC service, 0.0.0.0 by default
  port: 12000 # the p2p port that the Theta node listens on, 50001 by default
  seeds: 34.206.132.245:12000,34.231.31.51:12000,44.207.134.197:12000 # the IP addresses of the seed nodes
rpc:
  enabled: true # false by default, when set to true the RPC API is enabled
  port: 16888 # the PRC API port, 16888 by default
  maxConnections: 100 # max number of simultaneous RPC connections, 200 by default
log:
  levels: "*:info" # level of logs to be printed, "*:debug" by default
PreviousLaunch a Local Private NetNextAPIs

Last updated 1 year ago