-
Notifications
You must be signed in to change notification settings - Fork 649
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 by_collateral when globally settling #1672
Conversation
We'd like to remove `by_price` index at some time in the future to improve performance, thus we should avoid using the index after the hardfork. #1669
Please consider/discuss risks associated with deferring this PR to 4.0.0 Protocol Upgrade Release. |
This is in preparation for a future optimization. Not critical nor high-priority. |
It would be a bit annoying if not included in this release. E.G. need to define another HF date and etc. The "future optimization" can only take effect after the hard fork time. Postponing it means to postpone the optimization, although not critical. |
We shouldn't put new things into upcoming hardfork. We'd have to either postpone the hardfork date or bypass testnet, neither of which I think is justified for this change. |
Since it's moved to next consensus release, we need to use another HARDFORK_CORE_TIME macro.
@pmconrad please review again. Thanks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
We'd like to remove
by_price
index at some time in the future toimprove performance, thus we should avoid using the index after the
hardfork.
#1669