Block defines the atomic unit of a Tendermint blockchain.
| 41 | |
| 42 | // Block defines the atomic unit of a Tendermint blockchain. |
| 43 | type Block struct { |
| 44 | mtx tmsync.Mutex |
| 45 | |
| 46 | Header `json:"header"` |
| 47 | Data `json:"data"` |
| 48 | Evidence EvidenceData `json:"evidence"` |
| 49 | LastCommit *Commit `json:"last_commit"` |
| 50 | } |
| 51 | |
| 52 | // ValidateBasic performs basic validation that doesn't involve state data. |
| 53 | // It checks the internal consistency of the block. |
nothing calls this directly
no outgoing calls
no test coverage detected