Skip to main content

ReadBlockHash

func ReadBlockHash(ctx context.Context, seed io.ReaderAt, seedSize, blockIndex uint64) (Digest, error)

ReadBlockHash reads one raw digest from a random-access seed file.

Parameters

NameTypeDescription
ctxcontext.ContextParameter ctx of ReadBlockHash.
seedio.ReaderAtParameter seed of ReadBlockHash.
seedSizeuint64Parameter seedSize of ReadBlockHash.
blockIndexuint64Parameter blockIndex of ReadBlockHash.

Returns

(Digest, error)

Source

This page is generated from SDK source metadata and the translation catalog.