mirror of
https://github.com/tendermint/tendermint.git
synced 2026-08-04 14:26:14 +00:00
mark peer as good if it contributed enough votes or block parts
Refs #1147
This commit is contained in:
@@ -287,6 +287,8 @@ func NewNode(config *cfg.Config,
|
||||
sw.AddReactor("PEX", pexReactor)
|
||||
}
|
||||
|
||||
sw.SetAddrBook(addrBook)
|
||||
|
||||
// Filter peers by addr or pubkey with an ABCI query.
|
||||
// If the query return code is OK, add peer.
|
||||
// XXX: Query format subject to change
|
||||
|
||||
Reference in New Issue
Block a user