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

Update *.header_cids.node_id to *.header_cids.node_ids #24

Open
i-norden opened this issue Aug 17, 2020 · 0 comments
Open

Update *.header_cids.node_id to *.header_cids.node_ids #24

i-norden opened this issue Aug 17, 2020 · 0 comments

Comments

@i-norden
Copy link
Collaborator

Replace the node_id field in the btc and eth header_cids table (e.g. https://github.com/vulcanize/ipfs-blockchain-watcher/blob/master/db/migrations/00004_create_eth_header_cids_table.sql#L10) with a node_ids integer array field. When a unique node source inserts a duplicate header, they add their id to this array. This serves as a means to track the "breadth" of data as a measure of validity.

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