From 3fa8b40644c6a2ca6f0bc3bb829c909c2e363762 Mon Sep 17 00:00:00 2001 From: Leo Chen Date: Tue, 25 Jan 2022 12:49:16 -0800 Subject: [PATCH] [rosetta] add mainnet config Signed-off-by: Leo Chen --- rosetta/infra/harmony-mainnet.conf | 97 ++++++++++++++++++++++++++++++ 1 file changed, 97 insertions(+) create mode 100644 rosetta/infra/harmony-mainnet.conf diff --git a/rosetta/infra/harmony-mainnet.conf b/rosetta/infra/harmony-mainnet.conf new file mode 100644 index 000000000..f22026775 --- /dev/null +++ b/rosetta/infra/harmony-mainnet.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 = "t.hmny.io" + +[General] + DataDir = "/data" + IsArchival = true + IsBackup = false + IsBeaconArchival = true + IsOffline = false + NoStaking = true + NodeType = "explorer" + ShardID = 0 + +[Consensus] + MinPeers = 5 + +[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.t.hmny.io"] + NetworkType = "mainnet" + +[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 = 5 + +[TxPool] + BlacklistFile = "./.hmy/blacklist.txt" + +[WS] + AuthPort = 9801 + Enabled = true + IP = "0.0.0.0" + Port = 9800