public final class ShufflingProcessingAttachment extends AbstractShufflingAttachment implements Appendix.Prunable
Attachment.AbstractAttachment, Attachment.EmptyAttachment, Attachment.PropertyDeleteAttachment
Appendix.AbstractAppendix, Appendix.Encryptable, Appendix.Parser, Appendix.Prunable
Modifier and Type | Field and Description |
---|---|
static Appendix.Parser |
appendixParser |
Modifier and Type | Method and Description |
---|---|
byte[][] |
getData() |
byte[] |
getHash() |
int |
getMyFullSize() |
protected int |
getMySize() |
TransactionType |
getTransactionType() |
boolean |
hasPrunableData() |
void |
loadPrunable(Transaction transaction,
boolean includeExpiredPrunable) |
protected void |
putMyBytes(java.nio.ByteBuffer buffer) |
protected void |
putMyJSON(org.json.simple.JSONObject attachment) |
void |
putMyPrunableBytes(java.nio.ByteBuffer buffer) |
void |
restorePrunableData(Transaction transaction,
int blockTimestamp,
int height) |
getShufflingFullHash, getShufflingStateHash
apply, getAppendixName, getAppendixType, getBaselineFee, getBaselineFeeHeight, getFinishValidationHeight, getNextFee, getNextFeeHeight, isAllowed, isPhasable, validate, validateId
getFee, getFullSize, getJSONObject, getSize, getVersion, isPhased, loadPrunable, putBytes, validateAtFinish, verifyVersion
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
shouldLoadPrunable
getAppendixType, getBaselineFee, getBaselineFeeHeight, getFee, getFullSize, getJSONObject, getNextFee, getNextFeeHeight, getSize, getVersion, hasAppendix, isAllowed, isPhased, putBytes
public static final Appendix.Parser appendixParser
public int getMyFullSize()
getMyFullSize
in interface Appendix.Prunable
protected int getMySize()
getMySize
in class AbstractShufflingAttachment
protected void putMyBytes(java.nio.ByteBuffer buffer)
putMyBytes
in class AbstractShufflingAttachment
public void putMyPrunableBytes(java.nio.ByteBuffer buffer)
putMyPrunableBytes
in interface Appendix.Prunable
protected void putMyJSON(org.json.simple.JSONObject attachment)
putMyJSON
in class AbstractShufflingAttachment
public TransactionType getTransactionType()
getTransactionType
in interface Attachment
public byte[] getHash()
getHash
in interface Appendix.Prunable
public byte[][] getData()
public void loadPrunable(Transaction transaction, boolean includeExpiredPrunable)
loadPrunable
in class Appendix.AbstractAppendix
public boolean hasPrunableData()
hasPrunableData
in interface Appendix.Prunable
public void restorePrunableData(Transaction transaction, int blockTimestamp, int height)
restorePrunableData
in interface Appendix.Prunable