MCPcopy Create free account
hub / github.com/tendermint/tendermint / String

Method String

types/proposal.go:92–100  ·  view source on GitHub ↗

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.

()

Source from the content-addressed store, hash-verified

90//
91// See BlockID#String.
92func (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.

Callers

nothing calls this directly

Calls 1

CanonicalTimeFunction · 0.85

Tested by

no test coverage detected