Class OmniTransaction

java.lang.Object
org.bitcoinj.core.BaseMessage
org.bitcoinj.core.Transaction
foundation.omni.tx.OmniTransaction
All Implemented Interfaces:
org.bitcoinj.core.Message

@Deprecated public class OmniTransaction extends org.bitcoinj.core.Transaction
Deprecated.
This code is incomplete, doesn't work, and will be replaced.
Omni Protocol transaction TODO: Omni Transaction class should not be a subclass of
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.bitcoinj.core.Transaction

    org.bitcoinj.core.Transaction.Purpose, org.bitcoinj.core.Transaction.SigHash
  • Field Summary

    Fields inherited from class org.bitcoinj.core.Transaction

    DEFAULT_TX_FEE, LOCKTIME_THRESHOLD, MAX_STANDARD_TX_SIZE, REFERENCE_DEFAULT_MIN_TX_FEE, SERIALIZE_TRANSACTION_NO_WITNESS, SIGHASH_ANYONECANPAY_VALUE, SORT_TX_BY_HEIGHT, SORT_TX_BY_UPDATE_TIME

    Fields inherited from interface org.bitcoinj.core.Message

    MAX_SIZE
  • Constructor Summary

    Constructors
    Constructor
    Description
    OmniTransaction(org.bitcoinj.core.Transaction transaction)
    Deprecated.
     
    OmniTransaction(org.bitcoinj.crypto.ECKey fromKey, List<org.bitcoinj.core.TransactionOutput> unspentOutputs, org.bitcoinj.base.Address refAddress, byte[] payload)
    Deprecated.
     
    OmniTransaction(org.bitcoinj.crypto.ECKey redeemingKey, org.bitcoinj.base.Address refAddress, byte[] payload)
    Deprecated.
     
  • Method Summary

    Methods inherited from class org.bitcoinj.core.Transaction

    addBlockAppearance, addInput, addInput, addInput, addOutput, addOutput, addOutput, addOutput, addSignedInput, addSignedInput, addSignedInput, addSignedInput, addSignedInput, addSignedInput, bitcoinSerializeToStream, bitcoinSerializeToStream, calculateSignature, calculateSignature, calculateSignature, calculateSignature, calculateWitnessSignature, calculateWitnessSignature, calculateWitnessSignature, calculateWitnessSignature, checkCoinBaseHeight, clearInputs, clearOutputs, clearUpdateTime, coinbase, coinbase, equals, estimateLockTime, estimateUnlockTime, findWitnessCommitment, getAppearsInHashes, getConfidence, getConfidence, getConfidence, getExchangeRate, getFee, getInput, getInputs, getInputSum, getLockTime, getMemo, getMessageSizeForPriorityCalc, getOutput, getOutput, getOutputs, getOutputSum, getPurpose, getSigOpCount, getTxId, getUpdateTime, getValue, getValueSentFromMe, getValueSentToMe, getVersion, getVsize, getWalletOutputs, getWeight, getWTxId, hasConfidence, hashCode, hashForSignature, hashForSignature, hashForSignature, hashForWitnessSignature, hashForWitnessSignature, hashForWitnessSignature, hasRelativeLockTime, hasWitnesses, isAnyOutputSpent, isCoinBase, isEveryOwnedOutputSpent, isFinal, isOptInFullRBF, isPending, isTimeLocked, lockTime, messageSize, read, read, setBlockAppearance, setExchangeRate, setLockTime, setMemo, setPurpose, setUpdateTime, setUpdateTime, setVersion, shuffleOutputs, toString, toString, toString, updateTime, verify, verify

    Methods inherited from class org.bitcoinj.core.BaseMessage

    serialize

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.bitcoinj.core.Message

    bitcoinSerialize, getMessageSize, unsafeBitcoinSerialize
  • Constructor Details

    • OmniTransaction

      public OmniTransaction(org.bitcoinj.core.Transaction transaction)
      Deprecated.
    • OmniTransaction

      public OmniTransaction(org.bitcoinj.crypto.ECKey redeemingKey, org.bitcoinj.base.Address refAddress, byte[] payload) throws org.bitcoinj.core.InsufficientMoneyException
      Deprecated.
      Throws:
      org.bitcoinj.core.InsufficientMoneyException
    • OmniTransaction

      public OmniTransaction(org.bitcoinj.crypto.ECKey fromKey, List<org.bitcoinj.core.TransactionOutput> unspentOutputs, org.bitcoinj.base.Address refAddress, byte[] payload) throws org.bitcoinj.core.InsufficientMoneyException
      Deprecated.
      Throws:
      org.bitcoinj.core.InsufficientMoneyException