Package org.stellar.sdk.xdr
Class PersistedSCPStateV1
java.lang.Object
org.stellar.sdk.xdr.PersistedSCPStateV1
PersistedSCPStateV1's original definition in the XDR file is:
struct PersistedSCPStateV1
{
// Tx sets are saved separately
SCPEnvelope scpEnvelopes<>;
SCPQuorumSet quorumSets<>;
};
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static PersistedSCPStateV1decode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic PersistedSCPStateV1fromXdrBase64(String xdr) static PersistedSCPStateV1fromXdrByteArray(byte[] xdr) inthashCode()voidsetQuorumSets(SCPQuorumSet[] quorumSets) voidsetScpEnvelopes(SCPEnvelope[] scpEnvelopes) toString()default Stringdefault byte[]
-
Constructor Details
-
PersistedSCPStateV1
public PersistedSCPStateV1() -
PersistedSCPStateV1
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getScpEnvelopes
-
getQuorumSets
-
setScpEnvelopes
-
setQuorumSets
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-