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(byte[] message,
boolean isText) |
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 |
isText() |
void |
restorePrunableData(Transaction transaction,
int blockTimestamp,
int height) |
getBaselineFeeHeight, getFullSize, getJSONObject, getNextFee, getNextFeeHeight, getSize, getVersion, isPhased, putBytesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitshouldLoadPrunablehasAppendixpublic PrunablePlainMessage(byte[] message)
public PrunablePlainMessage(java.lang.String string)
public PrunablePlainMessage(java.lang.String string,
boolean isText)
public PrunablePlainMessage(byte[] message,
boolean isText)
public Fee getBaselineFee(Transaction transaction)
getBaselineFee in interface AppendixgetBaselineFee in class Appendix.AbstractAppendixpublic byte[] getMessage()
public boolean isText()
public byte[] getHash()
getHash in interface Appendix.Prunablepublic final boolean hasPrunableData()
hasPrunableData in interface Appendix.Prunablepublic void restorePrunableData(Transaction transaction, int blockTimestamp, int height)
restorePrunableData in interface Appendix.Prunable