| 程序包 | 说明 |
|---|---|
| com.alipay.mychain.sdk.domain.consensus | |
| com.alipay.mychain.sdk.domain.spv | |
| com.alipay.mychain.sdk.message.detect |
| 限定符和类型 | 方法和说明 |
|---|---|
static ConsensusAlgorithmType |
ConsensusAlgorithmType.forNumber(int value) |
static ConsensusAlgorithmType |
ConsensusAlgorithmType.getType(int value)
Get type consensus algorithm type.
|
static ConsensusAlgorithmType |
ConsensusAlgorithmType.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static ConsensusAlgorithmType[] |
ConsensusAlgorithmType.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
ConsensusAlgorithmType |
BlockProofInfo.getType() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
BlockProofInfo.setType(ConsensusAlgorithmType type) |
| 构造器和说明 |
|---|
BlockProofInfo(ConsensusAlgorithmType type,
byte[] proof) |
| 限定符和类型 | 方法和说明 |
|---|---|
ConsensusAlgorithmType |
MockConsensusResponse.getType() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
MockConsensusResponse.setType(ConsensusAlgorithmType type) |
| 构造器和说明 |
|---|
MockConsensusResponse(ConsensusAlgorithmType type,
List<byte[]> mockResults) |
Copyright © 2022. All rights reserved.