Skip to content

Commit

Permalink
cmd/devp2p: add example for nodeset filter
Browse files Browse the repository at this point in the history
  • Loading branch information
fjl committed Apr 19, 2021
1 parent f1a0a4d commit c81802d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cmd/devp2p/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ set to standard output. The following filters are supported:
- `-les-server` filters nodes by LES server support
- `-snap` filters nodes by snap protocol support

For example, given a node set in `nodes.json`, you could create a filtered set containing
up to 20 eth mainnet nodes which also support snap sync using this command:

devp2p nodeset filter nodes.json -eth-network mainnet -snap -limit 20

### Discovery v4 Utilities

The `devp2p discv4 ...` command family deals with the [Node Discovery v4][discv4]
Expand Down

0 comments on commit c81802d

Please sign in to comment.