Package nxt.blockchain
Class ChildBlockFxtTransactionType
java.lang.Object
nxt.blockchain.TransactionType
nxt.blockchain.FxtTransactionType
nxt.blockchain.ChildBlockFxtTransactionType
-
Field Summary
FieldsFields inherited from class nxt.blockchain.FxtTransactionType
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyAttachment(FxtTransactionImpl transaction, Account senderAccount, Account recipientAccount) protected booleanapplyAttachmentUnconfirmed(FxtTransactionImpl transaction, Account senderAccount) booleangetBaselineFee(Transaction transaction) protected final List<ChildChain>getInvolvedChildChains(FxtTransactionImpl transaction) getName()bytebytegetType()booleanisDuplicate(Transaction transaction, Map<TransactionType, Map<String, Integer>> duplicates) parseAttachment(ByteBuffer buffer) parseAttachment(org.json.simple.JSONObject attachmentData) protected voidundoAttachmentUnconfirmed(FxtTransactionImpl transaction, Account senderAccount) protected voidvalidateAttachment(FxtTransactionImpl transaction) Methods inherited from class nxt.blockchain.FxtTransactionType
apply, applyAttachment, applyAttachmentUnconfirmed, applyUnconfirmed, findTransactionType, getInvolvedChildChains, isGlobal, isPhasingSafe, undoAttachmentUnconfirmed, undoUnconfirmed, validateAttachment, validateId, validateIdMethods inherited from class nxt.blockchain.TransactionType
getBaselineFeeHeight, getNextFee, getNextFeeHeight, isBlockDuplicate, isDuplicate, isDuplicate, isPhasable, isPruned, isUnconfirmedDuplicate, mustHaveRecipient, toString
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ChildBlockFxtTransactionType
public ChildBlockFxtTransactionType()
-
-
Method Details
-
getType
public byte getType()- Specified by:
getTypein classTransactionType
-
getSubtype
public byte getSubtype()- Specified by:
getSubtypein classTransactionType
-
getLedgerEvent
- Specified by:
getLedgerEventin classTransactionType
-
parseAttachment
- Specified by:
parseAttachmentin classTransactionType
-
parseAttachment
public Attachment.AbstractAttachment parseAttachment(org.json.simple.JSONObject attachmentData) throws NxtException.NotValidException - Specified by:
parseAttachmentin classTransactionType- Throws:
NxtException.NotValidException
-
validateAttachment
protected void validateAttachment(FxtTransactionImpl transaction) throws NxtException.ValidationException - Specified by:
validateAttachmentin classFxtTransactionType- Throws:
NxtException.ValidationException
-
applyAttachmentUnconfirmed
- Specified by:
applyAttachmentUnconfirmedin classFxtTransactionType
-
applyAttachment
protected void applyAttachment(FxtTransactionImpl transaction, Account senderAccount, Account recipientAccount) - Specified by:
applyAttachmentin classFxtTransactionType
-
undoAttachmentUnconfirmed
- Specified by:
undoAttachmentUnconfirmedin classFxtTransactionType
-
canHaveRecipient
public boolean canHaveRecipient()- Specified by:
canHaveRecipientin classTransactionType
-
getName
- Specified by:
getNamein classTransactionType
-
getBaselineFee
- Overrides:
getBaselineFeein classFxtTransactionType
-
isDuplicate
public boolean isDuplicate(Transaction transaction, Map<TransactionType, Map<String, Integer>> duplicates) - Overrides:
isDuplicatein classTransactionType
-
getInvolvedChildChains
- Overrides:
getInvolvedChildChainsin classFxtTransactionType
-