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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

(NOBIDS) remove slots cache as it is no longer required #2650

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

peterbitfly
Copy link
Contributor

@peterbitfly peterbitfly commented Oct 28, 2023

馃 Generated by Copilot at 536e26d

Refactored the block caching mechanism for the LighthouseClient to use Redis instead of memory. This enhances the efficiency and reliability of the rpc/lighthouse.go file.

D13ce
D13ce previously approved these changes Oct 30, 2023
Copy link
Collaborator

@D13ce D13ce left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

One addition though: I have checked all uses of func (lc *LighthouseClient) GetBlockBySlot(slot uint64) and stumbled upon func (lc *LighthouseClient) GetNewBlockChan().
Currently, this is not used and I suggest to remove it.

@peterbitfly
Copy link
Contributor Author

lgtm

One addition though: I have checked all uses of func (lc *LighthouseClient) GetBlockBySlot(slot uint64) and stumbled upon func (lc *LighthouseClient) GetNewBlockChan(). Currently, this is not used and I suggest to remove it.

Done

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.

None yet

2 participants