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
-
Constructor Summary
ConstructorDescriptionPersistedSCPStateV0
(SCPEnvelope[] scpEnvelopes, SCPQuorumSet[] quorumSets, StoredTransactionSet[] txSets) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static PersistedSCPStateV0
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static PersistedSCPStateV0
fromXdrBase64
(String xdr) static PersistedSCPStateV0
fromXdrByteArray
(byte[] xdr) int
hashCode()
void
setQuorumSets
(SCPQuorumSet[] quorumSets) void
setScpEnvelopes
(SCPEnvelope[] scpEnvelopes) void
setTxSets
(StoredTransactionSet[] txSets) toString()
default String
default 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
-