From 2869a05f9a3328f7bc32324cb0bc6dce0a71249c Mon Sep 17 00:00:00 2001 From: Leo Chen Date: Thu, 20 Jan 2022 22:36:30 -0800 Subject: [PATCH] [config] add harmony.conf for pstn add a sample harmony.conf file to support explorer nodes on PSTN Signed-off-by: Leo Chen --- rosetta/infra/harmony-pstn.conf | 97 +++++++++++++++++++++++++++++++++ 1 file changed, 97 insertions(+) create mode 100644 rosetta/infra/harmony-pstn.conf diff --git a/rosetta/infra/harmony-pstn.conf b/rosetta/infra/harmony-pstn.conf new file mode 100644 index 000000000..7d78c7012 --- /dev/null +++ b/rosetta/infra/harmony-pstn.conf @@ -0,0 +1,97 @@ +Version = "2.5.0" + +[BLSKeys] + KMSConfigFile = "" + KMSConfigSrcType = "shared" + KMSEnabled = false + KeyDir = "./.hmy/blskeys" + KeyFiles = [] + MaxKeys = 10 + PassEnabled = true + PassFile = "" + PassSrcType = "auto" + SavePassphrase = false + +[DNSSync] + Client = true + LegacySyncing = false + Port = 6000 + Server = true + ServerPort = 6000 + Zone = "ps.hmny.io" + +[General] + DataDir = "/data" + IsArchival = true + IsBackup = false + IsBeaconArchival = true + IsOffline = false + NoStaking = true + NodeType = "explorer" + ShardID = 0 + +[Consensus] + MinPeers = 2 + +[HTTP] + AuthPort = 9501 + Enabled = true + IP = "0.0.0.0" + Port = 9500 + RosettaEnabled = true + RosettaPort = 9700 + +[Log] + FileName = "harmony.log" + Folder = "./latest" + RotateCount = 0 + RotateMaxAge = 0 + RotateSize = 100 + Verbosity = 3 + + [Log.VerbosePrints] + Config = true + +[Network] + BootNodes = ["/dnsaddr/bootstrap.ps.hmny.io"] + NetworkType = "partner" + +[P2P] + DiscConcurrency = 0 + IP = "0.0.0.0" + KeyFile = "./.hmykey" + MaxConnsPerIP = 10 + Port = 9000 + +[Pprof] + Enabled = false + Folder = "./profiles" + ListenAddr = "127.0.0.1:6060" + ProfileDebugValues = [0] + ProfileIntervals = [600] + ProfileNames = [] + +[RPCOpt] + DebugEnabled = false + RateLimterEnabled = true + RequestsPerSecond = 1000 + +[Sync] + Concurrency = 7 + DiscBatch = 8 + DiscHardLowCap = 6 + DiscHighCap = 128 + DiscSoftLowCap = 8 + Downloader = false + Enabled = false + InitStreams = 8 + MinPeers = 2 + +[TxPool] + BlacklistFile = "./.hmy/blacklist.txt" + +[WS] + AuthPort = 9801 + Enabled = true + IP = "0.0.0.0" + Port = 9800