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

Check filter header checkpoints against hardcoded list #159

Merged
merged 2 commits into from Jun 22, 2019

Conversation

halseth
Copy link
Contributor

@halseth halseth commented Jun 18, 2019

Before starting to compare filter checkpoints our peers are serving, we
do a quick check against a list of filter header checkpoints we have.

Note that this PR doesn't actually add the checkpoints, these should be cross checked from different nodes.

@coveralls
Copy link

coveralls commented Jun 18, 2019

Coverage Status

Coverage increased (+0.09%) to 68.471% when pulling 40060ce on halseth:filter-header-checkpoints into 32af2fb on lightninglabs:master.

chainsync/filtercontrol.go Outdated Show resolved Hide resolved
blockmanager.go Show resolved Hide resolved
ControlCFHeader controls the passed filter header against a list of
hardcoded checkpoints, that we can use to determine peers serving
invalid filterheaders.
Before starting to compare filter checkpoints our peers are serving, we
do a quick check against the filter header checkpoints we have.
@halseth
Copy link
Contributor Author

halseth commented Jun 20, 2019

PTAL @wpaulino

Copy link
Contributor

@wpaulino wpaulino left a comment

Choose a reason for hiding this comment

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

LGTM 💥

Copy link
Member

@Roasbeef Roasbeef left a comment

Choose a reason for hiding this comment

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

LGTM 🎊

@Roasbeef Roasbeef merged commit 65d7608 into lightninglabs:master Jun 22, 2019
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

4 participants