net { type = mainnet } storage { db.version = 2, db.engine = "LEVELDB", db.directory = "database", index.directory = "index", properties = [] } node.discovery = { enable = true persist = true } # this part of config is used to set backup node for witness service. node.backup { port = 19801 priority = 8 members = [] } node { trustNode = "127.0.0.1:16669" walletExtensionApi = true listen.port = 16666 connection.timeout = 2 tcpNettyWorkThreadNum = 0 udpNettyWorkThreadNum = 1 maxActiveNodes = 300 maxActiveNodesWithSameIp = 100 minParticipationRate = 0 disconnectNumberFactor = 0.4 maxConnectNumberFactor = 0.8 receiveTcpMinDataLength = 2048 isOpenFullTcpDisconnect = true p2p { version = 739888 } active = [ ] passive = [ ] http { fullNodeEnable = true fullNodePort = 16667 solidityEnable = true solidityPort = 16668 PBFTPort = 16693 } rpc { port = 16669 solidityPort = 16661 PBFTPort = 16671 maxConnectionIdleInMillis = 60000 minEffectiveConnection = 0 } jsonrpc { # Note: If you turn on jsonrpc and run it for a while and then turn it off, you will not # be able to get the data from eth_getLogs for that period of time. httpFullNodeEnable = true httpFullNodePort = 18545 httpSolidityEnable = true httpSolidityPort = 18555 httpPBFTEnable = true httpPBFTPort = 18565 } enableIpv6 = false dns { treeUrls = [] } } seed.node = { ip.list = [ "185.73.213.3:19888", "90.156.171.177:19888", "5.35.81.72:19888", "82.200.155.164:19888", "82.200.155.165:19888", "88.204.157.44:19888", "88.204.157.45:19888", "84.252.157.90:19888", ] } genesis.block = { assets = [ { accountName = "Zion" accountType = "AssetIssue" address = "oQrYq64qBppCaK8nAeodxBMRkbqDCK9yFZ" balance = "90000000000000000" # 90 000 000 000.00 }, { accountName = "Sun" accountType = "AssetIssue" address = "oZy5SN9zDGccgqPjykG3vAQdBBuZbA1pPe" balance = "9000000000000000" # 9 000 000 000.00 }, { accountName = "Blackhole" accountType = "AssetIssue" address = "oUUCoY7FhWA4VPk1XZDLpzTubW1CJTRSg3" balance = "-9223372036854775808" # -9 223 372 036 854.775808 }, ] witnesses = [ { address: oHUdqh65xtAogpSiDZARm52Uh6SKroVwQC, url = "https://one0.orgon.space", voteCount = 6 }, { address: ocmBMgPFTjYGYAkMWKo7qNS8ZKVudmATHq, url = "https://one1.orgon.space", voteCount = 5 }, { address: oebS83BkWAUevjt2CE5peJJW9jyxS49fcC, url = "https://one2.orgon.space", voteCount = 4 }, { address: oXDQnET69XvqWsEo9v9kJSEbfHhwQAVBVn, url = "https://one3.orgon.space", voteCount = 3 }, { address: oPkn1exaPh5zkxnkdukkVXzS6dG9fzsKuh, url = "https://one4.orgon.space", voteCount = 2 }, { address: ocopnd4hL5TrYWLMAHsgithfff9yurJsig, url = "https://one5.orgon.space", voteCount = 1 } ] timestamp = "0" #2025-03-31 20:00:00 parentHash = "dc2d300daecc7b98a38f1938ebde0a0c1ceda5e15f0edae4256a2904449f5" } localwitness = [] block = { needSyncCheck = true # first node : false, other : true maintenanceTimeInterval = 600000 # 1 day: 86400000(ms), 6 hours: 21600000(ms) proposalExpireTime = 600000 } vm = { supportConstant = true minTimeRatio = 0.0 maxTimeRatio = 5.0 } committee = { allowCreationOfContracts = 1 allowSameTokenName = 1 allowTvmTransferTrc10 = 1 allowDelegateResource = 1 allowMultiSign = 1 allowTvmConstantinople = 1 allowTvmSolidity059 = 1 allowTvmIstanbul = 1 allowShieldedTRC20Transaction = 1 allowTvmVote = 1 allowTvmLondon = 1 allowHigherLimitForMaxCpuTimeOfOneTx = 1 allowAssetOptimization = 1 allowNewReward = 1 allowDelegateOptimization = 1 allowOptimizedReturnValueOfChainId = 1 allowDynamicEnergy = 1 allowTvmShangHai = 1 allowOldRewardOpt = 1 allowEnergyAdjustment = 1 allowTvmFreeze = 1 createNewAccountFeeInSystemContract = 1000000 removeThePowerOfTheGr = -1 changeDelegation = 1 memoFee = 1000000 unfreezeDelayDays = 14 dynamicEnergyThreshold = 5000000000 dynamicEnergyIncreaseFactor = 2000 dynamicEnergyMaxFactor = 34000 allowCancelAllUnfreezeV2 = 1 changeDelegation = 1 changedDelegation = 1 allowChangeDelegation = 1 maxCreateAccountTxSize = 12000 maxMessageSize = 1024 } event.subscribe = { native = { useNativeQueue = true // if true, use native message queue, else use event plugin. bindport = 20555 // bind port sendqueuelength = 1000 //max length of send queue } path = "" // absolute path of plugin server = "" // target server address to receive event triggers dbconfig = "" // dbname|username|password contractParse = true, topics = [ { triggerName = "block" // block trigger, the value can't be modified enable = false topic = "block" // plugin topic, the value could be modified }, { triggerName = "transaction" enable = false topic = "transaction" }, { triggerName = "contractevent" enable = false topic = "contractevent" }, { triggerName = "contractlog" enable = false topic = "contractlog" }, { triggerName = "solidity" // solidity block event trigger, the value can't be modified enable = true // the default value is true topic = "solidity" } ] filter = { fromblock = "" // the value could be "", "earliest" or a specified block number as the beginning of the queried range toblock = "" // the value could be "", "latest" or a specified block number as end of the queried range contractAddress = [ "" // contract address you want to subscribe, if it's set to "", you will receive contract logs/events with any contract address. ] contractTopic = [ "" // contract topic you want to subscribe, if it's set to "", you will receive contract logs/events with any contract topic. ] } }