Package org.stellar.sdk.xdr
Class ExistenceProofBody
java.lang.Object
org.stellar.sdk.xdr.ExistenceProofBody
ExistenceProofBody's original definition in the XDR file is:
struct ExistenceProofBody
{
LedgerKey keysToProve<>;
// Bounds for each key being proved, where bound[n]
// corresponds to keysToProve[n]
ColdArchiveBucketEntry lowBoundEntries<>;
ColdArchiveBucketEntry highBoundEntries<>;
// Vector of vectors, where proofLevels[level]
// contains all HashNodes that correspond with that level
ProofLevel proofLevels<>;
};
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionExistenceProofBody(LedgerKey[] keysToProve, ColdArchiveBucketEntry[] lowBoundEntries, ColdArchiveBucketEntry[] highBoundEntries, ProofLevel[] proofLevels) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static ExistenceProofBodydecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic ExistenceProofBodyfromXdrBase64(String xdr) static ExistenceProofBodyfromXdrByteArray(byte[] xdr) inthashCode()voidsetHighBoundEntries(ColdArchiveBucketEntry[] highBoundEntries) voidsetKeysToProve(LedgerKey[] keysToProve) voidsetLowBoundEntries(ColdArchiveBucketEntry[] lowBoundEntries) voidsetProofLevels(ProofLevel[] proofLevels) toString()default Stringdefault byte[]
-
Constructor Details
-
ExistenceProofBody
public ExistenceProofBody() -
ExistenceProofBody
public ExistenceProofBody(LedgerKey[] keysToProve, ColdArchiveBucketEntry[] lowBoundEntries, ColdArchiveBucketEntry[] highBoundEntries, ProofLevel[] proofLevels)
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getKeysToProve
-
getLowBoundEntries
-
getHighBoundEntries
-
getProofLevels
-
setKeysToProve
-
setLowBoundEntries
-
setHighBoundEntries
-
setProofLevels
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-