VerifyBlock
func VerifyBlock(ctx context.Context, block []byte, expected Digest) (Digest, error)
函数 VerifyBlock:处理 MasterSeed V1 数据种子。
参数
| 名称 | 类型 | 说明 |
|---|---|---|
ctx | context.Context | 参数 ctx:为 VerifyBlock 提供所需输入。 |
block | []byte | 参数 block:为 VerifyBlock 提供所需输入。 |
expected | Digest | 参数 expected:为 VerifyBlock 提供所需输入。 |
返回值
(Digest, error)
来源
此页面由 TypeDoc/Go AST 元数据和中文翻译目录生成。标识符、类型、错误码和代码示例保持不译。