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
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- TransactionProcessing
- Serializable
- Product
- Equals
- WalletLogger
- BitcoinSLogger
- TransactionProcessingApi
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new TransactionProcessing(walletApi: WalletApi, chainQueryApi: ChainQueryApi, utxoHandling: UtxoHandling, walletDAOs: WalletDAOs)(implicit walletConfig: WalletAppConfig, ec: ExecutionContext)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val chainQueryApi: ChainQueryApi
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def findByTxId(txId: DoubleSha256Digest)(implicit ec: ExecutionContext): Future[Option[TransactionDb]]
- Definition Classes
- TransactionProcessingApi
- final def findByTxId(txId: DoubleSha256DigestBE)(implicit ec: ExecutionContext): Future[Option[TransactionDb]]
- Definition Classes
- TransactionProcessingApi
- def findByTxIds(txIds: Vector[DoubleSha256DigestBE]): Future[Vector[TransactionDb]]
- Definition Classes
- TransactionProcessing → TransactionProcessingApi
- def findTransaction(txId: DoubleSha256DigestBE): Future[Option[TransactionDb]]
- Definition Classes
- TransactionProcessing → TransactionProcessingApi
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def insertTransaction(tx: Transaction, blockHashOpt: Option[DoubleSha256DigestBE]): Future[TransactionDb]
- Definition Classes
- TransactionProcessing → TransactionProcessingApi
- def insertTransactionAction(tx: Transaction, blockHashOpt: Option[DoubleSha256DigestBE]): DBIOAction[TransactionDb, NoStream, Write with Read]
- Attributes
- protected
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def listTransactions(): Future[Vector[TransactionDb]]
- Definition Classes
- TransactionProcessing → TransactionProcessingApi
- def logger: Logger
- Definition Classes
- BitcoinSLogger
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def processBlock(block: Block): Future[Unit]
- Definition Classes
- TransactionProcessing → TransactionProcessingApi
- def processOurTransaction(transaction: Transaction, feeRate: FeeUnit, inputAmount: CurrencyUnit, sentAmount: CurrencyUnit, blockHashWithConfsOpt: Option[BlockHashWithConfs], 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
- TransactionProcessing → TransactionProcessingApi
- def processReceivedUtxos(transaction: Transaction, blockHashWithConfsOpt: Option[BlockHashWithConfs], 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
- spendingInfoDbs
the spending info dbs that are relevant for this transaction
- newTags
tags associated with this tx
- Definition Classes
- TransactionProcessing → TransactionProcessingApi
- def processSpentUtxos(transaction: Transaction, outputsBeingSpent: Vector[SpendingInfoDb], blockHashWithConfsOpt: Option[BlockHashWithConfs]): Future[Vector[SpendingInfoDb]]
- Definition Classes
- TransactionProcessing → TransactionProcessingApi
- def processTransaction(transaction: Transaction, blockHashWithConfsOpt: Option[BlockHashWithConfs]): Future[Unit]
<invalid inheritdoc annotation>
<invalid inheritdoc annotation>
- Definition Classes
- TransactionProcessing → TransactionProcessingApi
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def subscribeForBlockProcessingCompletionSignal(blockHash: DoubleSha256DigestBE): Future[DoubleSha256DigestBE]
- Definition Classes
- TransactionProcessing → TransactionProcessingApi
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val utxoHandling: UtxoHandling
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- val walletApi: WalletApi
- val walletDAOs: WalletDAOs