| 32 | ) |
| 33 | |
| 34 | type ConsensusPayload struct { |
| 35 | Version uint32 |
| 36 | PrevHash common.Uint256 |
| 37 | Height uint32 |
| 38 | BookkeeperIndex uint16 |
| 39 | Timestamp uint32 |
| 40 | Data []byte |
| 41 | Owner keypair.PublicKey |
| 42 | Signature []byte |
| 43 | PeerId uint64 |
| 44 | hash common.Uint256 |
| 45 | } |
| 46 | |
| 47 | //get the consensus payload hash |
| 48 | func (this *ConsensusPayload) Hash() common.Uint256 { |
nothing calls this directly
no outgoing calls
no test coverage detected