Package nxt
Class PhasingParams
- java.lang.Object
-
- nxt.PhasingParams
-
public final class PhasingParams extends java.lang.Object
Class for handling phasing parameters shared betweenAppendix.Phasing
andAccountRestrictions.PhasingOnly
-
-
Constructor Summary
Constructors Constructor Description PhasingParams(byte votingModel, long holdingId, long quorum, long minBalance, byte minBalanceModel, long[] whitelist)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
long
getQuorum()
VoteWeighting
getVoteWeighting()
long[]
getWhitelist()
int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
getQuorum
public long getQuorum()
-
getWhitelist
public long[] getWhitelist()
-
getVoteWeighting
public VoteWeighting getVoteWeighting()
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-