forked from nervosnetwork/muta
-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat(network): add peer tag support #5
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
zeroqn
added a commit
that referenced
this pull request
Jul 20, 2020
* feat(network): peer tag support * refactor(network): use tag to implement allowlist, ban * fix(network): unit tests * fix(network): peer manager tests * fix(trust_metric_test): update to new network code * fix(network): rebase to latest PR * fix(network): clippy warnings * fix(network): no ban check in tags insert * fix(network): also check Consensus tag instead mixed it with AlwaysAllow
zeroqn
added a commit
that referenced
this pull request
Jul 20, 2020
* feat(network): peer tag support * refactor(network): use tag to implement allowlist, ban * fix(network): unit tests * fix(network): peer manager tests * fix(trust_metric_test): update to new network code * fix(network): rebase to latest PR * fix(network): clippy warnings * fix(network): no ban check in tags insert * fix(network): also check Consensus tag instead mixed it with AlwaysAllow
zeroqn
added a commit
that referenced
this pull request
Jul 23, 2020
* feat(network): peer tag support * refactor(network): use tag to implement allowlist, ban * fix(network): unit tests * fix(network): peer manager tests * fix(trust_metric_test): update to new network code * fix(network): rebase to latest PR * fix(network): clippy warnings * fix(network): no ban check in tags insert * fix(network): also check Consensus tag instead mixed it with AlwaysAllow
zeroqn
added a commit
that referenced
this pull request
Jul 24, 2020
* feat(network): peer tag support * refactor(network): use tag to implement allowlist, ban * fix(network): unit tests * fix(network): peer manager tests * fix(trust_metric_test): update to new network code * fix(network): rebase to latest PR * fix(network): clippy warnings * fix(network): no ban check in tags insert * fix(network): also check Consensus tag instead mixed it with AlwaysAllow
zeroqn
added a commit
that referenced
this pull request
Jul 27, 2020
* feat(network): peer tag support * refactor(network): use tag to implement allowlist, ban * fix(network): unit tests * fix(network): peer manager tests * fix(trust_metric_test): update to new network code * fix(network): rebase to latest PR * fix(network): clippy warnings * fix(network): no ban check in tags insert * fix(network): also check Consensus tag instead mixed it with AlwaysAllow
zeroqn
added a commit
that referenced
this pull request
Jul 27, 2020
* feat(network): peer tag support * refactor(network): use tag to implement allowlist, ban * fix(network): unit tests * fix(network): peer manager tests * fix(trust_metric_test): update to new network code * fix(network): rebase to latest PR * fix(network): clippy warnings * fix(network): no ban check in tags insert * fix(network): also check Consensus tag instead mixed it with AlwaysAllow
zeroqn
added a commit
that referenced
this pull request
Jul 27, 2020
* feat(network): peer tag support * refactor(network): use tag to implement allowlist, ban * fix(network): unit tests * fix(network): peer manager tests * fix(trust_metric_test): update to new network code * fix(network): rebase to latest PR * fix(network): clippy warnings * fix(network): no ban check in tags insert * fix(network): also check Consensus tag instead mixed it with AlwaysAllow
zeroqn
added a commit
that referenced
this pull request
Jul 28, 2020
* refactor(consensus)!: replace Validator address bytes with pubkey bytes (nervosnetwork#354) (#2) * change(consensus): replace Validator address bytes with pubkey bytes BREAKING CHANGE: - replace Validator address bytes with pubkey bytes * change(consensus): log validator address instead of its public key Block proposer is address instead public key * fix: compilation failed * chore(network): move in protocols (#3) * feat(network): move in discovery protocol from forked * feat(network): move in ping protocol * feat(network): move in identify protocol * chore(network): use tentacle from crate * refactor(network): change allow_global_ip feature to global_ip_only * change(network): remove secio_enabled in identify protocol secio should be always enabled in muta network * refactor(network): identify protocol * refactor(network): discovery global_ip_only feature * chore(network): remove garbage files * fix(network): clippy on auto generated code * fix(network): clippy warnings * refactor(nework): ping message use protobuf instead * refactor(network): use protobuf to define discovery message * chore(network): turn off global_ip_only feature by default * refactor(network): define identify message using protobuf * fix(network): clippy warnings * chore(network): remove unused molecule * refactor(network): remove address, use peer id instead (#4) * refactor(network)!: remove Address, use peer id BREAKING CHANGE: - change users_cast to multicast, take peer_ids bytes instead of Address - network bootstrap configuration now takes peer id instead of pubkey hex * refactor(network): PeerId api * feat(network): add peer tag support (#5) * feat(network): peer tag support * refactor(network): use tag to implement allowlist, ban * fix(network): unit tests * fix(network): peer manager tests * fix(trust_metric_test): update to new network code * fix(network): rebase to latest PR * fix(network): clippy warnings * fix(network): no ban check in tags insert * fix(network): also check Consensus tag instead mixed it with AlwaysAllow * feat(network): tag consensus peers (#6) * feat(network): implement tag api * feat: tag consensus peers * feat(network): don't share consensus ips (#7) * fix(network): InvalidPublicKey when tag consensus peer * fix(network): forget to update tag consensus in update status * fix(network): DiscoveryMessage deserialize failed * fix: rebase master
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What type of PR is this?
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer: