case class DLCTransactionProcessing(txProcessing: TransactionProcessingApi, dlcWalletDAOs: DLCWalletDAOs, walletDAOs: WalletDAOs, dlcDataManagement: DLCDataManagement, keyManager: BIP39KeyManager, transactionDAO: TransactionDAO, utxoHandling: UtxoHandlingApi, dlcWalletApi: DLCWalletApi)(implicit dlcConfig: DLCAppConfig, ec: ExecutionContext) extends TransactionProcessingApi with BitcoinSLogger with Product with Serializable
Overrides TransactionProcessing from Wallet to add extra logic to process transactions that could from our own DLC.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- DLCTransactionProcessing
- Serializable
- Product
- Equals
- BitcoinSLogger
- TransactionProcessingApi
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new DLCTransactionProcessing(txProcessing: TransactionProcessingApi, dlcWalletDAOs: DLCWalletDAOs, walletDAOs: WalletDAOs, dlcDataManagement: DLCDataManagement, keyManager: BIP39KeyManager, transactionDAO: TransactionDAO, utxoHandling: UtxoHandlingApi, dlcWalletApi: DLCWalletApi)(implicit dlcConfig: DLCAppConfig, 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
- def calculateAndSetState(dlcDb: DLCDb): Future[Option[DLCDb]]
Calculates the new state of the DLCDb based on the closing transaction, will delete old CET sigs that are no longer needed after execution
Calculates the new state of the DLCDb based on the closing transaction, will delete old CET sigs that are no longer needed after execution
- returns
a DLCDb if we can calculate the state, else None if we cannot calculate the state
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val dlcDataManagement: DLCDataManagement
- val dlcWalletApi: DLCWalletApi
- val dlcWalletDAOs: DLCWalletDAOs
- 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
- DLCTransactionProcessing → TransactionProcessingApi
- def findTransaction(txId: DoubleSha256DigestBE): Future[Option[TransactionDb]]
- Definition Classes
- DLCTransactionProcessing → TransactionProcessingApi
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getScriptSigParams(dlcDb: DLCDb, fundingInputs: Vector[DLCFundingInputDb]): Future[Vector[ScriptSignatureParams[InputInfo]]]
- def insertTransaction(tx: Transaction, blockHashOpt: Option[DoubleSha256DigestBE]): Future[TransactionDb]
- Definition Classes
- DLCTransactionProcessing → TransactionProcessingApi
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val keyManager: BIP39KeyManager
- def listTransactions(): Future[Vector[TransactionDb]]
- Definition Classes
- DLCTransactionProcessing → 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
- DLCTransactionProcessing → 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
- DLCTransactionProcessing → TransactionProcessingApi
- def processReceivedUtxos(tx: Transaction, blockHashWithConfsOpt: Option[BlockHashWithConfs], spendingInfoDbs: Vector[SpendingInfoDb], newTags: Vector[AddressTag], relevantReceivedOutputs: Vector[OutputWithIndex]): Future[Vector[SpendingInfoDb]]
- Definition Classes
- DLCTransactionProcessing → TransactionProcessingApi
- def processSpentUtxos(transaction: Transaction, outputsBeingSpent: Vector[SpendingInfoDb], blockHashWithConfsOpt: Option[BlockHashWithConfs]): Future[Vector[SpendingInfoDb]]
- Definition Classes
- DLCTransactionProcessing → TransactionProcessingApi
- def processTransaction(transaction: Transaction, blockHashWithConfsOpt: Option[BlockHashWithConfs]): Future[Unit]
- Definition Classes
- DLCTransactionProcessing → TransactionProcessingApi
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def subscribeForBlockProcessingCompletionSignal(blockHash: DoubleSha256DigestBE): Future[DoubleSha256DigestBE]
- Definition Classes
- DLCTransactionProcessing → TransactionProcessingApi
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val transactionDAO: TransactionDAO
- val txProcessing: TransactionProcessingApi
- val utxoHandling: UtxoHandlingApi
- 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 walletDAOs: WalletDAOs