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
| Name | Type | Description |
|---|---|---|
ctx | context.Context | Parameter ctx of ReadBlockHash. |
seed | io.ReaderAt | Parameter seed of ReadBlockHash. |
seedSize | uint64 | Parameter seedSize of ReadBlockHash. |
blockIndex | uint64 | Parameter blockIndex of ReadBlockHash. |
Returns
(Digest, error)
Source
This page is generated from SDK source metadata and the translation catalog.