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

Sort transactions by time / block height #64

Closed
Voxelot opened this issue Nov 9, 2021 · 0 comments · Fixed by #74
Closed

Sort transactions by time / block height #64

Voxelot opened this issue Nov 9, 2021 · 0 comments · Fixed by #74
Assignees
Labels
good first issue Good for newcomers

Comments

@Voxelot
Copy link
Member

Voxelot commented Nov 9, 2021

The current graphql connection for transactions just naively iterates over the main collection of transactions which are ordered by transaction id. Update this collection to return transactions in order by block height / time. This could be done by making a new sorted index of transaction id's by time, or using the existing index for blocks and then flattening the stored transactions ids stored on the sorted blocks.

closes FuelLabs/block-explorer-v2#3

@Voxelot Voxelot added the good first issue Good for newcomers label Nov 9, 2021
@leviathanbeak leviathanbeak self-assigned this Nov 15, 2021
@Voxelot Voxelot linked a pull request Dec 4, 2021 that will close this issue
ControlCplusControlV pushed a commit that referenced this issue Jan 15, 2023
* Add height to sparse node

* Update tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants