Package nxt.shuffling
Class AbstractShufflingAttachment
java.lang.Object
nxt.blockchain.Appendix.AbstractAppendix
nxt.blockchain.Attachment.AbstractAttachment
nxt.shuffling.AbstractShufflingAttachment
- All Implemented Interfaces:
Appendix,Attachment,ShufflingAttachment
- Direct Known Subclasses:
ShufflingCancellationAttachment,ShufflingProcessingAttachment,ShufflingRecipientsAttachment,ShufflingVerificationAttachment
public abstract class AbstractShufflingAttachment
extends Attachment.AbstractAttachment
implements ShufflingAttachment
-
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 -
Method Summary
Modifier and TypeMethodDescriptionprotected intfinal byte[]final byte[]protected voidputMyBytes(ByteBuffer buffer) protected voidputMyJSON(org.json.simple.JSONObject attachment) Methods 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, 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.Attachment
getTransactionType
-
Method Details
-
getMySize
protected int getMySize()- Specified by:
getMySizein classAppendix.AbstractAppendix
-
putMyBytes
- Specified by:
putMyBytesin classAppendix.AbstractAppendix
-
putMyJSON
protected void putMyJSON(org.json.simple.JSONObject attachment) - Specified by:
putMyJSONin classAppendix.AbstractAppendix
-
getShufflingFullHash
public final byte[] getShufflingFullHash()- Specified by:
getShufflingFullHashin interfaceShufflingAttachment
-
getShufflingStateHash
public final byte[] getShufflingStateHash()- Specified by:
getShufflingStateHashin interfaceShufflingAttachment
-