public static final class AccountRestrictions.PhasingOnly extends PhasingControl
PhasingControl.SubPoll
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_ACCOUNT_CONTROL_VARIABLE |
params
Modifier and Type | Method and Description |
---|---|
protected void |
checkTransaction(ChildTransaction transaction) |
static AccountRestrictions.PhasingOnly |
get(long accountId) |
long |
getAccountId() |
static DbIterator<AccountRestrictions.PhasingOnly> |
getAll(int from,
int to) |
java.lang.String |
getControlType() |
static int |
getCount() |
java.lang.String |
getDefaultControlVariable() |
short |
getMaxDuration() |
java.util.Map<java.lang.Integer,java.lang.Long> |
getMaxFees() |
short |
getMinDuration() |
static void |
importPhasingOnly(long accountId,
long[] whitelist,
int quorum,
long maxFees,
int minDuration,
int maxDuration) |
static void |
set(Account senderAccount,
SetPhasingOnlyAttachment attachment) |
checkPhasing, getPhasingParams, init
public static final java.lang.String DEFAULT_ACCOUNT_CONTROL_VARIABLE
public static AccountRestrictions.PhasingOnly get(long accountId)
public static int getCount()
public static DbIterator<AccountRestrictions.PhasingOnly> getAll(int from, int to)
public static void set(Account senderAccount, SetPhasingOnlyAttachment attachment)
public static void importPhasingOnly(long accountId, long[] whitelist, int quorum, long maxFees, int minDuration, int maxDuration)
public final java.lang.String getControlType()
getControlType
in class PhasingControl
public final java.lang.String getDefaultControlVariable()
getDefaultControlVariable
in class PhasingControl
public long getAccountId()
public java.util.Map<java.lang.Integer,java.lang.Long> getMaxFees()
public short getMinDuration()
public short getMaxDuration()
protected void checkTransaction(ChildTransaction transaction) throws NxtException.AccountControlException
checkTransaction
in class PhasingControl
NxtException.AccountControlException