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

Method MarshalHash

pow/cpuminer/uint256.go:67–69  ·  view source on GitHub ↗

MarshalHash marshals for hash.

()

Source from the content-addressed store, hash-verified

65
66// MarshalHash marshals for hash.
67func (i *Uint256) MarshalHash() (o []byte, err error) {
68 return i.Bytes(), nil
69}
70
71// Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message.
72func (i *Uint256) Msgsize() (s int) {

Callers

nothing calls this directly

Calls 1

BytesMethod · 0.95

Tested by

no test coverage detected