You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.
Needed by #5395 to limit number of transaction in a block.
Proposed Solution
new cost model
is configured with two limits: max block cost, and max same account transaction cost.
integrated into banking_stage, shared amount threads.
is reset when new bank is introduced.
Keeps tracking current bank's costs, when a transaction would breach either block or account cost limit, it will be placed into leader's retry queue.
the cost limits used to configure cost model (described above) are collected from mainnet, they are to encourage parallelizeble transactions as well as to limit block size;
account access cost is the sum of accounts instruction accesses, writable is more expansive than read
instruction execution cost is maintained in a table, known instrument execution time are collected from cluster; whereas new on-chain program is given a high default value when it is added to the table; replay stage will feed the actual execution cost back to cost model.
The text was updated successfully, but these errors were encountered:
Problem
Needed by #5395 to limit number of transaction in a block.
Proposed Solution
new
cost model
banking_stage
, shared amount threads.the cost limits used to configure
cost model
(described above) are collected from mainnet, they are to encourage parallelizeble transactions as well as to limit block size;determine cost of an transaction:
replay stage
will feed the actual execution cost back tocost model
.The text was updated successfully, but these errors were encountered: