mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-13 13:21:20 +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