public final class ChildBlockFxtTransactionType extends FxtTransactionType
Modifier and Type | Field and Description |
---|---|
static ChildBlockFxtTransactionType |
INSTANCE |
SUBTYPE_ACCOUNT_CONTROL_EFFECTIVE_BALANCE_LEASING, SUBTYPE_CHILDCHAIN_BLOCK, SUBTYPE_PAYMENT_ORDINARY_PAYMENT, TYPE_ACCOUNT_CONTROL, TYPE_CHILDCHAIN_BLOCK, TYPE_COIN_EXCHANGE, TYPE_PAYMENT
Constructor and Description |
---|
ChildBlockFxtTransactionType() |
Modifier and Type | Method and Description |
---|---|
protected void |
applyAttachment(FxtTransactionImpl transaction,
Account senderAccount,
Account recipientAccount) |
protected boolean |
applyAttachmentUnconfirmed(FxtTransactionImpl transaction,
Account senderAccount) |
boolean |
canHaveRecipient() |
Fee |
getBaselineFee(Transaction transaction) |
protected java.util.List<ChildChain> |
getInvolvedChildChains(FxtTransactionImpl transaction) |
AccountLedger.LedgerEvent |
getLedgerEvent() |
java.lang.String |
getName() |
byte |
getSubtype() |
byte |
getType() |
boolean |
isDuplicate(Transaction transaction,
java.util.Map<TransactionType,java.util.Map<java.lang.String,java.lang.Integer>> duplicates) |
Attachment.AbstractAttachment |
parseAttachment(java.nio.ByteBuffer buffer) |
Attachment.AbstractAttachment |
parseAttachment(org.json.simple.JSONObject attachmentData) |
protected void |
undoAttachmentUnconfirmed(FxtTransactionImpl transaction,
Account senderAccount) |
protected void |
validateAttachment(FxtTransactionImpl transaction) |
apply, applyAttachment, applyAttachmentUnconfirmed, applyUnconfirmed, findTransactionType, getInvolvedChildChains, isGlobal, isPhasingSafe, undoAttachmentUnconfirmed, undoUnconfirmed, validateAttachment, validateId, validateId
getBaselineFeeHeight, getNextFee, getNextFeeHeight, isBlockDuplicate, isDuplicate, isDuplicate, isPhasable, isPruned, isUnconfirmedDuplicate, mustHaveRecipient, toString
public static final ChildBlockFxtTransactionType INSTANCE
public byte getType()
getType
in class TransactionType
public byte getSubtype()
getSubtype
in class TransactionType
public AccountLedger.LedgerEvent getLedgerEvent()
getLedgerEvent
in class TransactionType
public Attachment.AbstractAttachment parseAttachment(java.nio.ByteBuffer buffer)
parseAttachment
in class TransactionType
public Attachment.AbstractAttachment parseAttachment(org.json.simple.JSONObject attachmentData) throws NxtException.NotValidException
parseAttachment
in class TransactionType
NxtException.NotValidException
protected void validateAttachment(FxtTransactionImpl transaction) throws NxtException.ValidationException
validateAttachment
in class FxtTransactionType
NxtException.ValidationException
protected boolean applyAttachmentUnconfirmed(FxtTransactionImpl transaction, Account senderAccount)
applyAttachmentUnconfirmed
in class FxtTransactionType
protected void applyAttachment(FxtTransactionImpl transaction, Account senderAccount, Account recipientAccount)
applyAttachment
in class FxtTransactionType
protected void undoAttachmentUnconfirmed(FxtTransactionImpl transaction, Account senderAccount)
undoAttachmentUnconfirmed
in class FxtTransactionType
public boolean canHaveRecipient()
canHaveRecipient
in class TransactionType
public java.lang.String getName()
getName
in class TransactionType
public Fee getBaselineFee(Transaction transaction)
getBaselineFee
in class FxtTransactionType
public boolean isDuplicate(Transaction transaction, java.util.Map<TransactionType,java.util.Map<java.lang.String,java.lang.Integer>> duplicates)
isDuplicate
in class TransactionType
protected final java.util.List<ChildChain> getInvolvedChildChains(FxtTransactionImpl transaction)
getInvolvedChildChains
in class FxtTransactionType