-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use replace_order_id
instead of rm/create new order
#23
Comments
opendexnetwork/opendex.network#22 has a decent solution for this issue. Here is the proposed order format in protocol buffer format:
But changing to an entirely new order format might be a major change and so perhaps this is the intermediary step |
Bumping prio here since today I noticed arby replacing orders every 100ms or so due to fast price movements on binance, resulted frequently in the following:
Because orders disappear for some ms when being cancelled and re-issued by arby. |
Currently arby removes all orders and issues new ones, which causes two packets on the p2p layer and all receiving nodes first to remove and then to replace an order. We consider this becoming an issue once there are a 100s/1000s of orders being shared per second:
Instead arby should track order id's of it's issued orders and replace them with
replace_order_id
.The text was updated successfully, but these errors were encountered: