Package zephyr.daemon.model
Class ZephyrOutput
java.lang.Object
zephyr.daemon.model.ZephyrOutput
- Direct Known Subclasses:
ZephyrOutputWallet
Models a Zephyr transaction output.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()booleanReturns the asset of this output.getIndex()getTx()inthashCode()merge(ZephyrOutput output) setAmount(BigInteger amount) setAssetType(String assetType) Sets the asset of this output.setKeyImage(ZephyrKeyImage keyImage) setRingOutputIndices(List<Long> ringOutputIndices) setStealthPublicKey(String stealthPublicKey) toString()toString(int indent)
-
Constructor Details
-
ZephyrOutput
public ZephyrOutput() -
ZephyrOutput
-
-
Method Details
-
copy
-
getTx
-
setTx
-
getKeyImage
-
setKeyImage
-
getAmount
-
setAmount
-
getIndex
-
setIndex
-
getRingOutputIndices
-
setRingOutputIndices
-
getStealthPublicKey
-
setStealthPublicKey
-
getAssetType
Returns the asset of this output. The core does not serialize the asset of an output; the wallet listener callbacks set it.- Returns:
- the asset name (see zephyr.wallet.model.ZephyrAssets), null if not known
-
setAssetType
Sets the asset of this output.- Parameters:
assetType- is the asset name- Returns:
- this output for chaining
-
toString
-
merge
-
toString
-
hashCode
public int hashCode() -
equals
-