Skip to content
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

Undefined sort order of transactions #22

Open
futureshape opened this issue Nov 30, 2015 · 3 comments
Open

Undefined sort order of transactions #22

futureshape opened this issue Nov 30, 2015 · 3 comments

Comments

@futureshape
Copy link

API doc should clarify if /transactions always returns a list of transactions sorted in chronological order, or if the order is not guaranteed

@mattheath
Copy link
Contributor

Hey @futureshape. At the moment the transactions returned from /transactions are loosely k-sorted, as they are sorted by ID which increments based on the time, however this isn't guaranteed to be sorted by wall clock time due to clock skew. I'll update the docs, and see if we can sort them in the response by the time returned in the created field too.

@pawelad
Copy link

pawelad commented Sep 14, 2017

Also, it would be great to have a parameter for sorting the transactions ASC / DESC by creation date.

@mrlubos
Copy link

mrlubos commented Mar 17, 2019

+1 @pawelad

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants