Package org.stellar.sdk.xdr
Class SCPNomination
java.lang.Object
org.stellar.sdk.xdr.SCPNomination
SCPNomination's original definition in the XDR file is:
struct SCPNomination { Hash quorumSetHash; // D Value votes<>; // X Value accepted<>; // Y };
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static SCPNomination
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static SCPNomination
fromXdrBase64
(String xdr) static SCPNomination
fromXdrByteArray
(byte[] xdr) Value[]
Value[]
getVotes()
int
hashCode()
void
setAccepted
(Value[] accepted) void
setQuorumSetHash
(Hash quorumSetHash) void
toString()
default String
default byte[]
-
Constructor Details
-
SCPNomination
public SCPNomination() -
SCPNomination
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getQuorumSetHash
-
getVotes
-
getAccepted
-
setQuorumSetHash
-
setVotes
-
setAccepted
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-