findBlockHash
findBlockHash(seed: ByteSource, expectedSeedHash: Digest, sourceSize: bigint, blockHash: Digest, signal?: AbortSignal): Promise<BlockMatches>
函数 findBlockHash:处理 MasterSeed V1 数据种子。
参数
| 名称 | 类型 | 说明 |
|---|---|---|
seed | ByteSource | 参数 seed:为 findBlockHash 提供所需输入。 |
expectedSeedHash | Digest | 参数 expectedSeedHash:为 findBlockHash 提供所需输入。 |
sourceSize | bigint | 参数 sourceSize:为 findBlockHash 提供所需输入。 |
blockHash | Digest | 参数 blockHash:为 findBlockHash 提供所需输入。 |
signal | AbortSignal | 参数 signal:为 findBlockHash 提供所需输入。 |
返回值
Promise<BlockMatches>
来源
此页面由 TypeDoc/Go AST 元数据和中文翻译目录生成。标识符、类型、错误码和代码示例保持不译。