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

added option to skip writing to public.nodes table #79

Merged
merged 1 commit into from
Mar 8, 2021
Merged

Conversation

ramilexe
Copy link
Contributor

@ramilexe ramilexe commented Mar 8, 2021

Usually, indexer instance adds new entry to public.nodes tables and it used in eth.header_cid relationship to understand from which node header came from. But ipld-eth-server and tracing-api also uses ipld-eth-indexer as library but they don't need to insert this entity to the database

Usually indexer instance add new entry to public.nodes tables and it used in eth.header_cid relationship to understand from which node header came from. But ipld-eth-server and tracing-api also uses ipld-eth-indexer as library but they don't need to insert this entity to database
@ramilexe ramilexe requested a review from i-norden March 8, 2021 13:26
@ramilexe ramilexe changed the title added new param createNode bool to NewDB postgres function. added option to skip writing to public.nodes table Mar 8, 2021
Copy link
Collaborator

@i-norden i-norden left a comment

Choose a reason for hiding this comment

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

LGTM!

@ramilexe ramilexe merged commit c14f623 into master Mar 8, 2021
@ramilexe ramilexe deleted the load_pg branch March 8, 2021 16:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants