docs: add more details on Vote struct from /consensus_state (#5164)

Closes #2743
This commit is contained in:
Anton Kaliaev
2020-07-29 10:20:39 +00:00
committed by GitHub
parent bc8b3e830b
commit 4ab7b7d7ca
8 changed files with 101 additions and 10 deletions
+9
View File
@@ -80,6 +80,15 @@ func (p *Proposal) ValidateBasic() error {
}
// 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.
func (p *Proposal) String() string {
return fmt.Sprintf("Proposal{%v/%v (%v, %v) %X @ %s}",
p.Height,