String implements fmt.Stringer.
()
| 31 | |
| 32 | // String implements fmt.Stringer. |
| 33 | func (i *blockProducerInfo) String() string { |
| 34 | return fmt.Sprintf("[%d/%d|%s] %s", i.rank+1, i.total, i.role, i.nodeID) |
| 35 | } |
| 36 | |
| 37 | func buildBlockProducerInfos( |
| 38 | localNodeID proto.NodeID, peers *proto.Peers, isAPINode bool, |
no outgoing calls