MCPcopy Create free account
hub / github.com/DNAProject/DNA / ConsensusPayload

Struct ConsensusPayload

p2pserver/message/types/consensus_payload.go:34–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32)
33
34type 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
48func (this *ConsensusPayload) Hash() common.Uint256 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected