Package nxt.blockchain
Class UnconfirmedTransaction
java.lang.Object
nxt.blockchain.UnconfirmedTransaction
- All Implemented Interfaces:
AccountLedger.LedgerEventId,Transaction
-
Nested Class Summary
Nested classes/interfaces inherited from interface nxt.blockchain.Transaction
Transaction.Builder -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanlonggetAppendages(boolean includeExpiredPrunable) getAppendages(Filter<Appendix> filter, boolean includeExpiredPrunable) longgetBlock()longintbyte[]getBytes()getChain()shortintlongintlonggetFee()byte[]intintlonggetId()shortgetIndex()org.json.simple.JSONObjectlongorg.json.simple.JSONObjectbyte[]longlongbyte[]byte[]intgetType()byte[]bytefinal inthashCode()booleanbooleanisPhased()toString()voidvalidate()boolean
-
Method Details
-
getTransaction
-
getArrivalTimestamp
public long getArrivalTimestamp() -
isBundled
public boolean isBundled() -
equals
-
hashCode
public final int hashCode() -
toString
-
getChain
- Specified by:
getChainin interfaceAccountLedger.LedgerEventId- Specified by:
getChainin interfaceTransaction
-
getId
public long getId()- Specified by:
getIdin interfaceAccountLedger.LedgerEventId- Specified by:
getIdin interfaceTransaction
-
getStringId
- Specified by:
getStringIdin interfaceTransaction
-
getSenderId
public long getSenderId()- Specified by:
getSenderIdin interfaceTransaction
-
getSenderPublicKey
public byte[] getSenderPublicKey()- Specified by:
getSenderPublicKeyin interfaceTransaction
-
getRecipientId
public long getRecipientId()- Specified by:
getRecipientIdin interfaceTransaction
-
getHeight
public int getHeight()- Specified by:
getHeightin interfaceTransaction
-
getBlockId
public long getBlockId()- Specified by:
getBlockIdin interfaceTransaction
-
getBlock
- Specified by:
getBlockin interfaceTransaction
-
getTimestamp
public int getTimestamp()- Specified by:
getTimestampin interfaceTransaction
-
getBlockTimestamp
public int getBlockTimestamp()- Specified by:
getBlockTimestampin interfaceTransaction
-
getDeadline
public short getDeadline()- Specified by:
getDeadlinein interfaceTransaction
-
getExpiration
public int getExpiration()- Specified by:
getExpirationin interfaceTransaction
-
getAmount
public long getAmount()- Specified by:
getAmountin interfaceTransaction
-
getFee
public long getFee()- Specified by:
getFeein interfaceTransaction
-
getMinimumFeeFQT
public long getMinimumFeeFQT()- Specified by:
getMinimumFeeFQTin interfaceTransaction
-
getSignature
public byte[] getSignature()- Specified by:
getSignaturein interfaceTransaction
-
getType
- Specified by:
getTypein interfaceTransaction
-
getAttachment
- Specified by:
getAttachmentin interfaceTransaction
-
verifySignature
public boolean verifySignature()- Specified by:
verifySignaturein interfaceTransaction
-
validate
- Specified by:
validatein interfaceTransaction- Throws:
NxtException.ValidationException
-
getBytes
public byte[] getBytes()- Specified by:
getBytesin interfaceTransaction
-
getUnsignedBytes
public byte[] getUnsignedBytes()- Specified by:
getUnsignedBytesin interfaceTransaction
-
getPrunableBytes
public byte[] getPrunableBytes()- Specified by:
getPrunableBytesin interfaceTransaction
-
getJSONObject
public org.json.simple.JSONObject getJSONObject()- Specified by:
getJSONObjectin interfaceTransaction
-
getPrunableAttachmentJSON
public org.json.simple.JSONObject getPrunableAttachmentJSON()- Specified by:
getPrunableAttachmentJSONin interfaceTransaction
-
getVersion
public byte getVersion()- Specified by:
getVersionin interfaceTransaction
-
getFullSize
public int getFullSize()- Specified by:
getFullSizein interfaceTransaction
-
getAppendages
- Specified by:
getAppendagesin interfaceTransaction
-
getAppendages
- Specified by:
getAppendagesin interfaceTransaction
-
getAppendages
public List<? extends Appendix> getAppendages(Filter<Appendix> filter, boolean includeExpiredPrunable) - Specified by:
getAppendagesin interfaceTransaction
-
getECBlockHeight
public int getECBlockHeight()- Specified by:
getECBlockHeightin interfaceTransaction
-
getECBlockId
public long getECBlockId()- Specified by:
getECBlockIdin interfaceTransaction
-
getIndex
public short getIndex()- Specified by:
getIndexin interfaceTransaction
-
isPhased
public boolean isPhased()- Specified by:
isPhasedin interfaceTransaction
-
getFullHash
public byte[] getFullHash()- Specified by:
getFullHashin interfaceAccountLedger.LedgerEventId- Specified by:
getFullHashin interfaceTransaction
-
getReferencedTransactionId
-
getPrunablePlainMessage
- Specified by:
getPrunablePlainMessagein interfaceTransaction
-
getPrunableEncryptedMessage
- Specified by:
getPrunableEncryptedMessagein interfaceTransaction
-