case class UtxoHandling(spendingInfoDAO: SpendingInfoDAO, transactionDAO: TransactionDAO, addressDAO: AddressDAO, chainQueryApi: ChainQueryApi)(implicit walletConfig: WalletAppConfig, system: ActorSystem) extends UtxoHandlingApi with BitcoinSLogger with Product with Serializable
Provides functionality related to handling UTXOs in our wallet. The most notable examples of functionality here are enumerating UTXOs in the wallet and importing a UTXO into the wallet for later spending.
- Alphabetic
- By Inheritance
- UtxoHandling
- Serializable
- Product
- Equals
- BitcoinSLogger
- UtxoHandlingApi
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
-  new UtxoHandling(spendingInfoDAO: SpendingInfoDAO, transactionDAO: TransactionDAO, addressDAO: AddressDAO, chainQueryApi: ChainQueryApi)(implicit walletConfig: WalletAppConfig, system: ActorSystem)
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
 
-  val addressDAO: AddressDAO
-   final  def asInstanceOf[T0]: T0- Definition Classes
- Any
 
-  val chainQueryApi: ChainQueryApi
-    def clearAllAddresses(): Future[Unit]- Definition Classes
- UtxoHandling → UtxoHandlingApi
 
-    def clearAllUtxos(): Future[Unit]Removes all utxos from the wallet. Removes all utxos from the wallet. Don't call this unless you are sure you can recover your wallet - Definition Classes
- UtxoHandling → UtxoHandlingApi
 
-    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 findByOutPoint(outPoint: TransactionOutPoint)(implicit ec: ExecutionContext): Future[Option[SpendingInfoDb]]- Definition Classes
- UtxoHandlingApi
 
-    def findByOutPoints(outPoints: Vector[TransactionOutPoint]): Future[Vector[SpendingInfoDb]]- Definition Classes
- UtxoHandling → UtxoHandlingApi
 
-    def findByScriptPubKey(scriptPubKey: ScriptPubKey): Future[Vector[SpendingInfoDb]]- Definition Classes
- UtxoHandling → UtxoHandlingApi
 
-    def findOutputsBeingSpent(tx: Transaction): Future[Vector[SpendingInfoDb]]Finds all the outputs in our wallet being spent in the given transaction Finds all the outputs in our wallet being spent in the given transaction - Definition Classes
- UtxoHandling → UtxoHandlingApi
 
-    def getBalance(account: HDAccount): Future[CurrencyUnit]- Definition Classes
- UtxoHandling → UtxoHandlingApi
 
-    def getBalance(): Future[CurrencyUnit]Get total wallet balance for the default HD account Get total wallet balance for the default HD account - Definition Classes
- UtxoHandling → UtxoHandlingApi
 
-   final  def getBalance(tag: AddressTag)(implicit ec: ExecutionContext): Future[CurrencyUnit]- Definition Classes
- UtxoHandlingApi
 
-   final  def getClass(): Class[_ <: AnyRef]- Definition Classes
- AnyRef → Any
- Annotations
- @native()
 
-    def getConfirmedBalance(account: HDAccount): Future[CurrencyUnit]- Definition Classes
- UtxoHandling → UtxoHandlingApi
 
-    def getConfirmedBalance(): Future[CurrencyUnit]Get total confirmed wallet balance for the default HD account Get total confirmed wallet balance for the default HD account - Definition Classes
- UtxoHandling → UtxoHandlingApi
 
-    def getConfirmedBalance(tag: AddressTag): Future[CurrencyUnit]- Definition Classes
- UtxoHandling → UtxoHandlingApi
 
-    def getUnconfirmedBalance(account: HDAccount): Future[CurrencyUnit]- Definition Classes
- UtxoHandling → UtxoHandlingApi
 
-    def getUnconfirmedBalance(): Future[CurrencyUnit]Get total unconfirmed wallet balance for the default HD account Get total unconfirmed wallet balance for the default HD account - Definition Classes
- UtxoHandling → UtxoHandlingApi
 
-    def getUnconfirmedBalance(tag: AddressTag): Future[CurrencyUnit]- Definition Classes
- UtxoHandling → UtxoHandlingApi
 
-    def getUtxos(hdAccount: HDAccount, state: TxoState): Future[Vector[SpendingInfoDb]]- Definition Classes
- UtxoHandling → UtxoHandlingApi
 
-    def getUtxos(state: TxoState): Future[Vector[SpendingInfoDb]]- Definition Classes
- UtxoHandling → UtxoHandlingApi
 
-    def getUtxos(hdAccount: HDAccount, tag: AddressTag): Future[Vector[SpendingInfoDb]]- Definition Classes
- UtxoHandling → UtxoHandlingApi
 
-    def getUtxos(tag: AddressTag): Future[Vector[SpendingInfoDb]]- Definition Classes
- UtxoHandling → UtxoHandlingApi
 
-    def getUtxos(outPoints: Vector[TransactionOutPoint]): Future[Vector[SpendingInfoDb]]Returns all the utxos originating from the given outpoints Returns all the utxos originating from the given outpoints - Definition Classes
- UtxoHandling → UtxoHandlingApi
 
-    def getUtxos(hdAccount: HDAccount): Future[Vector[SpendingInfoDb]]- Definition Classes
- UtxoHandling → UtxoHandlingApi
 
-    def getUtxos(): Future[Vector[SpendingInfoDb]]Lists unspent transaction outputs in the wallet Lists unspent transaction outputs in the wallet - returns
- Vector[SpendingInfoDb] 
 - Definition Classes
- UtxoHandling → UtxoHandlingApi
 
-   final  def isInstanceOf[T0]: Boolean- Definition Classes
- Any
 
-    def logger: Logger- Definition Classes
- BitcoinSLogger
 
-    def markUTXOsAsReserved(tx: Transaction): Future[Vector[SpendingInfoDb]]Marks all utxos that are ours in this transactions as reserved Marks all utxos that are ours in this transactions as reserved - Definition Classes
- UtxoHandling → UtxoHandlingApi
 
-    def markUTXOsAsReserved(utxos: Vector[SpendingInfoDb]): Future[Vector[SpendingInfoDb]]- Definition Classes
- UtxoHandling → UtxoHandlingApi
 
-  def markUTXOsAsReservedAction(utxos: Vector[SpendingInfoDb]): DBIOAction[(Vector[SpendingInfoDb], Future[Unit]), NoStream, Read with Write]
-   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 processReceivedUtxoAction(transaction: Transaction, index: Int, blockHashWithConfsOpt: Option[BlockHashWithConfs], addressDb: AddressDb): DBIOAction[SpendingInfoDb, NoStream, Read with Write]Inserts the UTXO at the given index into our DB, swallowing the error if any (this is because we're operating on data we've already verified). 
-    def productElementNames: Iterator[String]- Definition Classes
- Product
 
-  val spendingInfoDAO: SpendingInfoDAO
-   final  def synchronized[T0](arg0: => T0): T0- Definition Classes
- AnyRef
 
-  val transactionDAO: TransactionDAO
-    def unmarkUTXOsAsReserved(tx: Transaction): Future[Vector[SpendingInfoDb]]Unmarks all utxos that are ours in this transactions indicating they are no longer reserved Unmarks all utxos that are ours in this transactions indicating they are no longer reserved - Definition Classes
- UtxoHandling → UtxoHandlingApi
 
-    def unmarkUTXOsAsReserved(utxos: Vector[SpendingInfoDb]): Future[Vector[SpendingInfoDb]]- Definition Classes
- UtxoHandling → UtxoHandlingApi
 
-    def updateUtxoPendingStates(): Future[Vector[SpendingInfoDb]]Takes in a block header and updates our TxoStates to the new chain tip Takes in a block header and updates our TxoStates to the new chain tip - Definition Classes
- 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()