Package nxt.account
Class AccountRestrictions.PhasingOnly
java.lang.Object
nxt.voting.PhasingControl
nxt.account.AccountRestrictions.PhasingOnly
- Enclosing class:
- AccountRestrictions
-
Nested Class Summary
Nested classes/interfaces inherited from class nxt.voting.PhasingControl
PhasingControl.SubPoll -
Field Summary
FieldsFields inherited from class nxt.voting.PhasingControl
params -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcheckTransaction(ChildTransaction transaction) get(long accountId) longgetAll(int from, int to) final Stringstatic intgetCount()final Stringshortshortstatic voidimportPhasingOnly(long accountId, long[] whitelist, int quorum, long maxFees, int minDuration, int maxDuration) static voidset(Account senderAccount, SetPhasingOnlyAttachment attachment) Methods inherited from class nxt.voting.PhasingControl
checkPhasing, getPhasingParams, init
-
Field Details
-
DEFAULT_ACCOUNT_CONTROL_VARIABLE
- See Also:
-
-
Method Details
-
get
-
getCount
public static int getCount() -
getAll
-
set
-
importPhasingOnly
public static void importPhasingOnly(long accountId, long[] whitelist, int quorum, long maxFees, int minDuration, int maxDuration) -
getControlType
- Specified by:
getControlTypein classPhasingControl
-
getDefaultControlVariable
- Specified by:
getDefaultControlVariablein classPhasingControl
-
getAccountId
public long getAccountId() -
getMaxFees
-
getMinDuration
public short getMinDuration() -
getMaxDuration
public short getMaxDuration() -
checkTransaction
protected void checkTransaction(ChildTransaction transaction) throws NxtException.AccountControlException - Specified by:
checkTransactionin classPhasingControl- Throws:
NxtException.AccountControlException
-