diff options
Diffstat (limited to 'grin-server.toml')
-rw-r--r-- | grin-server.toml | 30 |
1 files changed, 19 insertions, 11 deletions
diff --git a/grin-server.toml b/grin-server.toml index 812f3489c5c0..4f685d9fedcd 100644 --- a/grin-server.toml +++ b/grin-server.toml @@ -9,6 +9,8 @@ # -[user home]/.grin # +config_file_version = 2 + ######################################### ### SERVER CONFIGURATION ### ######################################### @@ -40,10 +42,18 @@ foreign_api_secret_path = ".foreign_api_secret" #parameters used for mining as well as wallet output coinbase maturity. Can be: #AutomatedTesting - For CI builds and instant blockchain creation #UserTesting - For regular user testing (cuckoo 16) -#Floonet - For the long term floonet test network +#Testnet - For the long term test network #Mainnet - For mainnet chain_type = "Mainnet" +#The Future Time Limit (FTL) is a limit on how far into the future, +#relative to a node's local time, the timestamp on a new block can be, +#in order for the block to be accepted. +#At Hard Fork 4, this was reduced from 12 minutes down to 5 minutes, +#so as to limit possible timestamp manipulation on the new +#wtema difficulty adjustment algorithm +future_time_limit = 300 + #the chain validation mode, defines how often (if at all) we #want to run a full chain validation. Can be: #"EveryBlock" - run full chain validation when processing each block (except during sync) @@ -81,6 +91,7 @@ host = "0.0.0.0" #The port on which to listen. port = 3414 +#All seeds/peers can be either IP address or DNS names. Port number must always be specified #how to seed this server, can be None, List or DNSSeed seeding_type = "DNSSeed" @@ -112,23 +123,20 @@ seeding_type = "DNSSeed" #amount of incoming connections temporarily allowed to exceed peer_max_inbound_count #peer_listener_buffer_count = 8 -# 15 = Bit flags for FULL_NODE -#This structure needs to be changed internally, to make it more configurable - # A preferred dandelion_peer, mainly used for testing dandelion # dandelion_peer = "10.0.0.1:13144" -[server.p2p_config.capabilities] -bits = 15 - - ######################################### ### MEMPOOL CONFIGURATION ### ######################################### [server.pool_config] #base fee that's accepted into the pool -accept_fee_base = 1000000 +accept_fee_base = 500000 + +#reorg cache retention period in minute. +#the reorg cache repopulates local mempool in a reorg scenario. +reorg_cache_period = 30 #maximum number of transactions allowed in the pool max_pool_size = 50000 @@ -219,10 +227,10 @@ timeout = 10 log_to_stdout = true #log level for stdout: Error, Warning, Info, Debug, Trace -stdout_log_level = "Warning" +stdout_log_level = "Info" #whether to log to a file -log_to_file = true +log_to_file = false #log level for file: Error, Warning, Info, Debug, Trace file_log_level = "Info" |