Package monero.daemon.model
Class MoneroTx
java.lang.Object
monero.daemon.model.MoneroTx
- Direct Known Subclasses:
MoneroTxWallet
Represents a transaction on the Monero network.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()booleangetBlock()byte[]getExtra()getFee()getHash()getKey()getRelay()getSize()Get the minimum height or timestamp for the transactions to unlock.inthashCode()inTxPool()isFailed()setBlock(MoneroBlock block) setExtra(byte[] extra) setFee(BigInteger fee) setFullHex(String fullHex) setInputs(List<MoneroOutput> inputs) setInTxPool(Boolean inTxPool) setIsConfirmed(Boolean isConfirmed) setIsDoubleSpendSeen(Boolean isDoubleSpend) setIsFailed(Boolean isFailed) setIsKeptByBlock(Boolean isKeptByBlock) setIsMinerTx(Boolean isMinerTx) setIsRelayed(Boolean isRelayed) setLastFailedHash(String lastFailedHash) setLastFailedHeight(Long lastFailedHeight) setLastRelayedTimestamp(Long lastRelayedTimestamp) setMaxUsedBlockHash(String maxUsedBlockHash) setMaxUsedBlockHeight(Long maxUsedBlockHeight) setMetadata(String metadata) setNumConfirmations(Long numConfirmations) setOutputIndices(List<Long> outputIndices) setOutputs(List<MoneroOutput> outputs) setPaymentId(String paymentId) setPrunableHash(String prunableHash) setPrunableHex(String prunableHex) setPrunedHex(String prunedHex) setRctSignatures(Object rctSignatures) setRctSigPrunable(Object rctSigPrunable) setReceivedTimestamp(Long receivedTimestamp) setRingSize(Integer ringSize) setSignatures(List<String> signatures) setUnlockTime(BigInteger unlockTime) setVersion(Integer version) toString()toString(int indent)
-
Field Details
-
DEFAULT_PAYMENT_ID
- See Also:
-
-
Constructor Details
-
MoneroTx
public MoneroTx() -
MoneroTx
Construct this transaction as a deep copy of the given transaction.- Parameters:
tx- is the transaction to make a deep copy of
-
-
Method Details
-
copy
-
getBlock
-
setBlock
-
getHeight
-
getHash
-
setHash
-
getVersion
-
setVersion
-
isMinerTx
-
setIsMinerTx
-
getPaymentId
-
setPaymentId
-
getFee
-
setFee
-
getRingSize
-
setRingSize
-
getRelay
-
setRelay
-
isRelayed
-
setIsRelayed
-
isConfirmed
-
setIsConfirmed
-
inTxPool
-
setInTxPool
-
getNumConfirmations
-
setNumConfirmations
-
getUnlockTime
Get the minimum height or timestamp for the transactions to unlock.- Returns:
- the minimum height or timestamp for the transactin to unlock
-
setUnlockTime
-
getLastRelayedTimestamp
-
setLastRelayedTimestamp
-
getReceivedTimestamp
-
setReceivedTimestamp
-
isDoubleSpendSeen
-
setIsDoubleSpendSeen
-
getKey
-
setKey
-
getFullHex
-
setFullHex
-
getPrunedHex
-
setPrunedHex
-
getPrunableHex
-
setPrunableHex
-
getPrunableHash
-
setPrunableHash
-
getSize
-
setSize
-
getWeight
-
setWeight
-
getInputs
-
setInputs
-
getOutputs
-
setOutputs
-
getOutputIndices
-
setOutputIndices
-
getMetadata
-
setMetadata
-
getExtra
public byte[] getExtra() -
setExtra
-
getRctSignatures
-
setRctSignatures
-
getRctSigPrunable
-
setRctSigPrunable
-
isKeptByBlock
-
setIsKeptByBlock
-
isFailed
-
setIsFailed
-
getLastFailedHeight
-
setLastFailedHeight
-
getLastFailedHash
-
setLastFailedHash
-
getMaxUsedBlockHeight
-
setMaxUsedBlockHeight
-
getMaxUsedBlockHash
-
setMaxUsedBlockHash
-
getSignatures
-
setSignatures
-
merge
-
toString
-
toString
-
hashCode
public int hashCode() -
equals
-