func (i *blockProducerInfo) String() string {
	return fmt.Sprintf("[%d/%d|%s] %s", i.rank+1, i.total, i.role, i.nodeID)
}
String implements fmt.Stringer.
package blockproducer
import (
	"fmt"
	"github.com/SQLess/SQLess/proto"
)
type blockProducerInfo struct {
	rank   uint32
	total  uint32
	role   string
	nodeID proto.NodeID
}