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

#821 | Addresses cache added with name display info #830

Conversation

Viterbo
Copy link
Collaborator

@Viterbo Viterbo commented Aug 16, 2024

Fixes #821

Description

This PR implements a cache for each network where all addresses ever queried get stored with the relevant information for the name display. In the case of contracts, the data remains forever in the local cache. In the case of being a normal address, it is qued in a list of non-contract addresses and when a limit of 1000 entries is reached it drops the oldest addresses to keep a manageable cache size.

Test scenarios

https://deploy-preview-830--dev-mainnet-teloscan.netlify.app/

@Viterbo Viterbo self-assigned this Aug 16, 2024
Copy link

netlify bot commented Aug 16, 2024

Deploy Preview for teloscan-stage ready!

Name Link
🔨 Latest commit af0dc56
🔍 Latest deploy log https://app.netlify.com/sites/teloscan-stage/deploys/66bef1f4017fe90008238ec3
😎 Deploy Preview https://deploy-preview-830--teloscan-stage.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Aug 16, 2024

Deploy Preview for testnet-teloscan ready!

Name Link
🔨 Latest commit af0dc56
🔍 Latest deploy log https://app.netlify.com/sites/testnet-teloscan/deploys/66bef1f403ebfd0008b1efb2
😎 Deploy Preview https://deploy-preview-830--testnet-teloscan.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Aug 16, 2024

Deploy Preview for dev-mainnet-teloscan ready!

Name Link
🔨 Latest commit af0dc56
🔍 Latest deploy log https://app.netlify.com/sites/dev-mainnet-teloscan/deploys/66bef1f4e1c5a00008f5bc04
😎 Deploy Preview https://deploy-preview-830--dev-mainnet-teloscan.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@pmjanus pmjanus merged commit 17e7250 into dev Aug 16, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants