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
-
Constructor Summary
ConstructorDescriptionExistenceProofBody
(LedgerKey[] keysToProve, ColdArchiveBucketEntry[] lowBoundEntries, ColdArchiveBucketEntry[] highBoundEntries, ProofLevel[] proofLevels) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static ExistenceProofBody
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static ExistenceProofBody
fromXdrBase64
(String xdr) static ExistenceProofBody
fromXdrByteArray
(byte[] xdr) int
hashCode()
void
setHighBoundEntries
(ColdArchiveBucketEntry[] highBoundEntries) void
setKeysToProve
(LedgerKey[] keysToProve) void
setLowBoundEntries
(ColdArchiveBucketEntry[] lowBoundEntries) void
setProofLevels
(ProofLevel[] proofLevels) toString()
default String
default 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
-