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 Aug 2, 2022. It is now read-only.
In a multi-threaded environment chain::push_transaction cannot be synchronous, it the transaction will have to be scheduled then dispatched to the proper thread and then finally accepted or rejected.
Our unit tests still benefit from having a synchronous push_transaction, so this task is to define a new method called async_push_transaction(). Because things are ASYNC we cannot use the STACK for managing the transaction lifetime, therefore we should move to a shared ptr model.
This method should take a functor that is called with success or any errors.
Build a block as transactions are pushed
don't apply a transaction 3x on producing node, only apply it 1x
refactor transaction scheduling to handle read-only scopes and just-in-time scheduling
if a transaction is postponed to next cycle, it the next cycle should start no later than 100 ms
The text was updated successfully, but these errors were encountered:
As part of this task I am reviewing our high level design processing incoming transactions. I have mostly focused on the interface specification at this time. Nothing to commit just yet.
In a multi-threaded environment chain::push_transaction cannot be synchronous, it the transaction will have to be scheduled then dispatched to the proper thread and then finally accepted or rejected.
Our unit tests still benefit from having a synchronous push_transaction, so this task is to define a new method called async_push_transaction(). Because things are ASYNC we cannot use the STACK for managing the transaction lifetime, therefore we should move to a shared ptr model.
This method should take a functor that is called with success or any errors.
The text was updated successfully, but these errors were encountered: