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
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()booleangetTx()inthashCode()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:
copyin classMoneroOutput
-
getTx
- Overrides:
getTxin classMoneroOutput
-
setTx
- Overrides:
setTxin 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:
mergein classMoneroOutput
-
merge
-
toString
- Overrides:
toStringin classMoneroOutput
-
hashCode
public int hashCode()- Overrides:
hashCodein classMoneroOutput
-
equals
- Overrides:
equalsin classMoneroOutput
-
setKeyImage
- Overrides:
setKeyImagein classMoneroOutput
-
setAmount
- Overrides:
setAmountin classMoneroOutput
-
setIndex
- Overrides:
setIndexin classMoneroOutput
-
setRingOutputIndices
- Overrides:
setRingOutputIndicesin classMoneroOutput
-
setStealthPublicKey
- Overrides:
setStealthPublicKeyin classMoneroOutput
-