Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Check if fetching block scout api is using redis cache or always fetching in db #2

Open
pierregee opened this issue Apr 27, 2023 · 0 comments

Comments

@pierregee
Copy link

Check if blockscout is minimizing in fetching db (cost)

fullstackninja864 pushed a commit that referenced this issue Jun 19, 2024
…scout#9576)

* Rewrite query for token transfers on address to eliminate "or"

* Add token_transfers [:to_address_hash, :block_number] index

* Review processing

* Review processing #2

* Update apps/explorer/lib/explorer/chain/token_transfer.ex

Co-authored-by: Kirill Fedoseev <[email protected]>

---------

Co-authored-by: Kirill Fedoseev <[email protected]>
fullstackninja864 pushed a commit that referenced this issue Jun 19, 2024
* Contract code on-demand fetcher

* Review comments #1

* Review comments #2: ignore addresses with nonce

* Review comments 3: fix threshold calculation

* Refine trigger_fetch function

* Skip updating retries number in case of failed eth_getCode response
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant