Validate checks the field values on SyncBlockInfoRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
()
| 39 | // defined in the proto definition for this message. If any rules are |
| 40 | // violated, the first error encountered is returned, or nil if there are no violations. |
| 41 | func (m *SyncBlockInfoRequest) Validate() error { |
| 42 | return m.validate(false) |
| 43 | } |
| 44 | |
| 45 | // ValidateAll checks the field values on SyncBlockInfoRequest with the rules |
| 46 | // defined in the proto definition for this message. If any rules are |