Skip to content

Undefined sort order of transactions #22

Description

@futureshape

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

Activity

  1. mattheath commented on Jan 19, 2016

    @mattheath
    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.

  2. pawelad commented on Sep 14, 2017

    @pawelad

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

  3. mrlubos commented on Mar 17, 2019

    @mrlubos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions