Package monero.wallet.model
Class MoneroTxQuery
java.lang.Object
monero.daemon.model.MoneroTx
monero.wallet.model.MoneroTxWallet
monero.wallet.model.MoneroTxQuery
- All Implemented Interfaces:
Filter<MoneroTxWallet>
Configures a query to retrieve transactions.
All transactions are returned except those that do not meet the criteria defined in this query.
-
Field Summary
Fields inherited from class monero.daemon.model.MoneroTx
DEFAULT_PAYMENT_ID
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncopy()
boolean
Indicates if the given item meets the criteria of this filter.setBlock
(MoneroBlock block) setExtra
(byte[] extra) setFee
(BigInteger fee) setFullHex
(String hex) setHasPaymentId
(Boolean hasPaymentId) setIncludeOutputs
(Boolean includeOutputs) setIncomingTransfers
(List<MoneroIncomingTransfer> incomingTransfers) setInputQuery
(MoneroOutputQuery inputQuery) setInputs
(List<MoneroOutput> inputs) Set the tx's inputs (MoneroOutputWallet) which contain information relative to a wallet.setInTxPool
(Boolean inTxPool) setIsConfirmed
(Boolean isConfirmed) setIsDoubleSpendSeen
(Boolean isDoubleSpend) setIsFailed
(Boolean isFailed) setIsIncoming
(Boolean isIncoming) setIsKeptByBlock
(Boolean isKeptByBlock) setIsLocked
(Boolean isLocked) setIsMinerTx
(Boolean isMinerTx) setIsOutgoing
(Boolean isOutgoing) setIsRelayed
(Boolean isRelayed) setLastFailedHash
(String lastFailedId) setLastFailedHeight
(Long lastFailedHeight) setLastRelayedTimestamp
(Long lastRelayedTimestamp) setMaxHeight
(Long maxHeight) setMaxUsedBlockHash
(String maxUsedBlockId) setMaxUsedBlockHeight
(Long maxUsedBlockHeight) setMetadata
(String metadata) setMinHeight
(Long minHeight) setNumConfirmations
(Long numConfirmations) setOutgoingTransfer
(MoneroOutgoingTransfer outgoingTransfer) setOutputIndices
(List<Long> outputIndices) setOutputQuery
(MoneroOutputQuery outputQuery) setOutputs
(List<MoneroOutput> outputs) Set the tx's outputs (MoneroOutputWallet) which contain information relative to a wallet.setPaymentId
(String paymentId) setPaymentIds
(List<String> paymentIds) 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) setTransferQuery
(MoneroTransferQuery transferQuery) setTxSet
(MoneroTxSet commonTxSets) setUnlockTime
(Long unlockTime) setUnlockTime
(BigInteger unlockTime) setVersion
(Integer version) toString()
Methods inherited from class monero.wallet.model.MoneroTxWallet
equals, filterOutputsWallet, filterTransfers, getChangeAddress, getChangeAmount, getExtraHex, getIncomingAmount, getIncomingTransfers, getInputSum, getInputsWallet, getInputsWallet, getNote, getNumDummyOutputs, getOutgoingAmount, getOutgoingTransfer, getOutputSum, getOutputsWallet, getOutputsWallet, getTransfers, getTransfers, getTxSet, hashCode, isLocked, merge, merge, setChangeAddress, setChangeAmount, setExtraHex, setInputSum, setInputsWallet, setNumDummyOutputs, setOutputSum, setOutputsWallet, toString, toString
Methods inherited from class monero.daemon.model.MoneroTx
getBlock, getExtra, getFee, getFullHex, getHash, getInputs, getKey, getLastFailedHash, getLastFailedHeight, getLastRelayedTimestamp, getMaxUsedBlockHash, getMaxUsedBlockHeight, getMetadata, getNumConfirmations, getOutputIndices, getOutputs, getPaymentId, getPrunableHash, getPrunableHex, getPrunedHex, getRctSignatures, getRctSigPrunable, getReceivedTimestamp, getRelay, getRingSize, getSignatures, getSize, getUnlockTime, getVersion, getWeight, inTxPool, isConfirmed, isDoubleSpendSeen, isFailed, isKeptByBlock, isMinerTx, isRelayed
-
Constructor Details
-
MoneroTxQuery
public MoneroTxQuery() -
MoneroTxQuery
-
-
Method Details
-
copy
- Overrides:
copy
in classMoneroTxWallet
-
isOutgoing
- Overrides:
isOutgoing
in classMoneroTxWallet
-
setIsOutgoing
- Overrides:
setIsOutgoing
in classMoneroTxWallet
-
isIncoming
- Overrides:
isIncoming
in classMoneroTxWallet
-
setIsIncoming
- Overrides:
setIsIncoming
in classMoneroTxWallet
-
setHash
- Overrides:
setHash
in classMoneroTxWallet
-
getHashes
-
setHashes
-
setHashes
-
hasPaymentId
-
setHasPaymentId
-
getPaymentIds
-
setPaymentIds
-
setPaymentId
- Overrides:
setPaymentId
in classMoneroTxWallet
-
getHeight
-
setHeight
-
getMinHeight
-
setMinHeight
-
getMaxHeight
-
setMaxHeight
-
setUnlockTime
-
getIncludeOutputs
-
setIncludeOutputs
-
getTransferQuery
-
setTransferQuery
-
getInputQuery
-
setInputQuery
-
getOutputQuery
-
setOutputQuery
-
meetsCriteria
Description copied from interface:Filter
Indicates if the given item meets the criteria of this filter.- Specified by:
meetsCriteria
in interfaceFilter<MoneroTxWallet>
- Parameters:
tx
- is the item to test- Returns:
- true if the item meets the criteria of this filter, false otherwise
-
toString
- Overrides:
toString
in classMoneroTxWallet
-
setIncomingTransfers
- Overrides:
setIncomingTransfers
in classMoneroTxWallet
-
setOutgoingTransfer
- Overrides:
setOutgoingTransfer
in classMoneroTxWallet
-
setOutputs
Description copied from class:MoneroTxWallet
Set the tx's outputs (MoneroOutputWallet) which contain information relative to a wallet. Callers must cast to extended type (MoneroOutput) because Java paramaterized types do not recognize inheritance.- Overrides:
setOutputs
in classMoneroTxWallet
- Parameters:
outputs
- are MoneroOutputWallets to set for the wallet tx- Returns:
- MoneroTxWallet is a reference to this tx for chaining
-
setNote
- Overrides:
setNote
in classMoneroTxWallet
-
setIsLocked
- Overrides:
setIsLocked
in classMoneroTxWallet
-
setBlock
- Overrides:
setBlock
in classMoneroTxWallet
-
setVersion
- Overrides:
setVersion
in classMoneroTxWallet
-
setIsMinerTx
- Overrides:
setIsMinerTx
in classMoneroTxWallet
-
setFee
- Overrides:
setFee
in classMoneroTxWallet
-
setRingSize
- Overrides:
setRingSize
in classMoneroTxWallet
-
setRelay
- Overrides:
setRelay
in classMoneroTxWallet
-
setIsRelayed
- Overrides:
setIsRelayed
in classMoneroTxWallet
-
setIsConfirmed
- Overrides:
setIsConfirmed
in classMoneroTxWallet
-
setInTxPool
- Overrides:
setInTxPool
in classMoneroTxWallet
-
setNumConfirmations
- Overrides:
setNumConfirmations
in classMoneroTxWallet
-
setUnlockTime
- Overrides:
setUnlockTime
in classMoneroTxWallet
-
setLastRelayedTimestamp
- Overrides:
setLastRelayedTimestamp
in classMoneroTxWallet
-
setReceivedTimestamp
- Overrides:
setReceivedTimestamp
in classMoneroTxWallet
-
setIsDoubleSpendSeen
- Overrides:
setIsDoubleSpendSeen
in classMoneroTxWallet
-
setKey
- Overrides:
setKey
in classMoneroTxWallet
-
setFullHex
- Overrides:
setFullHex
in classMoneroTxWallet
-
setPrunedHex
- Overrides:
setPrunedHex
in classMoneroTxWallet
-
setPrunableHex
- Overrides:
setPrunableHex
in classMoneroTxWallet
-
setPrunableHash
- Overrides:
setPrunableHash
in classMoneroTxWallet
-
setSize
- Overrides:
setSize
in classMoneroTxWallet
-
setWeight
- Overrides:
setWeight
in classMoneroTxWallet
-
setInputs
Description copied from class:MoneroTxWallet
Set the tx's inputs (MoneroOutputWallet) which contain information relative to a wallet. Callers must cast to extended type (MoneroOutput) because Java paramaterized types do not recognize inheritance.- Overrides:
setInputs
in classMoneroTxWallet
- Parameters:
inputs
- are MoneroOutputWallets to set for the wallet tx- Returns:
- MoneroTxWallet is a reference to this tx for chaining
-
setOutputIndices
- Overrides:
setOutputIndices
in classMoneroTxWallet
-
setMetadata
- Overrides:
setMetadata
in classMoneroTxWallet
-
setTxSet
- Overrides:
setTxSet
in classMoneroTxWallet
-
setExtra
- Overrides:
setExtra
in classMoneroTxWallet
-
setRctSignatures
- Overrides:
setRctSignatures
in classMoneroTxWallet
-
setRctSigPrunable
- Overrides:
setRctSigPrunable
in classMoneroTxWallet
-
setIsKeptByBlock
- Overrides:
setIsKeptByBlock
in classMoneroTxWallet
-
setIsFailed
- Overrides:
setIsFailed
in classMoneroTxWallet
-
setLastFailedHeight
- Overrides:
setLastFailedHeight
in classMoneroTxWallet
-
setLastFailedHash
- Overrides:
setLastFailedHash
in classMoneroTxWallet
-
setMaxUsedBlockHeight
- Overrides:
setMaxUsedBlockHeight
in classMoneroTxWallet
-
setMaxUsedBlockHash
- Overrides:
setMaxUsedBlockHash
in classMoneroTxWallet
-
setSignatures
- Overrides:
setSignatures
in classMoneroTxWallet
-