Package nxt.shuffling
Class ShufflingProcessingAttachment
java.lang.Object
nxt.blockchain.Appendix.AbstractAppendix
nxt.blockchain.Attachment.AbstractAttachment
nxt.shuffling.AbstractShufflingAttachment
nxt.shuffling.ShufflingProcessingAttachment
- All Implemented Interfaces:
Appendix,Appendix.Prunable,Attachment,ShufflingAttachment
public final class ShufflingProcessingAttachment
extends AbstractShufflingAttachment
implements Appendix.Prunable
-
Nested Class Summary
Nested classes/interfaces inherited from interface nxt.blockchain.Appendix
Appendix.AbstractAppendix, Appendix.Encryptable, Appendix.Parser, Appendix.PrunableNested classes/interfaces inherited from interface nxt.blockchain.Attachment
Attachment.AbstractAttachment, Attachment.EmptyAttachment, Attachment.PropertyDeleteAttachment -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbyte[][]getData()byte[]getHash()intprotected intbooleanvoidloadPrunable(Transaction transaction, boolean includeExpiredPrunable) protected voidputMyBytes(ByteBuffer buffer) protected voidputMyJSON(org.json.simple.JSONObject attachment) voidputMyPrunableBytes(ByteBuffer buffer) voidrestorePrunableData(Transaction transaction, int blockTimestamp, int height) Methods inherited from class nxt.shuffling.AbstractShufflingAttachment
getShufflingFullHash, getShufflingStateHashMethods inherited from class nxt.blockchain.Attachment.AbstractAttachment
apply, getAppendixName, getAppendixType, getBaselineFee, getBaselineFeeHeight, getFinishValidationHeight, getNextFee, getNextFeeHeight, isAllowed, isPhasable, validate, validateIdMethods inherited from class nxt.blockchain.Appendix.AbstractAppendix
getFee, getFullSize, getJSONObject, getSize, getVersion, isPhased, loadPrunable, putBytes, validateAtFinish, verifyVersionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface nxt.blockchain.Appendix
getAppendixType, getBaselineFee, getBaselineFeeHeight, getFee, getFullSize, getJSONObject, getNextFee, getNextFeeHeight, getSize, getVersion, isAllowed, isPhased, putBytesMethods inherited from interface nxt.blockchain.Appendix.Prunable
shouldLoadPrunable
-
Field Details
-
appendixParser
-
-
Method Details
-
getMyFullSize
public int getMyFullSize()- Specified by:
getMyFullSizein interfaceAppendix.Prunable
-
getMySize
protected int getMySize()- Overrides:
getMySizein classAbstractShufflingAttachment
-
putMyBytes
- Overrides:
putMyBytesin classAbstractShufflingAttachment
-
putMyPrunableBytes
- Specified by:
putMyPrunableBytesin interfaceAppendix.Prunable
-
putMyJSON
protected void putMyJSON(org.json.simple.JSONObject attachment) - Overrides:
putMyJSONin classAbstractShufflingAttachment
-
getTransactionType
- Specified by:
getTransactionTypein interfaceAttachment
-
getHash
public byte[] getHash()- Specified by:
getHashin interfaceAppendix.Prunable
-
getData
public byte[][] getData() -
loadPrunable
- Overrides:
loadPrunablein classAppendix.AbstractAppendix
-
hasPrunableData
public boolean hasPrunableData()- Specified by:
hasPrunableDatain interfaceAppendix.Prunable
-
restorePrunableData
- Specified by:
restorePrunableDatain interfaceAppendix.Prunable
-