Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions api.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 },

Expand Down Expand Up @@ -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]
Expand Down
16 changes: 16 additions & 0 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions enableEpochs.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down