Package org.stellar.sdk.xdr
Class PersistedSCPStateV0
java.lang.Object
org.stellar.sdk.xdr.PersistedSCPStateV0
PersistedSCPStateV0's original definition in the XDR file is:
struct PersistedSCPStateV0
{
SCPEnvelope scpEnvelopes<>;
SCPQuorumSet quorumSets<>;
StoredTransactionSet txSets<>;
};
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionPersistedSCPStateV0(SCPEnvelope[] scpEnvelopes, SCPQuorumSet[] quorumSets, StoredTransactionSet[] txSets) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static PersistedSCPStateV0decode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic PersistedSCPStateV0fromXdrBase64(String xdr) static PersistedSCPStateV0fromXdrByteArray(byte[] xdr) inthashCode()voidsetQuorumSets(SCPQuorumSet[] quorumSets) voidsetScpEnvelopes(SCPEnvelope[] scpEnvelopes) voidsetTxSets(StoredTransactionSet[] txSets) toString()default Stringdefault byte[]
-
Constructor Details
-
PersistedSCPStateV0
public PersistedSCPStateV0() -
PersistedSCPStateV0
public PersistedSCPStateV0(SCPEnvelope[] scpEnvelopes, SCPQuorumSet[] quorumSets, StoredTransactionSet[] txSets)
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getScpEnvelopes
-
getQuorumSets
-
getTxSets
-
setScpEnvelopes
-
setQuorumSets
-
setTxSets
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-