MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / ComputeHash

Method ComputeHash

types/block.go:65–67  ·  view source on GitHub ↗

ComputeHash computes the hash of the signed header.

()

Source from the content-addressed store, hash-verified

63
64// ComputeHash computes the hash of the signed header.
65func (s *SignedHeader) ComputeHash() error {
66 return s.HSV.SetHash(&s.Header)
67}
68
69// QueryAsTx defines a tx struct which is combined with request and signed response header
70// for block.

Callers 1

PackAsGenesisMethod · 0.80

Calls 1

SetHashMethod · 0.65

Tested by

no test coverage detected