diff --git a/api.toml b/api.toml index f96f5b5..816c278 100644 --- a/api.toml +++ b/api.toml @@ -76,12 +76,12 @@ # /address/:address/code-hash will return the code hash of a given account { Name = "/:address/code-hash", Open = true }, - # address/iterate-keys will return the given num of key-value pairs for the given account. The iteration will start from the given starting state - { Name = "/iterate-keys", Open = true }, - # /address/:address/keys will return all the key-value pairs of a given account { Name = "/:address/keys", Open = true }, + # address/iterate-keys will return the given num of key-value pairs for the given account. The iteration will start from the given starting state + { Name = "/iterate-keys", Open = true }, + # /address/:address/key/:key will return the value of a key for a given account { Name = "/:address/key/:key", Open = true }, @@ -230,6 +230,12 @@ # /transaction/scrs-by-tx-hash/:txhash will return the smart contract results generated by the provided transaction hash { Name = "/scrs-by-tx-hash/:txhash", Open = true }, + + # transaction/pool/simulate-selection will simulate a selection, and it will return each selected transaction with the requested fields + { Name = "/pool/simulate-selection", Open = true}, + + # transaction/pool/:address/virtual-nonce will return the virtual nonce of the account + { Name = "/pool/:address/virtual-nonce", Open = true}, ] [APIPackages.block] diff --git a/config.toml b/config.toml index ffe3b65..ea4a91d 100644 --- a/config.toml +++ b/config.toml @@ -421,6 +421,18 @@ EpochChangeGracePeriodByEpoch = [ Type = "TxCache" Shards = 16 +[TxCacheBounds] + MaxNumBytesPerSenderUpperBound = 33_554_432 #32MB + MaxTrackedBlocks = 100 + +[TxCacheSelection] + SelectionMaxNumTxs = 30000 + SelectionLoopMaximumDuration = 250 #milliseconds + SelectionLoopDurationCheckInterval = 10 #chunk (of transactions) size + SelectionGasBandwidthIncreasePercent = 400 + SelectionGasBandwidthIncreaseScheduledPercent = 260 + SelectionGasRequested = 10_000_000_000 + [TrieNodesChunksDataPool] Name = "TrieNodesDataPool" Capacity = 400 @@ -822,6 +834,10 @@ EpochChangeGracePeriodByEpoch = [ NumRequestsThreshold = 9 NumResolveFailureThreshold = 3 DebugLineExpiration = 10 #Will remove the debug line after a `DebugLineExpiration` number of prints + [Debug.InterceptorResolver.BroadcastStatistics] + Enabled = false + # "intercepted tx", "intercepted reward tx", "intercepted unsigned tx", "intercepted header", ... + Messages = ["intercepted tx"] [Debug.Antiflood] Enabled = true CacheSize = 10000 diff --git a/enableEpochs.toml b/enableEpochs.toml index 7bdb13b..95d27f4 100644 --- a/enableEpochs.toml +++ b/enableEpochs.toml @@ -342,6 +342,9 @@ # AndromedaEnableEpoch represents the epoch when the equivalent messages and fix order for consensus features are enabled AndromedaEnableEpoch = 1763 + # SupernovaEnableEpoch represents the epoch when sub-second finality will be enabled + SupernovaEnableEpoch = 9999999 + # CheckBuiltInCallOnTransferValueAndFailEnableRound represents the ROUND when the check on transfer value fix is activated CheckBuiltInCallOnTransferValueAndFailEnableRound = 25184293 # THIS MUST BE A ROUND