public static class Appendix.PrunablePlainMessage extends Appendix.AbstractAppendix implements Appendix.Prunable
Appendix.AbstractAppendix, Appendix.AbstractEncryptedMessage, Appendix.Encryptable, Appendix.EncryptedMessage, Appendix.EncryptToSelfMessage, Appendix.Message, Appendix.Phasing, Appendix.Prunable, Appendix.PrunableEncryptedMessage, Appendix.PrunablePlainMessage, Appendix.PublicKeyAnnouncement, Appendix.UnencryptedEncryptedMessage, Appendix.UnencryptedEncryptToSelfMessage, Appendix.UnencryptedPrunableEncryptedMessage
Constructor and Description |
---|
PrunablePlainMessage(byte[] message) |
PrunablePlainMessage(java.lang.String string) |
PrunablePlainMessage(java.lang.String string,
boolean isText) |
Modifier and Type | Method and Description |
---|---|
Fee |
getBaselineFee(Transaction transaction) |
byte[] |
getHash() |
byte[] |
getMessage() |
boolean |
hasPrunableData() |
boolean |
isPhasable() |
boolean |
isText() |
void |
restorePrunableData(Transaction transaction,
int blockTimestamp,
int height) |
java.lang.String |
toString() |
getBaselineFeeHeight, getFullSize, getJSONObject, getNextFee, getNextFeeHeight, getSize, getVersion, putBytes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
shouldLoadPrunable
hasAppendix
public PrunablePlainMessage(byte[] message)
public PrunablePlainMessage(java.lang.String string)
public PrunablePlainMessage(java.lang.String string, boolean isText)
public Fee getBaselineFee(Transaction transaction)
getBaselineFee
in interface Appendix
getBaselineFee
in class Appendix.AbstractAppendix
public byte[] getMessage()
public boolean isText()
public byte[] getHash()
getHash
in interface Appendix.Prunable
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isPhasable()
public boolean hasPrunableData()
hasPrunableData
in interface Appendix.Prunable
public void restorePrunableData(Transaction transaction, int blockTimestamp, int height)
restorePrunableData
in interface Appendix.Prunable