github.com/platonnetwork/platon-go@v0.7.6/cases/deploy/template/config_template.json (about) 1 { 2 "eth":{ 3 "SyncMode": "full", 4 "NetworkId": 1, 5 "LightServ": 0, 6 "LightPeers": 100, 7 "SkipBcVersionCheck":false, 8 "DatabaseHandles": 0, 9 "DatabaseCache": 768, 10 "NoPruning": false, 11 "TrieCache": 256, 12 "TrieTimeout": 3600000000000, 13 "BodyCacheLimit": 256, 14 "BlockCacheLimit": 256, 15 "MaxFutureBlocks": 256, 16 "BadBlockLimit": 10, 17 "TriesInMemory": 128, 18 "BlockChainVersion": 3, 19 "SoftResponseLimit": 2097152, 20 "EstHeaderRlpSize": 500, 21 "DefaultTxsCacheSize":20, 22 "DefaultBroadcastInterval":100000000, 23 "MinerGasPrice": 100000000, 24 "MinerRecommit": 3000000000, 25 "MinerNoverify": false, 26 "MiningLogAtDepth": 7, 27 "TxChanSize": 4096, 28 "ChainHeadChanSize": 10, 29 "ChainSideChanSize": 10, 30 "ResultQueueSize": 10, 31 "ResubmitAdjustChanSize": 10, 32 "MinRecommitInterval": 1000000, 33 "MaxRecommitInterval": 15000000, 34 "IntervalAdjustRatio": 0.1, 35 "IntervalAdjustBias": 200000000.0, 36 "StaleThreshold": 7, 37 "DefaultCommitRatio": 0.95, 38 "TxPool":{ 39 "NoLocals": false, 40 "Journal": "transactions.rlp", 41 "Rejournal": 3600000000000, 42 "PriceLimit": 1, 43 "PriceBump": 10, 44 "AccountSlots": 16, 45 "GlobalSlots": 4096, 46 "AccountQueue": 64, 47 "GlobalQueue": 1024, 48 "GlobalTxCount": 3000, 49 "Lifetime": 10800000000000, 50 "ChainHeadChanSize": 250, 51 "TxExtBufferSize": 4096 52 }, 53 "GPO":{ 54 "Blocks": 20, 55 "Percentile": 60, 56 "Default": 100000000, 57 "MaxPrice": 500000000000 58 }, 59 "EnablePreimageRecording":false, 60 "DocRoot": "", 61 "EWASMInterpreter": "", 62 "EVMInterpreter": "", 63 "Debug": false 64 }, 65 "shh":{ 66 "MaxMessageSize": 1048576, 67 "MinimumAcceptedPOW": 0.2, 68 "RestrictConnectionBetweenLightClients": true 69 }, 70 "node":{ 71 "Name": "platon", 72 "UserIdent": "", 73 "Version": "0.7.0-stable", 74 "DataDir": "", 75 "KeyStoreDir": "", 76 "UseLightweightKDF":false, 77 "NoUSB": false, 78 "IPCPath": "platon.ipc", 79 "HTTPHost": "", 80 "HTTPPort": 6789, 81 "HTTPCors": [], 82 "HTTPModules": ["net","web3","eth","ssh"], 83 "HTTPVirtualHosts": ["localhost"], 84 "HTTPTimeouts": { 85 "ReadTimeout": 30000000000, 86 "WriteTimeout": 30000000000, 87 "IdleTimeout": 120000000000 88 }, 89 "WSHost": "", 90 "WSPort": 6790, 91 "WSOrigins": [], 92 "WSExposeAll": false, 93 "WSModules": ["net","web3","eth","ssh"], 94 "P2P":{ 95 "MaxPeers": 50, 96 "MaxConsensusPeers": 75, 97 "MaxPendingPeers":0, 98 "DialRatio": 0, 99 "NoDiscovery": false, 100 "DiscoveryV5": false, 101 "Name": "", 102 "BootstrapNodes":[], 103 "BootstrapNodesV5":[], 104 "StaticNodes":[], 105 "TrustedNodes":[], 106 "NodeDatabase": "", 107 "ListenAddr": "16789", 108 "NoDial": false, 109 "EnableMsgEvents": false 110 } 111 }, 112 "Ethstats":{ 113 "URL":"" 114 }, 115 "Dashboard":{ 116 "Host": "localhost", 117 "Port": 8080, 118 "Refresh": 5000000000 119 } 120 }