forked from paradigmxyz/reth
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(net): enforce trusted_nodes_only setting (paradigmxyz#660)
* Add PeerKind and enforce trusted_only setting * Don't remove trusted peer on graceful close * Don't remove trusted nodes on PeerCommand::Remove * Rename PeerKind::NonTrusted to Basic * Move PeerKind::is_trusted to Peer impl * Add trusted peer prioritization
- Loading branch information
1 parent
4efb7b9
commit 1f6a943
Showing
1 changed file
with
64 additions
and
24 deletions.
There are no files selected for viewing
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