Package org.stellar.sdk.xdr
Class SCPHistoryEntryV0
java.lang.Object
org.stellar.sdk.xdr.SCPHistoryEntryV0
SCPHistoryEntryV0's original definition in the XDR file is:
struct SCPHistoryEntryV0 { SCPQuorumSet quorumSets<>; // additional quorum sets used by ledgerMessages LedgerSCPMessages ledgerMessages; };
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionSCPHistoryEntryV0
(SCPQuorumSet[] quorumSets, LedgerSCPMessages ledgerMessages) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static SCPHistoryEntryV0
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static SCPHistoryEntryV0
fromXdrBase64
(String xdr) static SCPHistoryEntryV0
fromXdrByteArray
(byte[] xdr) int
hashCode()
void
setLedgerMessages
(LedgerSCPMessages ledgerMessages) void
setQuorumSets
(SCPQuorumSet[] quorumSets) toString()
default String
default byte[]
-
Constructor Details
-
SCPHistoryEntryV0
public SCPHistoryEntryV0() -
SCPHistoryEntryV0
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getQuorumSets
-
getLedgerMessages
-
setQuorumSets
-
setLedgerMessages
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-