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, validateIdgetBaselineFeeHeight, getNextFee, getNextFeeHeight, isBlockDuplicate, isDuplicate, isDuplicate, isPhasable, isPruned, isUnconfirmedDuplicate, mustHaveRecipient, toStringpublic static final ChildBlockFxtTransactionType INSTANCE
public byte getType()
getType in class TransactionTypepublic byte getSubtype()
getSubtype in class TransactionTypepublic AccountLedger.LedgerEvent getLedgerEvent()
getLedgerEvent in class TransactionTypepublic Attachment.AbstractAttachment parseAttachment(java.nio.ByteBuffer buffer)
parseAttachment in class TransactionTypepublic Attachment.AbstractAttachment parseAttachment(org.json.simple.JSONObject attachmentData) throws NxtException.NotValidException
parseAttachment in class TransactionTypeNxtException.NotValidExceptionprotected void validateAttachment(FxtTransactionImpl transaction) throws NxtException.ValidationException
validateAttachment in class FxtTransactionTypeNxtException.ValidationExceptionprotected boolean applyAttachmentUnconfirmed(FxtTransactionImpl transaction, Account senderAccount)
applyAttachmentUnconfirmed in class FxtTransactionTypeprotected void applyAttachment(FxtTransactionImpl transaction, Account senderAccount, Account recipientAccount)
applyAttachment in class FxtTransactionTypeprotected void undoAttachmentUnconfirmed(FxtTransactionImpl transaction, Account senderAccount)
undoAttachmentUnconfirmed in class FxtTransactionTypepublic boolean canHaveRecipient()
canHaveRecipient in class TransactionTypepublic java.lang.String getName()
getName in class TransactionTypepublic Fee getBaselineFee(Transaction transaction)
getBaselineFee in class FxtTransactionTypepublic boolean isDuplicate(Transaction transaction, java.util.Map<TransactionType,java.util.Map<java.lang.String,java.lang.Integer>> duplicates)
isDuplicate in class TransactionTypeprotected final java.util.List<ChildChain> getInvolvedChildChains(FxtTransactionImpl transaction)
getInvolvedChildChains in class FxtTransactionType