String returns a string representation of the Proposal. 1. height 2. round 3. block ID 4. POL round 5. first 6 bytes of signature 6. timestamp See BlockID#String.
()
| 90 | // |
| 91 | // See BlockID#String. |
| 92 | func (p *Proposal) String() string { |
| 93 | return fmt.Sprintf("Proposal{%v/%v (%v, %v) %X @ %s}", |
| 94 | p.Height, |
| 95 | p.Round, |
| 96 | p.BlockID, |
| 97 | p.POLRound, |
| 98 | tmbytes.Fingerprint(p.Signature), |
| 99 | CanonicalTime(p.Timestamp)) |
| 100 | } |
| 101 | |
| 102 | // ProposalSignBytes returns the proto-encoding of the canonicalized Proposal, |
| 103 | // for signing. Panics if the marshaling fails. |
nothing calls this directly
no test coverage detected