Class ZephyrTx

java.lang.Object
zephyr.daemon.model.ZephyrTx
Direct Known Subclasses:
ZephyrTxWallet

public class ZephyrTx extends Object
Represents a transaction on the Zephyr network.
  • Field Details

  • Constructor Details

    • ZephyrTx

      public ZephyrTx()
    • ZephyrTx

      public ZephyrTx(ZephyrTx tx)
      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

      public ZephyrTx copy()
    • getBlock

      public ZephyrBlock getBlock()
    • setBlock

      public ZephyrTx setBlock(ZephyrBlock block)
    • getHeight

      public Long getHeight()
    • getHash

      public String getHash()
    • setHash

      public ZephyrTx setHash(String hash)
    • getVersion

      public Integer getVersion()
    • setVersion

      public ZephyrTx setVersion(Integer version)
    • isMinerTx

      public Boolean isMinerTx()
    • setIsMinerTx

      public ZephyrTx setIsMinerTx(Boolean isMinerTx)
    • getPaymentId

      public String getPaymentId()
    • setPaymentId

      public ZephyrTx setPaymentId(String paymentId)
    • getFee

      public BigInteger getFee()
    • setFee

      public ZephyrTx setFee(BigInteger fee)
    • getRingSize

      public Integer getRingSize()
    • setRingSize

      public ZephyrTx setRingSize(Integer ringSize)
    • getRelay

      public Boolean getRelay()
    • setRelay

      public ZephyrTx setRelay(Boolean relay)
    • isRelayed

      public Boolean isRelayed()
    • setIsRelayed

      public ZephyrTx setIsRelayed(Boolean isRelayed)
    • isConfirmed

      public Boolean isConfirmed()
    • setIsConfirmed

      public ZephyrTx setIsConfirmed(Boolean isConfirmed)
    • inTxPool

      public Boolean inTxPool()
    • setInTxPool

      public ZephyrTx setInTxPool(Boolean inTxPool)
    • getNumConfirmations

      public Long getNumConfirmations()
    • setNumConfirmations

      public ZephyrTx setNumConfirmations(Long numConfirmations)
    • getUnlockHeight

      public Long getUnlockHeight()
    • setUnlockHeight

      public ZephyrTx setUnlockHeight(Long unlockHeight)
    • getLastRelayedTimestamp

      public Long getLastRelayedTimestamp()
    • setLastRelayedTimestamp

      public ZephyrTx setLastRelayedTimestamp(Long lastRelayedTimestamp)
    • getReceivedTimestamp

      public Long getReceivedTimestamp()
    • setReceivedTimestamp

      public ZephyrTx setReceivedTimestamp(Long receivedTimestamp)
    • isDoubleSpendSeen

      public Boolean isDoubleSpendSeen()
    • setIsDoubleSpendSeen

      public ZephyrTx setIsDoubleSpendSeen(Boolean isDoubleSpend)
    • getKey

      public String getKey()
    • setKey

      public ZephyrTx setKey(String key)
    • getFullHex

      public String getFullHex()
    • setFullHex

      public ZephyrTx setFullHex(String fullHex)
    • getPrunedHex

      public String getPrunedHex()
    • setPrunedHex

      public ZephyrTx setPrunedHex(String prunedHex)
    • getPrunableHex

      public String getPrunableHex()
    • setPrunableHex

      public ZephyrTx setPrunableHex(String prunableHex)
    • getPrunableHash

      public String getPrunableHash()
    • setPrunableHash

      public ZephyrTx setPrunableHash(String prunableHash)
    • getSize

      public Long getSize()
    • setSize

      public ZephyrTx setSize(Long size)
    • getWeight

      public Long getWeight()
    • setWeight

      public ZephyrTx setWeight(Long weight)
    • getInputs

      public List<ZephyrOutput> getInputs()
    • setInputs

      public ZephyrTx setInputs(List<ZephyrOutput> inputs)
    • getOutputs

      public List<ZephyrOutput> getOutputs()
    • setOutputs

      public ZephyrTx setOutputs(List<ZephyrOutput> outputs)
    • getOutputIndices

      public List<Long> getOutputIndices()
    • setOutputIndices

      public ZephyrTx setOutputIndices(List<Long> outputIndices)
    • getMetadata

      public String getMetadata()
    • setMetadata

      public ZephyrTx setMetadata(String metadata)
    • getExtra

      public int[] getExtra()
    • setExtra

      public ZephyrTx setExtra(int[] extra)
    • getRctSignatures

      public Object getRctSignatures()
    • setRctSignatures

      public ZephyrTx setRctSignatures(Object rctSignatures)
    • getRctSigPrunable

      public Object getRctSigPrunable()
    • setRctSigPrunable

      public ZephyrTx setRctSigPrunable(Object rctSigPrunable)
    • isKeptByBlock

      public Boolean isKeptByBlock()
    • setIsKeptByBlock

      public ZephyrTx setIsKeptByBlock(Boolean isKeptByBlock)
    • isFailed

      public Boolean isFailed()
    • setIsFailed

      public ZephyrTx setIsFailed(Boolean isFailed)
    • getLastFailedHeight

      public Long getLastFailedHeight()
    • setLastFailedHeight

      public ZephyrTx setLastFailedHeight(Long lastFailedHeight)
    • getLastFailedHash

      public String getLastFailedHash()
    • setLastFailedHash

      public ZephyrTx setLastFailedHash(String lastFailedHash)
    • getMaxUsedBlockHeight

      public Long getMaxUsedBlockHeight()
    • setMaxUsedBlockHeight

      public ZephyrTx setMaxUsedBlockHeight(Long maxUsedBlockHeight)
    • getMaxUsedBlockHash

      public String getMaxUsedBlockHash()
    • setMaxUsedBlockHash

      public ZephyrTx setMaxUsedBlockHash(String maxUsedBlockHash)
    • getSignatures

      public List<String> getSignatures()
    • setSignatures

      public ZephyrTx setSignatures(List<String> signatures)
    • merge

      public ZephyrTx merge(ZephyrTx tx)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toString

      public String toString(int indent)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object