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

Enforce whitelist if discovery disabled #975

Merged
merged 16 commits into from
Jan 17, 2020

Conversation

namtruong
Copy link
Collaborator

In a network of mixed settings of peer auto-discovery (i.e. some nodes with auto-discovery on and some with auto-discovery switched off), there are chances that a node (says node A) knows about node B, but node B does not know about node A.

In this scenario node B should reject any transactions from node A.

Applying useWhiteList flag should prevent this from happening, so this whitelist check should be mandatory whenever auto-discovery is being switched off.

@melowe melowe merged commit a5d9c51 into master Jan 17, 2020
@Krish1979 Krish1979 added 0.10.3 0.10.3 bug Something isn't working labels Feb 3, 2020
jimmy-dg pushed a commit to jimmy-dg/tessera that referenced this pull request Feb 6, 2020
@prd-fox prd-fox deleted the enforce-whitelist-if-discovery-disabled branch February 11, 2020 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.10.3 0.10.3 bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants