-
Notifications
You must be signed in to change notification settings - Fork 783
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
Rpc accounts receivable sorting fix #4070
base: develop
Are you sure you want to change the base?
Rpc accounts receivable sorting fix #4070
Conversation
Hi Jerzy, thank you for working on this. Here is my feedback:
|
Hey Dimitrios, thanks for the feedback. |
Let's drop the ranges library for now. |
Sorry for late response - how should we approach with the fix? I mean, do we assume we'll use C++ 20 sooner or later? If so - should we make minimal changes now (just fix sorting and enforce max count) and reapply this commit with |
We need to decide exactly how to implement this feature in a way that doesn't allow the node to run out of resources. For example, sorted output with an large offset is the worst case scenario, it means we have to load all of the records in RAM (or create a new sorted table), sort them and then apply an offset. Since offset was a new addition, in v24.0, we are thinking of removing it. |
Yeah, makes sense. |
The continuation of #3845.
A proposition to fix receivable rpc method using ranges. @pwojcikdev please take a look, if it's ok I'll apply the changes to the other rpc methods.
Edit: Workflow run failed, I think Clang should be upgraded?