Package monero.wallet.model
Class MoneroOutputWallet
java.lang.Object
monero.daemon.model.MoneroOutput
monero.wallet.model.MoneroOutputWallet
- Direct Known Subclasses:
MoneroOutputQuery
Models a Monero output with wallet extensions.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncopy()
boolean
getTx()
int
hashCode()
isFrozen()
Indicates if this output has been deemed 'malicious' and will therefore not be spent by the wallet.isLocked()
Convenience method to indicate if this output's tx is locked.isSpent()
merge
(MoneroOutput output) merge
(MoneroOutputWallet output) setAccountIndex
(Integer accountIndex) setAmount
(BigInteger amount) setIsFrozen
(Boolean isFrozen) setIsSpent
(Boolean isSpent) setKeyImage
(MoneroKeyImage keyImage) setRingOutputIndices
(List<Long> ringOutputIndices) setStealthPublicKey
(String stealthPublicKey) setSubaddressIndex
(Integer subaddressIndex) setTx
(MoneroTxWallet tx) toString
(int indent) Methods inherited from class monero.daemon.model.MoneroOutput
getAmount, getIndex, getKeyImage, getRingOutputIndices, getStealthPublicKey, toString
-
Constructor Details
-
MoneroOutputWallet
public MoneroOutputWallet() -
MoneroOutputWallet
Deep copy constructor.- Parameters:
output
- is the output to initialize from
-
-
Method Details
-
copy
- Overrides:
copy
in classMoneroOutput
-
getTx
- Overrides:
getTx
in classMoneroOutput
-
setTx
- Overrides:
setTx
in classMoneroOutput
-
setTx
-
getAccountIndex
-
setAccountIndex
-
getSubaddressIndex
-
setSubaddressIndex
-
isSpent
-
setIsSpent
-
isFrozen
Indicates if this output has been deemed 'malicious' and will therefore not be spent by the wallet.- Returns:
- Boolean is whether or not this output is frozen
-
setIsFrozen
-
isLocked
Convenience method to indicate if this output's tx is locked.- Returns:
- a boolean indicating the locked state of this output's tx
-
merge
- Overrides:
merge
in classMoneroOutput
-
merge
-
toString
- Overrides:
toString
in classMoneroOutput
-
hashCode
public int hashCode()- Overrides:
hashCode
in classMoneroOutput
-
equals
- Overrides:
equals
in classMoneroOutput
-
setKeyImage
- Overrides:
setKeyImage
in classMoneroOutput
-
setAmount
- Overrides:
setAmount
in classMoneroOutput
-
setIndex
- Overrides:
setIndex
in classMoneroOutput
-
setRingOutputIndices
- Overrides:
setRingOutputIndices
in classMoneroOutput
-
setStealthPublicKey
- Overrides:
setStealthPublicKey
in classMoneroOutput
-