public static final class Attachment.TaggedDataUpload extends Attachment.TaggedDataAttachment
Attachment.AbstractAttachment, Attachment.AbstractShufflingAttachment, Attachment.AccountControlEffectiveBalanceLeasing, Attachment.ColoredCoinsAskOrderCancellation, Attachment.ColoredCoinsAskOrderPlacement, Attachment.ColoredCoinsAssetDelete, Attachment.ColoredCoinsAssetIssuance, Attachment.ColoredCoinsAssetTransfer, Attachment.ColoredCoinsBidOrderCancellation, Attachment.ColoredCoinsBidOrderPlacement, Attachment.ColoredCoinsDividendPayment, Attachment.ColoredCoinsOrderCancellation, Attachment.ColoredCoinsOrderPlacement, Attachment.DigitalGoodsDelisting, Attachment.DigitalGoodsDelivery, Attachment.DigitalGoodsFeedback, Attachment.DigitalGoodsListing, Attachment.DigitalGoodsPriceChange, Attachment.DigitalGoodsPurchase, Attachment.DigitalGoodsQuantityChange, Attachment.DigitalGoodsRefund, Attachment.EmptyAttachment, Attachment.MessagingAccountInfo, Attachment.MessagingAccountProperty, Attachment.MessagingAccountPropertyDelete, Attachment.MessagingAliasAssignment, Attachment.MessagingAliasBuy, Attachment.MessagingAliasDelete, Attachment.MessagingAliasSell, Attachment.MessagingPhasingVoteCasting, Attachment.MessagingPollCreation, Attachment.MessagingVoteCasting, Attachment.MonetarySystemAttachment, Attachment.MonetarySystemCurrencyDeletion, Attachment.MonetarySystemCurrencyIssuance, Attachment.MonetarySystemCurrencyMinting, Attachment.MonetarySystemCurrencyTransfer, Attachment.MonetarySystemExchange, Attachment.MonetarySystemExchangeBuy, Attachment.MonetarySystemExchangeSell, Attachment.MonetarySystemPublishExchangeOffer, Attachment.MonetarySystemReserveClaim, Attachment.MonetarySystemReserveIncrease, Attachment.SetPhasingOnly, Attachment.ShufflingAttachment, Attachment.ShufflingCancellation, Attachment.ShufflingCreation, Attachment.ShufflingProcessing, Attachment.ShufflingRecipients, Attachment.ShufflingRegistration, Attachment.ShufflingVerification, Attachment.TaggedDataAttachment, Attachment.TaggedDataExtend, Attachment.TaggedDataUpload, Attachment.UnencryptedDigitalGoodsDelivery
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
ARBITRARY_MESSAGE, METIS_ACCOUNT_INFO, METIS_ARBITRARY_MESSAGE, METIS_CHANNEL_INVITATION, METIS_CHANNEL_MEMBER, METIS_DATA, METIS_METADATA, ORDINARY_PAYMENT
Constructor and Description |
---|
TaggedDataUpload(java.lang.String name,
java.lang.String description,
java.lang.String tags,
java.lang.String type,
java.lang.String channel,
boolean isText,
java.lang.String filename,
byte[] data) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getHash() |
TransactionType |
getTransactionType() |
void |
restorePrunableData(Transaction transaction,
int blockTimestamp,
int height) |
getChannel, getData, getDescription, getFilename, getName, getTags, getType, hasPrunableData, isText
getBaselineFee, getBaselineFeeHeight, getNextFee, getNextFeeHeight
getFullSize, getJSONObject, getSize, getVersion, isPhased, putBytes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
shouldLoadPrunable
getFullSize, getJSONObject, getSize, getVersion, hasAppendix, isPhased, putBytes
public TaggedDataUpload(java.lang.String name, java.lang.String description, java.lang.String tags, java.lang.String type, java.lang.String channel, boolean isText, java.lang.String filename, byte[] data) throws NxtException.NotValidException
NxtException.NotValidException
public TransactionType getTransactionType()
public byte[] getHash()
getHash
in interface Appendix.Prunable
getHash
in class Attachment.TaggedDataAttachment
public void restorePrunableData(Transaction transaction, int blockTimestamp, int height)