Package nxt.blockchain.atomictxs
Class AtomicChildAppendix
java.lang.Object
nxt.blockchain.Appendix.AbstractAppendix
nxt.blockchain.atomictxs.AtomicChildAppendix
- All Implemented Interfaces:
Appendix
-
Nested Class Summary
Nested classes/interfaces inherited from interface nxt.blockchain.Appendix
Appendix.AbstractAppendix, Appendix.Encryptable, Appendix.Parser, Appendix.Prunable -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Appendix.Parserstatic final intstatic final byte[]static final short -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(Transaction transaction, Account senderAccount, Account recipientAccount) static AtomicChildAppendixget(Transaction childTransaction) intbyte[]protected intbooleanbooleanprotected voidputMyBytes(ByteBuffer buffer) protected voidputMyJSON(org.json.simple.JSONObject json) voidvalidate(Transaction transaction) static voidzeroChildFullHash(byte[] transactionBytes, byte[] childFullHash) Methods inherited from class nxt.blockchain.Appendix.AbstractAppendix
getBaselineFee, getBaselineFeeHeight, getFee, getFullSize, getJSONObject, getNextFee, getNextFeeHeight, getSize, getVersion, isPhased, loadPrunable, loadPrunable, putBytes, validateAtFinish, validateId, verifyVersion
-
Field Details
-
appendixType
public static final int appendixType- See Also:
-
appendixName
- See Also:
-
MAGIC_HEADER
public static final byte[] MAGIC_HEADER -
MAGIC_HEADER_SHORT_LE
public static final short MAGIC_HEADER_SHORT_LE- See Also:
-
appendixParser
-
-
Constructor Details
-
AtomicChildAppendix
public AtomicChildAppendix(byte[] childFullHash)
-
-
Method Details
-
getAppendixType
public int getAppendixType() -
isAllowed
-
getAppendixName
- Specified by:
getAppendixNamein classAppendix.AbstractAppendix
-
getMySize
protected int getMySize()- Specified by:
getMySizein classAppendix.AbstractAppendix
-
putMyBytes
- Specified by:
putMyBytesin classAppendix.AbstractAppendix
-
putMyJSON
protected void putMyJSON(org.json.simple.JSONObject json) - Specified by:
putMyJSONin classAppendix.AbstractAppendix
-
validate
- Specified by:
validatein classAppendix.AbstractAppendix- Throws:
NxtException.ValidationException
-
zeroChildFullHash
public static void zeroChildFullHash(byte[] transactionBytes, byte[] childFullHash) throws NxtException.ValidationException - Throws:
NxtException.ValidationException
-
apply
- Specified by:
applyin classAppendix.AbstractAppendix
-
isPhasable
public boolean isPhasable()- Specified by:
isPhasablein classAppendix.AbstractAppendix
-
getChildFullHash
public byte[] getChildFullHash() -
get
-