public final class SetPhasingOnlyAttachment extends Attachment.AbstractAttachment
Attachment.AbstractAttachment, Attachment.EmptyAttachment, Attachment.PropertyDeleteAttachmentAppendix.AbstractAppendix, Appendix.Encryptable, Appendix.Parser, Appendix.Prunable| Constructor and Description |
|---|
SetPhasingOnlyAttachment(PhasingParams params,
java.util.SortedMap<java.lang.Integer,java.lang.Long> maxFees,
short minDuration,
short maxDuration) |
| Modifier and Type | Method and Description |
|---|---|
short |
getMaxDuration() |
java.util.SortedMap<java.lang.Integer,java.lang.Long> |
getMaxFees() |
short |
getMinDuration() |
protected int |
getMySize() |
PhasingParams |
getPhasingParams() |
TransactionType |
getTransactionType() |
protected void |
putMyBytes(java.nio.ByteBuffer buffer) |
protected void |
putMyJSON(org.json.simple.JSONObject json) |
apply, getAppendixName, getAppendixType, getBaselineFee, getBaselineFeeHeight, getFinishValidationHeight, getNextFee, getNextFeeHeight, isAllowed, isPhasable, validate, validateIdgetFee, getFullSize, getJSONObject, getSize, getVersion, isPhased, loadPrunable, loadPrunable, putBytes, validateAtFinish, verifyVersionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFee, getFullSize, getJSONObject, getSize, getVersion, hasAppendix, isPhased, putBytespublic SetPhasingOnlyAttachment(PhasingParams params, java.util.SortedMap<java.lang.Integer,java.lang.Long> maxFees, short minDuration, short maxDuration)
public TransactionType getTransactionType()
protected int getMySize()
getMySize in class Appendix.AbstractAppendixprotected void putMyBytes(java.nio.ByteBuffer buffer)
putMyBytes in class Appendix.AbstractAppendixprotected void putMyJSON(org.json.simple.JSONObject json)
putMyJSON in class Appendix.AbstractAppendixpublic PhasingParams getPhasingParams()
public java.util.SortedMap<java.lang.Integer,java.lang.Long> getMaxFees()
public short getMinDuration()
public short getMaxDuration()