Merge pull request #899 from ipfs/feat/trust-all-warning

crdt: inform about trust all mode
This commit is contained in:
Hector Sanjuan 2019-08-26 12:23:23 +02:00 committed by GitHub
commit d71c1cb380
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -257,6 +257,11 @@ func (css *Consensus) setup() {
return return
} }
css.state = clusterState 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{}{} css.readyCh <- struct{}{}
} }