// StringIndented returns an indented string representation of the Reactor.
StringIndented returns an indented string representation of the Reactor.
// StringIndented returns an indented string representation of the Reactor .
func (r *Reactor) StringIndented(indent string) string {
	r.mtx.RLock()
	defer r.mtx.RUnlock()
	s := "ConsensusReactor{\n"
	s += indent + "  " + r.state.StringIndented(indent+"  ") + "\n"
	for _, ps := range r.peers {
		s += indent + "  " + ps.StringIndented(indent+"  ") + "\n"
	}
	s += indent + "}"
	return s
}
func ( r * Reactor ) StringIndented ( indent string ) string { r . mtx . RLock ( ) defer r . mtx . RUnlock ( ) s := " \n " s += indent + " " + r . state . StringIndented ( indent + " " ) + " \n " for _ , ps := range r . peers { s += indent + " " + ps . StringIndented ( indent + " " ) + " \n " } s += indent + " " return s }
StringIndented returns an indented string representation of the Reactor.
StringIndented returns an indented string representation of the Reactor .