docs: minor fix for abci query peer filter

This commit is contained in:
Ethan Buchman 2018-07-01 01:23:38 -04:00
parent 6e5a01ccec
commit f35ebd5cf7
1 changed files with 4 additions and 4 deletions

View File

@ -394,13 +394,13 @@ serialize each query as a single byte array. Additionally, certain
instance about which peers to connect to. instance about which peers to connect to.
Tendermint Core currently uses the Query connection to filter peers upon Tendermint Core currently uses the Query connection to filter peers upon
connecting, according to IP address or public key. For instance, connecting, according to IP address or node ID. For instance,
returning non-OK ABCI response to either of the following queries will returning non-OK ABCI response to either of the following queries will
cause Tendermint to not connect to the corresponding peer: cause Tendermint to not connect to the corresponding peer:
- `p2p/filter/addr/<addr>`, where `<addr>` is an IP address. - `p2p/filter/addr/<ip addr>`, where `<ip addr>` is an IP address.
- `p2p/filter/pubkey/<pubkey>`, where `<pubkey>` is the hex-encoded - `p2p/filter/id/<id>`, where `<is>` is the hex-encoded node ID (the hash of
ED25519 key of the node (not it's validator key) the node's p2p pubkey).
Note: these query formats are subject to change! Note: these query formats are subject to change!