Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Interface HistoryProofOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
HistoryProof,HistoryProof.Builder
@Generated
public interface HistoryProofOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescription* The proof of chain of trust from the ledger id to the target history's metadata.* The target history of the proof.getTargetProofKeys(int index) * The proof keys for the target address book, needed to keep constructing proofs after adopting the target address book's roster at a handoff.int* The proof keys for the target address book, needed to keep constructing proofs after adopting the target address book's roster at a handoff.* The proof keys for the target address book, needed to keep constructing proofs after adopting the target address book's roster at a handoff.com.google.protobuf.ByteString* If set, the uncompressed proof of chain of trust from the ledger id to the target address book; the uncompressed version of the WRAPS proof is required to keep extending the chain of trust.boolean* The proof of chain of trust from the ledger id to the target history's metadata.boolean* The target history of the proof.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getTargetProofKeysList
* The proof keys for the target address book, needed to keep constructing proofs after adopting the target address book's roster at a handoff.
repeated .com.hedera.hapi.node.state.history.ProofKey target_proof_keys = 1; -
getTargetProofKeys
* The proof keys for the target address book, needed to keep constructing proofs after adopting the target address book's roster at a handoff.
repeated .com.hedera.hapi.node.state.history.ProofKey target_proof_keys = 1; -
getTargetProofKeysCount
int getTargetProofKeysCount()* The proof keys for the target address book, needed to keep constructing proofs after adopting the target address book's roster at a handoff.
repeated .com.hedera.hapi.node.state.history.ProofKey target_proof_keys = 1; -
hasTargetHistory
boolean hasTargetHistory()* The target history of the proof.
.com.hedera.hapi.node.state.history.History target_history = 2;- Returns:
- Whether the targetHistory field is set.
-
getTargetHistory
History getTargetHistory()* The target history of the proof.
.com.hedera.hapi.node.state.history.History target_history = 2;- Returns:
- The targetHistory.
-
hasChainOfTrustProof
boolean hasChainOfTrustProof()* The proof of chain of trust from the ledger id to the target history's metadata. May be switched from AggregatedNodeSignatures to a recursive proof when one becomes available.
.com.hedera.hapi.node.state.history.ChainOfTrustProof chain_of_trust_proof = 3;- Returns:
- Whether the chainOfTrustProof field is set.
-
getChainOfTrustProof
ChainOfTrustProof getChainOfTrustProof()* The proof of chain of trust from the ledger id to the target history's metadata. May be switched from AggregatedNodeSignatures to a recursive proof when one becomes available.
.com.hedera.hapi.node.state.history.ChainOfTrustProof chain_of_trust_proof = 3;- Returns:
- The chainOfTrustProof.
-
getUncompressedWrapsProof
com.google.protobuf.ByteString getUncompressedWrapsProof()* If set, the uncompressed proof of chain of trust from the ledger id to the target address book; the uncompressed version of the WRAPS proof is required to keep extending the chain of trust.
bytes uncompressed_wraps_proof = 4;- Returns:
- The uncompressedWrapsProof.
-