public abstract class ChildChainControlTransactionType extends ChildTransactionType
TYPE_ACCOUNT_CONTROL, TYPE_ACCOUNT_PROPERTY, TYPE_ALIASES, TYPE_ASSET_EXCHANGE, TYPE_CHILD_CHAIN_CONTROL, TYPE_COIN_EXCHANGE, TYPE_DATA, TYPE_DIGITAL_GOODS, TYPE_LIGHT_CONTRACT, TYPE_MESSAGING, TYPE_MONETARY_SYSTEM, TYPE_PAYMENT, TYPE_SHUFFLING, TYPE_VOTING
Constructor and Description |
---|
ChildChainControlTransactionType() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
applyAttachmentUnconfirmed(ChildTransactionImpl transaction,
Account senderAccount) |
boolean |
canHaveRecipient() |
static TransactionType |
findTransactionType(byte subtype) |
byte |
getType() |
boolean |
isDuplicate(Transaction transaction,
java.util.Map<TransactionType,java.util.Map<java.lang.String,java.lang.Integer>> duplicates) |
boolean |
isGlobal() |
boolean |
isPhasingSafe()
Transaction is Phasing Unsafe if it's validity may change between the height it is accepted in the blockchain
and the height it is executed.
|
protected void |
undoAttachmentUnconfirmed(ChildTransactionImpl transaction,
Account senderAccount) |
apply, applyAttachment, applyAttachment, applyAttachmentUnconfirmed, applyUnconfirmed, findTransactionType, getBaselineFee, getInvolvedChildChains, getInvolvedChildChains, undoAttachmentUnconfirmed, undoUnconfirmed, validateAttachment, validateAttachment, validateId, validateId
getBaselineFeeHeight, getLedgerEvent, getName, getNextFee, getNextFeeHeight, getSubtype, isBlockDuplicate, isDuplicate, isDuplicate, isPhasable, isPruned, isUnconfirmedDuplicate, mustHaveRecipient, parseAttachment, parseAttachment, toString
public static TransactionType findTransactionType(byte subtype)
protected boolean applyAttachmentUnconfirmed(ChildTransactionImpl transaction, Account senderAccount)
applyAttachmentUnconfirmed
in class ChildTransactionType
protected void undoAttachmentUnconfirmed(ChildTransactionImpl transaction, Account senderAccount)
undoAttachmentUnconfirmed
in class ChildTransactionType
public byte getType()
getType
in class TransactionType
public boolean canHaveRecipient()
canHaveRecipient
in class TransactionType
public boolean isPhasingSafe()
TransactionType
isPhasingSafe
in class TransactionType
public boolean isGlobal()
isGlobal
in class TransactionType
public boolean isDuplicate(Transaction transaction, java.util.Map<TransactionType,java.util.Map<java.lang.String,java.lang.Integer>> duplicates)
isDuplicate
in class TransactionType