Packages

c

org.bitcoins.wallet.internal

TransactionProcessing

case class TransactionProcessing(walletApi: WalletApi, chainQueryApi: ChainQueryApi, utxoHandling: UtxoHandling, walletDAOs: WalletDAOs)(implicit walletConfig: WalletAppConfig, ec: ExecutionContext) extends TransactionProcessingApi with WalletLogger with Product with Serializable

Provides functionality for processing transactions. This includes importing UTXOs spent to our wallet, updating confirmation counts and marking UTXOs as spent when spending from our wallet

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TransactionProcessing
  2. Serializable
  3. Product
  4. Equals
  5. WalletLogger
  6. BitcoinSLogger
  7. TransactionProcessingApi
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new TransactionProcessing(walletApi: WalletApi, chainQueryApi: ChainQueryApi, utxoHandling: UtxoHandling, walletDAOs: WalletDAOs)(implicit walletConfig: WalletAppConfig, ec: ExecutionContext)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val chainQueryApi: ChainQueryApi
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. final def findByTxId(txId: DoubleSha256Digest)(implicit ec: ExecutionContext): Future[Option[TransactionDb]]
    Definition Classes
    TransactionProcessingApi
  10. final def findByTxId(txId: DoubleSha256DigestBE)(implicit ec: ExecutionContext): Future[Option[TransactionDb]]
    Definition Classes
    TransactionProcessingApi
  11. def findByTxIds(txIds: Vector[DoubleSha256DigestBE]): Future[Vector[TransactionDb]]
  12. def findTransaction(txId: DoubleSha256DigestBE): Future[Option[TransactionDb]]
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def insertTransaction(tx: Transaction, blockHashOpt: Option[DoubleSha256DigestBE]): Future[TransactionDb]
  15. def insertTransactionAction(tx: Transaction, blockHashOpt: Option[DoubleSha256DigestBE]): DBIOAction[TransactionDb, NoStream, Write with Read]
    Attributes
    protected
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def listTransactions(): Future[Vector[TransactionDb]]
  18. def logger: Logger
    Definition Classes
    BitcoinSLogger
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. def processBlock(block: Block): Future[Unit]
  23. def processOurTransaction(transaction: Transaction, feeRate: FeeUnit, inputAmount: CurrencyUnit, sentAmount: CurrencyUnit, blockHashOpt: Option[DoubleSha256DigestBE], newTags: Vector[AddressTag]): Future[ProcessTxResult]

    Processes TXs originating from our wallet.

    Processes TXs originating from our wallet. This is called right after we've signed a TX, updating our UTXO state.

    Definition Classes
    TransactionProcessingTransactionProcessingApi
  24. def processReceivedUtxos(transaction: Transaction, blockHashOpt: Option[DoubleSha256DigestBE], spendingInfoDbs: Vector[SpendingInfoDb], newTags: Vector[AddressTag], relevantReceivedOutputs: Vector[OutputWithIndex]): Future[Vector[SpendingInfoDb]]

    Processes received utxos that are contained in the given transaction

    Processes received utxos that are contained in the given transaction

    transaction

    the transaction that we are receiving utxos from

    blockHashOpt

    the block hash that contains this tx

    spendingInfoDbs

    the spending info dbs that are relevant for this transaction

    newTags

    tags associated with this tx

    Definition Classes
    TransactionProcessingTransactionProcessingApi
  25. def processSpentUtxos(transaction: Transaction, outputsBeingSpent: Vector[SpendingInfoDb], blockHashOpt: Option[DoubleSha256DigestBE]): Future[Vector[SpendingInfoDb]]

    Searches for outputs on the given transaction that are being spent from our wallet

    Searches for outputs on the given transaction that are being spent from our wallet

    Definition Classes
    TransactionProcessingTransactionProcessingApi
  26. def processTransaction(transaction: Transaction, blockHashOpt: Option[DoubleSha256DigestBE]): Future[Unit]

    <invalid inheritdoc annotation>

    <invalid inheritdoc annotation>

    Definition Classes
    TransactionProcessingTransactionProcessingApi
  27. def productElementNames: Iterator[String]
    Definition Classes
    Product
  28. def subscribeForBlockProcessingCompletionSignal(blockHash: DoubleSha256DigestBE): Future[DoubleSha256DigestBE]
  29. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  30. val utxoHandling: UtxoHandling
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  34. val walletApi: WalletApi
  35. val walletDAOs: WalletDAOs

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from WalletLogger

Inherited from BitcoinSLogger

Inherited from AnyRef

Inherited from Any

Ungrouped