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
PR #2502 implemented optional checking of transactions before queuing them in the transaction scheduler. However, the way it's currently implemented, each check is done serially, which can slow-down execution if checking is enabled.
This should be optimized by using a separate queue for CheckTx requests and batching them, as suggested in #2502 (comment).
The text was updated successfully, but these errors were encountered:
So basiclly, right now, the txs are checked before added in txnscheduler. The checks including like whether there is enough balance in the accout or whether it's a successful contract call, right? The code looks complicated now.
Yes, the workerHost.Call() will make a call into the SGX enclave that's running the runtime and the method I linked before will be executed. The rest of the new code is basically just error checking and serialization/deserialization.
PR #2502 implemented optional checking of transactions before queuing them in the transaction scheduler. However, the way it's currently implemented, each check is done serially, which can slow-down execution if checking is enabled.
This should be optimized by using a separate queue for CheckTx requests and batching them, as suggested in #2502 (comment).
The text was updated successfully, but these errors were encountered: