From df7621ba6ebf7a19306f6bb17630a3bc1b5ca655 Mon Sep 17 00:00:00 2001 From: Hector Sanjuan Date: Sat, 24 Aug 2019 15:45:25 +0200 Subject: [PATCH] crdt: inform about trust all mode --- consensus/crdt/consensus.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/consensus/crdt/consensus.go b/consensus/crdt/consensus.go index c7d8d6ec..6b5a5e72 100644 --- a/consensus/crdt/consensus.go +++ b/consensus/crdt/consensus.go @@ -257,6 +257,11 @@ func (css *Consensus) setup() { return } css.state = clusterState + + if css.config.TrustAll { + logger.Info("'trust all' mode enabled. Any peer in the cluster can modify the pinset.") + } + css.readyCh <- struct{}{} }