[core-api] order of transactions with same timestamp
See original GitHub issueDescribe the bug The API returns transactions with the same timestamp in an unpredictable and wrong manner.
To Reproduce Steps to reproduce the behavior:
- Go to https://dexplorer.ark.io/api/v2/wallets/cam/transactions?page=1&limit=5&orderBy=timestamp:desc
- Go to https://dexplorer.ark.io/api/v2/wallets/cam/transactions?page=2&limit=5&orderBy=timestamp:desc
- Search for:
64c15a316786216825f68240ce733db052d2788f43ea94acdb5acabe484382c4
- The same transaction is present in both responses
Both JSON responses: https://pastebin.com/UFrG0qhZ
Expected behavior The above mentioned transaction should not be present on the second page, if it is on the first.
Additional context The results should be sorted by an additional fallback parameter with a unique value, e.g. the transaction id.
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (6 by maintainers)
Top Results From Across the Web
Handling Concurrency Conflicts - EF Core - Microsoft Learn
Managing conflicts when the same data is updated concurrently with Entity Framework Core.
Read more >bloomberg open api – core developer guide
The Core API “Developer's Guide” is the starting point for learning the core ... Processing of interval data is the same as processing...
Read more >Multiple blocks with same timestamp in clique network. #21184
Notice that two blocks are mined (one containing each transaction) and they both have the same timestamp (if they don't run test again)....
Read more >Given transaction number does not match any in-progress ...
I am getting above error when trying to create transactions for multiple orders and I am using async/await to create multiple transactions ......
Read more >Transaction over multiple events with same timestamp
For the above logs, is there any mechanism to tell Splunk to use sequence of events in the source-log-file along with the timestamp...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yea pagination introduces a whole set of problems on its own which have to be dealt with by the application, but this can be done only if the ordering is deterministic (if the dataset doesn’t change that is).
This issue appears to be back @faustbrian @vasild.
Visit https://explorer.ark.io/wallets/APSu7jcJbBvKQRoi43x4JUe8oYDEuSuPEr/transactions/all/1 and https://explorer.ark.io/wallets/APSu7jcJbBvKQRoi43x4JUe8oYDEuSuPEr/transactions/all/2 and search for e.g. 4f7c8…bb245