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

Method NextHash

common/zero_copy_source.go:201–210  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

199}
200
201func (self *ZeroCopySource) NextHash() (data Uint256, eof bool) {
202 var buf []byte
203 buf, eof = self.NextBytes(UINT256_SIZE)
204 if eof {
205 return
206 }
207 copy(data[:], buf)
208
209 return
210}
211
212func (self *ZeroCopySource) NextString() (data string, size uint64, irregular bool, eof bool) {
213 var val []byte

Callers 12

GetStateMerkleRootMethod · 0.95
loadHeaderWithTxMethod · 0.95
DeserializeMethod · 0.95
DeserializationMethod · 0.80
DeserializationMethod · 0.80
DeserializationMethod · 0.80
DeserializationMethod · 0.80
DeserializationMethod · 0.80
DeserializationMethod · 0.80
DecodeValueFunction · 0.80

Calls 1

NextBytesMethod · 0.95

Tested by

no test coverage detected