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
A suggestion: instead of disallowing removal of order books that contain any orders, we can allow cancellation of up to $N$ orders, where $N$ is small enough so that the removal is as short as needed.
Problem statement
By benchmarks we found that order-book deleting takes too much time in worst case. Necessary to optimize that process.
Description
It is needed to implement new approach for order-book deleting.
Now we can delete only empty order-book in states:
OnlyCancel
orStop
.Dev changes:
OnlyCancel
orStop
Delete order-book from the user perspective:
OnlyCancel
orStop
.order-book::delete_orderbook()
extrinsic.Definition of Done
OnlyCancel
orStop
.delete_orderbook
extinsic if all conditions are met.Requirements
No response
The text was updated successfully, but these errors were encountered: