Package org.stellar.sdk.xdr
Class ArchivalProof
java.lang.Object
org.stellar.sdk.xdr.ArchivalProof
ArchivalProof's original definition in the XDR file is:
struct ArchivalProof
{
uint32 epoch; // AST Subtree for this proof
union switch (ArchivalProofType t)
{
case EXISTENCE:
NonexistenceProofBody nonexistenceProof;
case NONEXISTENCE:
ExistenceProofBody existenceProof;
} body;
};
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classArchivalProofBody's original definition in the XDR file is:static class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static ArchivalProofdecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic ArchivalProoffromXdrBase64(String xdr) static ArchivalProoffromXdrByteArray(byte[] xdr) getBody()getEpoch()inthashCode()voidvoidtoString()default Stringdefault byte[]
-
Constructor Details
-
ArchivalProof
public ArchivalProof() -
ArchivalProof
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getEpoch
-
getBody
-
setEpoch
-
setBody
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-