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

The `totalCount` of /wallets/<address>/transactions is wrong #2118

Closed
j-a-m-l opened this issue Feb 19, 2019 · 2 comments

Comments

Projects
4 participants
@j-a-m-l
Copy link
Contributor

commented Feb 19, 2019

The endpoint counts correctly the transaction of this wallet (totalCount is 636):
GET http://142.44.253.192:4003/api/v2/wallets/DSyG9hK9CE8eyfddUoEvsga4kNVQLdw2ve/transactions?orderBy=timestamp:desc&limit=30&page=1

But it doesn't work well with this other (totalCount is 50 instead of 89):
GET http://142.44.253.192:4003/api/v2/wallets/D8jk5su4Y5TJtn4ffcg2e9yX48UghB8dwM/transactions?orderBy=timestamp:desc&limit=50&page=1

Other endpoints count correctly the transaction of that wallet (totalCount is 89):
POST http://142.44.253.192:4003/api/v2/transactions/search
{"addresses":["D8jk5su4Y5TJtn4ffcg2e9yX48UghB8dwM"]}

@dated

This comment has been minimized.

Copy link
Contributor

commented Feb 19, 2019

FYI #1903

@vasild

This comment has been minimized.

Copy link
Contributor

commented Jul 8, 2019

#2772 made it configurable whether to use estimates (fast) or the precise COUNT(*) (slow).

@vasild vasild closed this Jul 8, 2019

3.0.0 automation moved this from To do to Closed Jul 8, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.