AlveyChain Documents
  • Alveychain Docs
  • Get-Started
    • Alveychain
    • Installation
    • Local Setup
    • Cloud Setup
    • Full Node
    • CLI Commands
    • JSON RPC Commands
    • Performance Reports
  • Configuration
    • Manage private keys
    • Set up Hashicorp Vault
    • Enable Prometheus metrics
  • Working-With-Node
    • Query JSON RPC endpoints
    • Query operator information
    • Backup/restore node instance
  • Consensus
    • Proof of Authority (PoA)
    • Proof of Stake
    • Set up and use Proof of Stake (PoS)
    • Migration from PoA to PoS
  • Additional Features
    • Alveycoin bridge
    • Network stress testing
    • Blockscout
  • Architecture
    • Architecture Overview
    • modules
      • Blockchain
      • Consensus
      • JSON RPC
      • Minimal
      • Networking
      • Other modules
      • Protocol
      • Sealer
      • State
      • Storage
      • TxPool
      • Types
  • Concepts
    • State in Ethereum
  • Community
    • Propose a new feature
    • Report an issue
  • Docs
    • Server Config File
    • how-tos
      • How to set up and use Proof of Stake (PoS)
Powered by GitBook
On this page
  1. Docs

Server Config File

Following is the sample format for configuration file:

{
	"chain_config":<genesis_file_path>, 
	"secrets_config":<secrets_file_path>,
	"data_dir":<data_directory_path>,
	"block_gas_target":<block_gas_limit>,
	"grpc_addr":<grpc_listener_address>,
	"jsonrpc_addr":<json_rpc_listener_address>,
	"telemetry":{
		"prometheus_addr":<prometheus_listener_address>
	},
	"network":{
		"no_discover":<enable/disable_discovery>,
		"libp2p_addr":<libp2p_server_address>,
		"nat_addr":<nat_address>,
		"dns_addr":<dns_address>,
		"max_peers":<maximum_allowded_peers>,
		"max_inbound_peers":<maximum_allowded_inbound_peers>,
		"max_outbound_peers":<maximum_allowded_outbound_peers>
	},
	"txpool":{
		
			"locals":<local_account_addresses>,
			"no_locals":<enable/disable_locals>,
			"price_limit":<minimum_gas_price_limit>,
			"max_slots":<maximum_txpool_slots>
		
	},
	"seal":<enable/disable_block_sealing>, 
	"log_level":<log_level>,
	"dev_mode":<enable/disable_dev_mode>,
	"dev_internal":<dev_notification_interval>,
	"join_addr":<peer_address>
	
}
PreviousReport an issueNexthow-tos

Last updated 2 years ago