Package org.stellar.sdk.xdr
Class NonexistenceProofBody
java.lang.Object
org.stellar.sdk.xdr.NonexistenceProofBody
- All Implemented Interfaces:
XdrElement
NonexistenceProofBody's original definition in the XDR file is:
struct NonexistenceProofBody
{
ColdArchiveBucketEntry entriesToProve<>;
// Vector of vectors, where proofLevels[level]
// contains all HashNodes that correspond with that level
ProofLevel proofLevels<>;
};
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionNonexistenceProofBody(ColdArchiveBucketEntry[] entriesToProve, ProofLevel[] proofLevels) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static NonexistenceProofBodydecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic NonexistenceProofBodyfromXdrBase64(String xdr) static NonexistenceProofBodyfromXdrByteArray(byte[] xdr) inthashCode()voidsetEntriesToProve(ColdArchiveBucketEntry[] entriesToProve) voidsetProofLevels(ProofLevel[] proofLevels) toString()Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
NonexistenceProofBody
public NonexistenceProofBody() -
NonexistenceProofBody
-
-
Method Details
-
encode
- Specified by:
encodein interfaceXdrElement- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getEntriesToProve
-
getProofLevels
-
setEntriesToProve
-
setProofLevels
-
equals
-
hashCode
public int hashCode() -
toString
-