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

mempool.space API returns an incorrect/different value/order #221

Closed
ahonn opened this issue Dec 23, 2024 · 2 comments · Fixed by #231
Closed

mempool.space API returns an incorrect/different value/order #221

ahonn opened this issue Dec 23, 2024 · 2 comments · Fixed by #231
Assignees
Labels
bug Something isn't working P-High

Comments

@ahonn
Copy link
Contributor

ahonn commented Dec 23, 2024

Description

The result from https://mempool.space/testnet/api/address/tb1qvn7ge67z3lh5x0u5ue69c7etp8kavlacku2vae/txs
does not seem to be sorted .
e.g.
71ec57841e64c30ae6c2b6776a3e573c24ec4648110d6a3c174940f8ed4f991e tx is not in first place

while https://mempool.space/testnet/address/tb1qvn7ge67z3lh5x0u5ue69c7etp8kavlacku2vae is good.

Related Issue

@ahonn ahonn changed the title mempool.space API returns an incorrect value and returns different values ​​every once in a while. mempool.space API returns an incorrect/different value Dec 23, 2024
@ahonn
Copy link
Contributor Author

ahonn commented Dec 23, 2024

Also, the return of /testnet/api/v1/fees/recommended is inconsistent between different instances.

https://cell.mempool.space/testnet/api/v1/fees/recommended
https://mempool.space/testnet/api/v1/fees/recommended

@ahonn ahonn added the bug Something isn't working label Dec 23, 2024
@Flouse Flouse changed the title mempool.space API returns an incorrect/different value mempool.space API returns an incorrect/different value/order Jan 14, 2025
@Flouse Flouse added the P-High label Jan 14, 2025
@ahonn
Copy link
Contributor Author

ahonn commented Jan 17, 2025

To resolve this issue, we need to upgrade to v2.5.7 and add a new env var BITCOIN_METHODS_USE_ELECTRS_BY_DEFAULT to env file:

BITCOIN_METHODS_USE_ELECTRS_BY_DEFAULT=getAddressTxs

cc @mfuuzy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P-High
Projects
None yet
2 participants