Packages

abstract class DLCWallet extends Wallet with AnyDLCHDWalletApi with DLCTransactionProcessing with IncomingDLCOffersHandling

A Wallet with full DLC Functionality

Linear Supertypes
IncomingDLCOffersHandling, DLCTransactionProcessing, AnyDLCHDWalletApi, DLCWalletApi, Wallet, RescanHandling, TransactionProcessing, FundTransactionHandling, AccountHandling, AddressHandling, UtxoHandling, WalletLogger, Logging, AnyHDWalletApi, SpvWalletApi, NeutrinoWalletApi, HDWalletApi, WalletApi, StartStopAsync[WalletApi], StartStop[Future[WalletApi]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DLCWallet
  2. IncomingDLCOffersHandling
  3. DLCTransactionProcessing
  4. AnyDLCHDWalletApi
  5. DLCWalletApi
  6. Wallet
  7. RescanHandling
  8. TransactionProcessing
  9. FundTransactionHandling
  10. AccountHandling
  11. AddressHandling
  12. UtxoHandling
  13. WalletLogger
  14. Logging
  15. AnyHDWalletApi
  16. SpvWalletApi
  17. NeutrinoWalletApi
  18. HDWalletApi
  19. WalletApi
  20. StartStopAsync
  21. StartStop
  22. AnyRef
  23. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new DLCWallet()

Abstract Value Members

  1. abstract val chainQueryApi: ChainQueryApi
    Definition Classes
    WalletWalletApi
  2. implicit abstract val dlcConfig: DLCAppConfig
  3. implicit abstract val ec: ExecutionContext
    Definition Classes
    Wallet
  4. abstract val feeRateApi: FeeRateApi
    Definition Classes
    WalletApi
  5. abstract val nodeApi: NodeApi
    Definition Classes
    WalletWalletApi
  6. implicit abstract val walletConfig: WalletAppConfig
    Definition Classes
    Wallet

Concrete 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. lazy val DEFAULT_HD_COIN: HDCoin

    The default HD coin for this wallet, read from config

    The default HD coin for this wallet, read from config

    Attributes
    protected[bitcoins.wallet]
    Definition Classes
    AccountHandling
  5. lazy val DEFAULT_HD_COIN_TYPE: HDCoinType

    The default HD coin type for this wallet, derived from the network we're on

    The default HD coin type for this wallet, derived from the network we're on

    Attributes
    protected[bitcoins.wallet]
    Definition Classes
    AccountHandling
  6. lazy val DEFAULT_HD_PURPOSE: HDPurpose

    The default HD purpose for this wallet, read from config

    The default HD purpose for this wallet, read from config

    Attributes
    protected[bitcoins.wallet]
    Definition Classes
    AccountHandling
  7. def acceptDLCOffer(offer: DLCOffer, externalPayoutAddressOpt: Option[BitcoinAddress], externalChangeAddressOpt: Option[BitcoinAddress]): Future[DLCAccept]

    Creates a DLCAccept from the default Segwit account from a given offer, if one has already been created with the given parameters then that one will be returned instead.

    Creates a DLCAccept from the default Segwit account from a given offer, if one has already been created with the given parameters then that one will be returned instead.

    This is the first step of the recipient

    Definition Classes
    DLCWalletDLCWalletApi
  8. def acceptDLCOffer(dlcOfferTLV: DLCOfferTLV, externalPayoutAddressOpt: Option[BitcoinAddress], externalChangeAddressOpt: Option[BitcoinAddress]): Future[DLCAccept]
    Definition Classes
    DLCWalletApi
  9. lazy val actionBuilder: DLCActionBuilder
    Attributes
    protected
  10. def addDLCContact(contact: DLCContactDb): Future[Unit]
    Definition Classes
    IncomingDLCOffersHandling
  11. def addDLCSigs(sign: DLCSign): Future[DLCDb]

    Inputs the received signatures for a DLC into our database

    Inputs the received signatures for a DLC into our database

    This is the second step of the recipient

    Definition Classes
    DLCWalletDLCWalletApi
  12. def addDLCSigs(signTLV: DLCSignTLV): Future[DLCDb]
    Definition Classes
    DLCWalletDLCWalletApi
  13. def addFundingSigs(sign: DLCSign): Future[Vector[DLCFundingInputDb]]

    Takes a DLCSign an inserts the funding signatures into the database This is the only way one should insert sigs to the database

  14. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  15. def broadcastDLCFundingTx(contractId: ByteVector): Future[Transaction]
    Definition Classes
    DLCWalletDLCWalletApi
  16. def broadcastTransaction(transaction: Transaction): Future[Unit]
    Definition Classes
    WalletWalletApi
  17. def bumpFeeCPFP(txId: DoubleSha256DigestBE, feeRate: FeeUnit): Future[Transaction]

    Bumps the fee of the parent transaction with a new child transaction with the given fee rate

    Bumps the fee of the parent transaction with a new child transaction with the given fee rate

    Definition Classes
    WalletWalletApi
  18. def bumpFeeRBF(txId: DoubleSha256DigestBE, newFeeRate: FeeUnit): Future[Transaction]
    Definition Classes
    WalletWalletApi
  19. 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

    Definition Classes
    DLCTransactionProcessing
  20. def cancelDLC(dlcId: Sha256Digest): Future[Unit]

    If the DLC has not reached the Signed state, it can be canceled.

    If the DLC has not reached the Signed state, it can be canceled. Canceling a DLC deletes all data about it from the database, as well as unreserves the utxos associated with it.

    Definition Classes
    DLCWalletDLCWalletApi
  21. val chainParams: ChainParams
    Definition Classes
    Wallet
  22. def clearAllUtxos(): Future[Wallet]

    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
    WalletHDWalletApiWalletApi
  23. def clearUtxos(account: HDAccount): Future[Wallet]
    Definition Classes
    WalletHDWalletApi
  24. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  25. def contains(address: BitcoinAddress, accountOpt: Option[HDAccount]): Future[Boolean]
    Definition Classes
    AddressHandling
  26. def createDLCOffer(contractInfo: ContractInfo, collateral: Satoshis, feeRateOpt: Option[SatoshisPerVirtualByte], locktime: UInt32, refundLocktime: UInt32, externalPayoutAddressOpt: Option[BitcoinAddress], externalChangeAddressOpt: Option[BitcoinAddress]): Future[DLCOffer]

    Creates a DLCOffer, if one has already been created with the given parameters then that one will be returned instead.

    Creates a DLCOffer, if one has already been created with the given parameters then that one will be returned instead.

    This is the first step of the initiator

    Definition Classes
    DLCWalletDLCWalletApi
  27. def createDLCOffer(contractInfoTLV: ContractInfoTLV, collateral: Satoshis, feeRateOpt: Option[SatoshisPerVirtualByte], locktime: UInt32, refundLT: UInt32, externalPayoutAddressOpt: Option[BitcoinAddress], externalChangeAddressOpt: Option[BitcoinAddress]): Future[DLCOffer]
    Definition Classes
    DLCWalletApi
  28. def createNewAccount(hdAccount: HDAccount, kmParams: KeyManagerParams): Future[Wallet]

    Tries to create a new account in this wallet.

    Tries to create a new account in this wallet. Fails if the most recent account has no transaction history, as per BIP44

    Definition Classes
    WalletHDWalletApi
    See also

    BIP44 account section

  29. def createNewAccount(kmParams: KeyManagerParams): Future[Wallet]

    Creates a new account my reading from our account database, finding the last account, and then incrementing the account index by one, and then creating that account

    Creates a new account my reading from our account database, finding the last account, and then incrementing the account index by one, and then creating that account

    Definition Classes
    WalletHDWalletApi
  30. val creationTime: Instant
    Definition Classes
    WalletWalletApi
  31. def debug(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  32. def debug(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  33. def debug(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  34. def determineFeeRate(feeRateOpt: Option[FeeUnit]): Future[FeeUnit]
    Attributes
    protected
    Definition Classes
    WalletApi
  35. val discoveryBatchSize: Int
    Definition Classes
    WalletNeutrinoWalletApi
  36. def downloadMissingUtxos: Future[Unit]
    Attributes
    protected
    Definition Classes
    Wallet
  37. def dropAddressTag(addressTagDb: AddressTagDb): Future[Int]
    Definition Classes
    AddressHandling
  38. def dropAddressTagName(address: BitcoinAddress, addressTagName: AddressTagName): Future[Int]
    Definition Classes
    AddressHandling
  39. def dropAddressTagType(address: BitcoinAddress, addressTagType: AddressTagType): Future[Int]
    Definition Classes
    AddressHandling
  40. def dropAddressTagType(addressTagType: AddressTagType): Future[Int]
    Definition Classes
    AddressHandling
  41. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  42. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  43. def error(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  44. def error(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  45. def error(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  46. def executeDLC(contractId: ByteVector, oracleSigs: Vector[OracleSignatures]): Future[Option[Transaction]]

    Creates the CET for the given contractId and oracle signature, does not broadcast it

    Creates the CET for the given contractId and oracle signature, does not broadcast it

    Definition Classes
    DLCWalletDLCWalletApi
  47. def executeDLC(dlcDb: DLCDb, sigs: Seq[OracleAttestmentTLV]): Future[Option[Transaction]]
  48. def executeDLC(contractId: ByteVector, sigs: Seq[OracleAttestmentTLV]): Future[Option[Transaction]]

    Creates the CET for the given contractId and oracle signature, does not broadcast it

    Creates the CET for the given contractId and oracle signature, does not broadcast it

    Definition Classes
    DLCWalletDLCWalletApi
  49. def executeDLC(contractId: ByteVector, oracleSig: OracleSignatures): Future[Option[Transaction]]

    Creates the CET for the given contractId and oracle signature, does not broadcast it

    Creates the CET for the given contractId and oracle signature, does not broadcast it

    Definition Classes
    DLCWalletApi
  50. def executeDLC(contractId: ByteVector, oracleSig: OracleAttestmentTLV): Future[Option[Transaction]]

    Creates the CET for the given contractId and oracle signature, does not broadcast it

    Creates the CET for the given contractId and oracle signature, does not broadcast it

    Definition Classes
    DLCWalletApi
  51. def executeDLCRefund(contractId: ByteVector): Future[Transaction]

    Creates the refund transaction for the given contractId, does not broadcast it

    Creates the refund transaction for the given contractId, does not broadcast it

    Definition Classes
    DLCWalletDLCWalletApi
  52. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  53. def findAccount(account: HDAccount): Future[Option[AccountDb]]
    Definition Classes
    AddressHandling
  54. def findDLC(dlcId: Sha256Digest): Future[Option[DLCStatus]]
    Definition Classes
    DLCWalletDLCWalletApi
  55. def findDLCByTemporaryContractId(tempContractId: Sha256Digest): Future[Option[DLCStatus]]
    Definition Classes
    DLCWalletDLCWalletApi
  56. def findDLCContacts(alias: String): Future[Vector[DLCContactDb]]
    Definition Classes
    IncomingDLCOffersHandling
  57. def findIncomingDLCOffer(offerHash: Sha256Digest): Future[Option[IncomingDLCOfferDb]]
    Definition Classes
    IncomingDLCOffersHandling
  58. def findOurOuts(transaction: Transaction): Future[Vector[(TransactionOutput, TransactionOutPoint)]]

    Given a transaction, returns the outputs (with their corresponding outpoints) that pay to this wallet

    Given a transaction, returns the outputs (with their corresponding outpoints) that pay to this wallet

    Definition Classes
    AddressHandling
  59. def findTransaction(txId: DoubleSha256DigestBE): Future[Option[TransactionDb]]
    Definition Classes
    TransactionProcessing
  60. def fullRescanNeutrinoWallet(addressBatchSize: Int)(implicit ec: ExecutionContext): Future[RescanState]

    Helper method to rescan the ENTIRE blockchain.

    Helper method to rescan the ENTIRE blockchain.

    Definition Classes
    NeutrinoWalletApi
  61. def fundRawTransaction(destinations: Vector[TransactionOutput], feeRate: FeeUnit, fromAccount: AccountDb, fromTagOpt: Option[AddressTag] = None, markAsReserved: Boolean = false): Future[Transaction]
    Definition Classes
    FundTransactionHandling
  62. def fundRawTransaction(destinations: Vector[TransactionOutput], feeRate: FeeUnit, fromTagOpt: Option[AddressTag], markAsReserved: Boolean): Future[Transaction]
    Definition Classes
    FundTransactionHandling
  63. def getAddress(account: AccountDb, chainType: HDChainType, addressIndex: Int): Future[AddressDb]

    <invalid inheritdoc annotation>

    <invalid inheritdoc annotation>

    Definition Classes
    AddressHandling
  64. def getAddress(chainType: HDChainType, addressIndex: Int)(implicit ec: ExecutionContext): Future[AddressDb]

    Gets the address associated with the pubkey at the resulting BIP32Path determined by the default account and the given chainType and addressIndex

    Gets the address associated with the pubkey at the resulting BIP32Path determined by the default account and the given chainType and addressIndex

    Definition Classes
    HDWalletApi
  65. def getAddressInfo(address: BitcoinAddress): Future[Option[AddressInfo]]

    <invalid inheritdoc annotation>

    <invalid inheritdoc annotation>

    Definition Classes
    AddressHandling
  66. def getAddressInfo(spendingInfoDb: SpendingInfoDb, networkParameters: NetworkParameters): Future[Option[AddressInfo]]
    Definition Classes
    WalletApi
  67. def getAddressTags(tagType: AddressTagType): Future[Vector[AddressTagDb]]
    Definition Classes
    AddressHandling
  68. def getAddressTags(): Future[Vector[AddressTagDb]]
    Definition Classes
    AddressHandling
  69. def getAddressTags(address: BitcoinAddress, tagType: AddressTagType): Future[Vector[AddressTagDb]]
    Definition Classes
    AddressHandling
  70. def getAddressTags(address: BitcoinAddress): Future[Vector[AddressTagDb]]
    Definition Classes
    AddressHandling
  71. def getBalance(account: HDAccount)(implicit ec: ExecutionContext): Future[CurrencyUnit]

    Gets the balance of the given account

    Gets the balance of the given account

    Definition Classes
    HDWalletApi
  72. def getBalance(tag: AddressTag)(implicit ec: ExecutionContext): Future[CurrencyUnit]

    Gets the sum of all UTXOs in this wallet with the address tag

    Gets the sum of all UTXOs in this wallet with the address tag

    Definition Classes
    WalletApi
  73. def getBalance()(implicit ec: ExecutionContext): Future[CurrencyUnit]

    Gets the sum of all UTXOs in this wallet

    Gets the sum of all UTXOs in this wallet

    Definition Classes
    WalletApi
  74. def getBloomFilter(): Future[BloomFilter]

    Retrieves a bloom filter that that can be sent to a P2P network node to get information about our transactions, pubkeys and scripts.

    Retrieves a bloom filter that that can be sent to a P2P network node to get information about our transactions, pubkeys and scripts.

    Definition Classes
    WalletSpvWalletApi
  75. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  76. def getConfirmedBalance(tag: AddressTag): Future[CurrencyUnit]
    Definition Classes
    WalletWalletApi
  77. def getConfirmedBalance(account: HDAccount): Future[CurrencyUnit]
    Definition Classes
    WalletHDWalletApi
  78. def getConfirmedBalance(): Future[CurrencyUnit]

    Gets the sum of all confirmed UTXOs in this wallet

    Gets the sum of all confirmed UTXOs in this wallet

    Definition Classes
    WalletWalletApi
  79. def getDLCFundingTx(contractId: ByteVector): Future[Transaction]
    Definition Classes
    DLCWalletDLCWalletApi
  80. def getDLCOffer(dlcId: Sha256Digest): Future[Option[DLCOffer]]
    Definition Classes
    DLCWalletDLCWalletApi
  81. def getDefaultAccount(): Future[AccountDb]

    <invalid inheritdoc annotation>

    <invalid inheritdoc annotation>

    Definition Classes
    AccountHandling
  82. def getDefaultAccountForType(addressType: AddressType): Future[AccountDb]

    <invalid inheritdoc annotation>

    <invalid inheritdoc annotation>

    Definition Classes
    AccountHandling
  83. def getFeeRate(): Future[FeeUnit]
    Definition Classes
    WalletApi
  84. def getLastAccountOpt(purpose: HDPurpose): Future[Option[AccountDb]]
    Attributes
    protected
    Definition Classes
    Wallet
  85. def getMatchingBlocks(scripts: Vector[ScriptPubKey], startOpt: Option[BlockStamp] = None, endOpt: Option[BlockStamp] = None, batchSize: Int = 100, parallelismLevel: Int = Runtime.getRuntime.availableProcessors())(implicit ec: ExecutionContext): Future[Vector[BlockMatchingResponse]]

    <invalid inheritdoc annotation>

    <invalid inheritdoc annotation>

    Definition Classes
    RescanHandling
  86. def getNewAddress(addressType: AddressType, tags: Vector[AddressTag]): Future[BitcoinAddress]

    <invalid inheritdoc annotation>

    <invalid inheritdoc annotation>

    Definition Classes
    AddressHandling
  87. def getNewAddress(addressType: AddressType): Future[BitcoinAddress]

    <invalid inheritdoc annotation>

    <invalid inheritdoc annotation>

    Definition Classes
    AddressHandling
  88. def getNewAddress(tags: Vector[AddressTag]): Future[BitcoinAddress]

    <invalid inheritdoc annotation>

    <invalid inheritdoc annotation>

    Definition Classes
    AddressHandling
  89. def getNewAddress(): Future[BitcoinAddress]

    <invalid inheritdoc annotation>

    <invalid inheritdoc annotation>

    Definition Classes
    AddressHandling
  90. def getNewAddress(account: AccountDb): Future[BitcoinAddress]
    Definition Classes
    AddressHandling
  91. def getNewAddress(account: HDAccount): Future[BitcoinAddress]
    Definition Classes
    AddressHandling
  92. def getNewChangeAddress(account: HDAccount): Future[BitcoinAddress]
    Definition Classes
    AddressHandling
  93. def getNewChangeAddress(account: AccountDb): Future[BitcoinAddress]

    Generates a new change address

    Generates a new change address

    Definition Classes
    AddressHandling
  94. def getNewChangeAddress()(implicit ec: ExecutionContext): Future[BitcoinAddress]

    Generates a new change address

    Generates a new change address

    Definition Classes
    HDWalletApiWalletApi
  95. def getNextAvailableIndex(accountDb: AccountDb, chainType: HDChainType): Future[Int]
    Definition Classes
    AddressHandling
  96. def getSyncDescriptorOpt(): Future[Option[SyncHeightDescriptor]]
    Definition Classes
    Wallet
  97. def getSyncState(): Future[BlockSyncState]
    Definition Classes
    WalletWalletApi
  98. def getUnconfirmedBalance(tag: AddressTag): Future[CurrencyUnit]
    Definition Classes
    WalletWalletApi
  99. def getUnconfirmedBalance(account: HDAccount): Future[CurrencyUnit]
    Definition Classes
    WalletHDWalletApi
  100. def getUnconfirmedBalance(): Future[CurrencyUnit]

    Gets the sum of all unconfirmed UTXOs in this wallet

    Gets the sum of all unconfirmed UTXOs in this wallet

    Definition Classes
    WalletWalletApi
  101. def getUnusedAddress: Future[BitcoinAddress]

    <invalid inheritdoc annotation>

    <invalid inheritdoc annotation>

    Definition Classes
    AddressHandling
  102. def getUnusedAddress(addressType: AddressType): Future[BitcoinAddress]

    <invalid inheritdoc annotation>

    <invalid inheritdoc annotation>

    Definition Classes
    AddressHandling
  103. def getWalletAccounting(): Future[DLCWalletAccounting]

    Retrieves accounting and financial metrics for the entire dlc wallet

    Retrieves accounting and financial metrics for the entire dlc wallet

    Definition Classes
    DLCWalletDLCWalletApi
  104. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  105. def info(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  106. def info(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  107. def info(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  108. def insertTransaction(tx: Transaction, blockHashOpt: Option[DoubleSha256DigestBE]): Future[TransactionDb]
    Attributes
    protected
    Definition Classes
    TransactionProcessing
  109. def isChange(output: TransactionOutput): Future[Boolean]

    Determines if the given output is from this wallet and is a change output from this wallet

    Determines if the given output is from this wallet and is a change output from this wallet

    Definition Classes
    WalletWalletApi
  110. def isDebugEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  111. def isEmpty(): Future[Boolean]

    Checks if the wallet contains any data

    Checks if the wallet contains any data

    Definition Classes
    WalletWalletApi
  112. def isErrorEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  113. def isInfoEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  114. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  115. def isRescanning(): Future[Boolean]
    Definition Classes
    RescanHandling
  116. def isTraceEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  117. def isWarnEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  118. def keyManager: BIP39KeyManager
    Definition Classes
    WalletHDWalletApiWalletApi
  119. def listAccounts(): Future[Vector[AccountDb]]

    <invalid inheritdoc annotation>

    <invalid inheritdoc annotation>

    Definition Classes
    AccountHandling
  120. def listAccounts(purpose: HDPurpose)(implicit ec: ExecutionContext): Future[Vector[AccountDb]]

    Lists all wallet accounts with the given type

    Lists all wallet accounts with the given type

    returns

    Future[Vector[AccountDb

    Definition Classes
    HDWalletApi
  121. def listAddresses(account: HDAccount): Future[Vector[AddressDb]]
    Definition Classes
    AddressHandling
  122. def listAddresses(): Future[Vector[AddressDb]]
    Definition Classes
    AddressHandling
  123. def listDLCContacts(): Future[Vector[DLCContactDb]]
    Definition Classes
    IncomingDLCOffersHandling
  124. def listDLCs(): Future[Vector[DLCStatus]]
    Definition Classes
    DLCWalletDLCWalletApi
  125. def listDefaultAccountUtxos(): Future[Vector[SpendingInfoDb]]

    <invalid inheritdoc annotation>

    <invalid inheritdoc annotation>

    Definition Classes
    UtxoHandling
  126. def listFundedAddresses(account: HDAccount): Future[Vector[(AddressDb, CurrencyUnit)]]
    Definition Classes
    AddressHandling
  127. def listFundedAddresses(): Future[Vector[(AddressDb, CurrencyUnit)]]
    Definition Classes
    AddressHandling
  128. def listIncomingDLCOffers(): Future[Vector[IncomingDLCOfferDb]]
    Definition Classes
    IncomingDLCOffersHandling
  129. def listOutpoints(): Future[Vector[TransactionOutPoint]]

    Enumerates all the TX outpoints in the wallet

    Enumerates all the TX outpoints in the wallet

    Attributes
    protected[bitcoins.wallet]
    Definition Classes
    Wallet
  130. def listPubkeys(): Future[Vector[ECPublicKey]]

    Enumerates the public keys in this wallet

    Enumerates the public keys in this wallet

    Attributes
    protected[bitcoins.wallet]
    Definition Classes
    AddressHandling
  131. def listSPKs(): Future[Vector[ScriptPubKey]]

    Enumerates the scriptPubKeys in this wallet

    Enumerates the scriptPubKeys in this wallet

    Attributes
    protected[bitcoins.wallet]
    Definition Classes
    AddressHandling
  132. def listScriptPubKeys(): Future[Vector[ScriptPubKeyDb]]
    Definition Classes
    AddressHandling
  133. def listSpentAddresses(account: HDAccount): Future[Vector[AddressDb]]
    Definition Classes
    AddressHandling
  134. def listSpentAddresses(): Future[Vector[AddressDb]]
    Definition Classes
    AddressHandling
  135. def listTransactions(): Future[Vector[TransactionDb]]
    Definition Classes
    TransactionProcessing
  136. def listUnusedAddresses(account: HDAccount): Future[Vector[AddressDb]]
    Definition Classes
    AddressHandling
  137. def listUnusedAddresses(): Future[Vector[AddressDb]]
    Definition Classes
    AddressHandling
  138. def listUtxos(hdAccount: HDAccount, state: TxoState): Future[Vector[SpendingInfoDb]]
    Definition Classes
    UtxoHandling
  139. def listUtxos(state: TxoState): Future[Vector[SpendingInfoDb]]
    Definition Classes
    UtxoHandling
  140. def listUtxos(hdAccount: HDAccount, tag: AddressTag): Future[Vector[SpendingInfoDb]]
    Definition Classes
    UtxoHandling
  141. def listUtxos(tag: AddressTag): Future[Vector[SpendingInfoDb]]
    Definition Classes
    UtxoHandling
  142. def listUtxos(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
  143. def listUtxos(hdAccount: HDAccount): Future[Vector[SpendingInfoDb]]
    Definition Classes
    UtxoHandling
  144. def listUtxos(): Future[Vector[SpendingInfoDb]]

    <invalid inheritdoc annotation>

    <invalid inheritdoc annotation>

    Definition Classes
    UtxoHandling
  145. def logger: Logger
    Attributes
    protected
    Definition Classes
    Logging
  146. def loggerName: String
    Attributes
    protected
    Definition Classes
    Logging
  147. def makeOpReturnCommitment(message: String, hashMessage: Boolean, feeRate: FeeUnit, fromAccount: AccountDb)(implicit ec: ExecutionContext): Future[Transaction]
    Definition Classes
    WalletHDWalletApi
  148. def makeOpReturnCommitment(message: String, hashMessage: Boolean, feeRate: FeeUnit)(implicit ec: ExecutionContext): Future[Transaction]
    Definition Classes
    HDWalletApiWalletApi
  149. def makeOpReturnCommitment(message: String, hashMessage: Boolean, feeRateOpt: Option[FeeUnit], fromAccount: AccountDb)(implicit ec: ExecutionContext): Future[Transaction]
    Definition Classes
    HDWalletApi
  150. def makeOpReturnCommitment(message: String, hashMessage: Boolean, feeRateOpt: Option[FeeUnit])(implicit ec: ExecutionContext): Future[Transaction]
    Definition Classes
    WalletApi
  151. def markUTXOsAsReserved(tx: Transaction): Future[Vector[SpendingInfoDb]]

    <invalid inheritdoc annotation>

    <invalid inheritdoc annotation>

    Definition Classes
    UtxoHandling
  152. def markUTXOsAsReserved(utxos: Vector[SpendingInfoDb]): Future[Vector[SpendingInfoDb]]
    Definition Classes
    UtxoHandling
  153. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  154. val networkParameters: BitcoinNetwork
    Definition Classes
    Wallet
  155. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  156. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  157. def processBlock(block: Block): Future[Wallet]
    Definition Classes
    TransactionProcessing
  158. def processCompactFilter(blockHash: DoubleSha256Digest, blockFilter: GolombFilter): Future[WalletApi]
    Definition Classes
    NeutrinoWalletApi
  159. def processCompactFilters(blockFilters: Vector[(DoubleSha256Digest, GolombFilter)]): Future[Wallet]
    Definition Classes
    WalletNeutrinoWalletApi
  160. def processReceivedUtxos(tx: Transaction, blockHashOpt: Option[DoubleSha256DigestBE], spendingInfoDbs: Vector[SpendingInfoDb], newTags: Vector[AddressTag]): Future[Vector[SpendingInfoDb]]

    Process incoming utxos as normal, and then update the DLC states if applicable

    Process incoming utxos as normal, and then update the DLC states if applicable

    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

    Attributes
    protected
    Definition Classes
    DLCTransactionProcessing → TransactionProcessing
  161. 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

    Attributes
    protected
    Definition Classes
    DLCTransactionProcessing → TransactionProcessing
  162. def processTransaction(transaction: Transaction, blockHashOpt: Option[DoubleSha256DigestBE]): Future[Wallet]

    <invalid inheritdoc annotation>

    <invalid inheritdoc annotation>

    Definition Classes
    TransactionProcessing
  163. def processTransactions(transactions: Vector[Transaction], blockHash: Option[DoubleSha256DigestBE])(implicit ec: ExecutionContext): Future[WalletApi]
    Definition Classes
    WalletApi
  164. def registerDLCAccept(accept: DLCAccept): Future[(DLCDb, Vector[DLCCETSignaturesDb])]
  165. def registerDLCOffer(dlcOffer: DLCOffer): Future[DLCOffer]
    Definition Classes
    DLCWalletApi
  166. def registerIncomingDLCOffer(offerTLV: DLCOfferTLV, peer: Option[String], message: Option[String]): Future[Sha256Digest]
    Definition Classes
    IncomingDLCOffersHandling
  167. def rejectIncomingDLCOffer(offerHash: Sha256Digest): Future[Unit]
    Definition Classes
    IncomingDLCOffersHandling
  168. def removeDLCContact(address: InetSocketAddress): Future[Unit]
    Definition Classes
    IncomingDLCOffersHandling
  169. def rescanNeutrinoWallet(account: HDAccount, startOpt: Option[BlockStamp], endOpt: Option[BlockStamp], addressBatchSize: Int, useCreationTime: Boolean = true): Future[RescanState]

    <invalid inheritdoc annotation>

    <invalid inheritdoc annotation>

    Definition Classes
    RescanHandling
  170. def rescanNeutrinoWallet(startOpt: Option[BlockStamp], endOpt: Option[BlockStamp], addressBatchSize: Int, useCreationTime: Boolean)(implicit ec: ExecutionContext): Future[RescanState]

    <invalid inheritdoc annotation>

    <invalid inheritdoc annotation>

    Definition Classes
    RescanHandling
  171. def rescanSPVWallet(): Future[Unit]

    <invalid inheritdoc annotation>

    <invalid inheritdoc annotation>

    Definition Classes
    RescanHandling
  172. def sendFromOutPoints(outPoints: Vector[TransactionOutPoint], address: BitcoinAddress, amount: CurrencyUnit, feeRate: FeeUnit, fromAccount: AccountDb, newTags: Vector[AddressTag])(implicit ec: ExecutionContext): Future[Transaction]

    Sends money from the specified account

    Sends money from the specified account

    todo: add error handling to signature

    Definition Classes
    WalletHDWalletApi
  173. def sendFromOutPoints(outPoints: Vector[TransactionOutPoint], address: BitcoinAddress, feeRate: FeeUnit)(implicit ec: ExecutionContext): Future[Transaction]
    Definition Classes
    WalletWalletApi
  174. def sendFromOutPoints(outPoints: Vector[TransactionOutPoint], address: BitcoinAddress, amount: CurrencyUnit, feeRate: FeeUnit, newTags: Vector[AddressTag])(implicit ec: ExecutionContext): Future[Transaction]
    Definition Classes
    HDWalletApi
  175. def sendFromOutPoints(outPoints: Vector[TransactionOutPoint], address: BitcoinAddress, amount: CurrencyUnit, feeRate: FeeUnit)(implicit ec: ExecutionContext): Future[Transaction]
    Definition Classes
    HDWalletApiWalletApi
  176. def sendFromOutPoints(outPoints: Vector[TransactionOutPoint], address: BitcoinAddress, amount: CurrencyUnit, feeRateOpt: Option[FeeUnit])(implicit ec: ExecutionContext): Future[Transaction]
    Definition Classes
    HDWalletApiWalletApi
  177. def sendFromOutPoints(outPoints: Vector[TransactionOutPoint], address: BitcoinAddress, amount: CurrencyUnit, feeRateOpt: Option[FeeUnit], fromAccount: AccountDb)(implicit ec: ExecutionContext): Future[Transaction]
    Definition Classes
    HDWalletApi
  178. def sendFromOutPoints(outPoints: Vector[TransactionOutPoint], address: BitcoinAddress, amount: CurrencyUnit, feeRate: FeeUnit, fromAccount: AccountDb)(implicit ec: ExecutionContext): Future[Transaction]
    Definition Classes
    HDWalletApi
  179. def sendFromOutPoints(outPoints: Vector[TransactionOutPoint], address: BitcoinAddress, feeRateOpt: Option[FeeUnit])(implicit ec: ExecutionContext): Future[Transaction]
    Definition Classes
    WalletApi
  180. def sendToAddress(address: BitcoinAddress, amount: CurrencyUnit, feeRate: FeeUnit, fromAccount: AccountDb, newTags: Vector[AddressTag])(implicit ec: ExecutionContext): Future[Transaction]

    Sends money from the specified account

    Sends money from the specified account

    todo: add error handling to signature

    Definition Classes
    WalletHDWalletApi
  181. def sendToAddress(address: BitcoinAddress, amount: CurrencyUnit, feeRate: FeeUnit, fromAccount: AccountDb)(implicit ec: ExecutionContext): Future[Transaction]
    Definition Classes
    WalletHDWalletApi
  182. def sendToAddress(address: BitcoinAddress, amount: CurrencyUnit, feeRate: FeeUnit, newTags: Vector[AddressTag])(implicit ec: ExecutionContext): Future[Transaction]
    Definition Classes
    HDWalletApi
  183. def sendToAddress(address: BitcoinAddress, amount: CurrencyUnit, feeRate: FeeUnit)(implicit ec: ExecutionContext): Future[Transaction]

    Sends money to the address

    Sends money to the address

    todo: add error handling to signature

    Definition Classes
    HDWalletApiWalletApi
  184. def sendToAddress(address: BitcoinAddress, amount: CurrencyUnit, feeRateOpt: Option[FeeUnit])(implicit ec: ExecutionContext): Future[Transaction]
    Definition Classes
    HDWalletApiWalletApi
  185. def sendToAddress(address: BitcoinAddress, amount: CurrencyUnit, feeRateOpt: Option[FeeUnit], fromAccount: AccountDb)(implicit ec: ExecutionContext): Future[Transaction]
    Definition Classes
    HDWalletApi
  186. def sendToAddresses(addresses: Vector[BitcoinAddress], amounts: Vector[CurrencyUnit], feeRate: FeeUnit, fromAccount: AccountDb, newTags: Vector[AddressTag])(implicit ec: ExecutionContext): Future[Transaction]

    Sends money from the specified account

    Sends money from the specified account

    todo: add error handling to signature

    Definition Classes
    WalletHDWalletApi
  187. def sendToAddresses(addresses: Vector[BitcoinAddress], amounts: Vector[CurrencyUnit], feeRate: FeeUnit, newTags: Vector[AddressTag])(implicit ec: ExecutionContext): Future[Transaction]
    Definition Classes
    HDWalletApi
  188. def sendToAddresses(addresses: Vector[BitcoinAddress], amounts: Vector[CurrencyUnit], feeRate: FeeUnit)(implicit ec: ExecutionContext): Future[Transaction]
    Definition Classes
    HDWalletApiWalletApi
  189. def sendToAddresses(addresses: Vector[BitcoinAddress], amounts: Vector[CurrencyUnit], feeRateOpt: Option[FeeUnit])(implicit ec: ExecutionContext): Future[Transaction]

    Sends funds to each address

    Sends funds to each address

    Definition Classes
    HDWalletApiWalletApi
  190. def sendToAddresses(addresses: Vector[BitcoinAddress], amounts: Vector[CurrencyUnit], feeRateOpt: Option[FeeUnit], fromAccount: AccountDb)(implicit ec: ExecutionContext): Future[Transaction]
    Definition Classes
    HDWalletApi
  191. def sendToAddresses(addresses: Vector[BitcoinAddress], amounts: Vector[CurrencyUnit], feeRate: FeeUnit, fromAccount: AccountDb)(implicit ec: ExecutionContext): Future[Transaction]
    Definition Classes
    HDWalletApi
  192. def sendToOutputs(outputs: Vector[TransactionOutput], feeRate: FeeUnit, fromAccount: AccountDb, newTags: Vector[AddressTag])(implicit ec: ExecutionContext): Future[Transaction]

    Sends money from the specified account

    Sends money from the specified account

    todo: add error handling to signature

    Definition Classes
    WalletHDWalletApi
  193. def sendToOutputs(outputs: Vector[TransactionOutput], feeRate: FeeUnit)(implicit ec: ExecutionContext): Future[Transaction]
    Definition Classes
    HDWalletApiWalletApi
  194. def sendToOutputs(outputs: Vector[TransactionOutput], feeRateOpt: Option[FeeUnit])(implicit ec: ExecutionContext): Future[Transaction]

    Sends funds using the specified outputs

    Sends funds using the specified outputs

    todo: add error handling to signature

    Definition Classes
    HDWalletApiWalletApi
  195. def sendToOutputs(outputs: Vector[TransactionOutput], feeRate: FeeUnit, newTags: Vector[AddressTag])(implicit ec: ExecutionContext): Future[Transaction]
    Definition Classes
    HDWalletApi
  196. def sendToOutputs(outputs: Vector[TransactionOutput], feeRateOpt: Option[FeeUnit], fromAccount: AccountDb)(implicit ec: ExecutionContext): Future[Transaction]
    Definition Classes
    HDWalletApi
  197. def sendToOutputs(outputs: Vector[TransactionOutput], feeRate: FeeUnit, fromAccount: AccountDb)(implicit ec: ExecutionContext): Future[Transaction]
    Definition Classes
    HDWalletApi
  198. def sendWithAlgo(address: BitcoinAddress, amount: CurrencyUnit, feeRate: FeeUnit, algo: CoinSelectionAlgo, fromAccount: AccountDb, newTags: Vector[AddressTag])(implicit ec: ExecutionContext): Future[Transaction]
    Definition Classes
    WalletHDWalletApi
  199. def sendWithAlgo(address: BitcoinAddress, amount: CurrencyUnit, feeRate: FeeUnit, algo: CoinSelectionAlgo, newTags: Vector[AddressTag])(implicit ec: ExecutionContext): Future[Transaction]
    Definition Classes
    HDWalletApi
  200. def sendWithAlgo(address: BitcoinAddress, amount: CurrencyUnit, feeRate: FeeUnit, algo: CoinSelectionAlgo)(implicit ec: ExecutionContext): Future[Transaction]
    Definition Classes
    HDWalletApiWalletApi
  201. def sendWithAlgo(address: BitcoinAddress, amount: CurrencyUnit, feeRateOpt: Option[FeeUnit], algo: CoinSelectionAlgo)(implicit ec: ExecutionContext): Future[Transaction]
    Definition Classes
    HDWalletApiWalletApi
  202. def sendWithAlgo(address: BitcoinAddress, amount: CurrencyUnit, feeRateOpt: Option[FeeUnit], algo: CoinSelectionAlgo, fromAccount: AccountDb)(implicit ec: ExecutionContext): Future[Transaction]
    Definition Classes
    HDWalletApi
  203. def sendWithAlgo(address: BitcoinAddress, amount: CurrencyUnit, feeRate: FeeUnit, algo: CoinSelectionAlgo, fromAccount: AccountDb)(implicit ec: ExecutionContext): Future[Transaction]
    Definition Classes
    HDWalletApi
  204. def signDLC(accept: DLCAccept): Future[DLCSign]

    Creates signatures for the DLCs CETs and Funding Inputs

    Creates signatures for the DLCs CETs and Funding Inputs

    This is the second step of the initiator

    Definition Classes
    DLCWalletDLCWalletApi
  205. def signDLC(acceptTLV: DLCAcceptTLV): Future[DLCSign]
    Definition Classes
    DLCWalletDLCWalletApi
  206. def signPSBT(psbt: PSBT)(implicit ec: ExecutionContext): Future[PSBT]
    Definition Classes
    WalletHDWalletApi
  207. def start(): Future[Wallet]
    Definition Classes
    WalletWalletApiStartStop
  208. def stop(): Future[Wallet]
    Definition Classes
    WalletWalletApiStartStop
  209. def sweepWallet(address: BitcoinAddress, feeRate: FeeUnit)(implicit ec: ExecutionContext): Future[Transaction]

    Sends the entire wallet balance to the given address

    Sends the entire wallet balance to the given address

    Definition Classes
    WalletWalletApi
  210. def sweepWallet(address: BitcoinAddress, feeRateOpt: Option[FeeUnit])(implicit ec: ExecutionContext): Future[Transaction]

    Sends the entire wallet balance to the given address

    Sends the entire wallet balance to the given address

    Definition Classes
    WalletApi
  211. def sweepWallet(address: BitcoinAddress)(implicit ec: ExecutionContext): Future[Transaction]

    Sends the entire wallet balance to the given address

    Sends the entire wallet balance to the given address

    Definition Classes
    WalletApi
  212. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  213. def tagAddress(address: BitcoinAddress, tag: AddressTag): Future[AddressTagDb]
    Definition Classes
    AddressHandling
  214. def toString(): String
    Definition Classes
    AnyRef → Any
  215. def trace(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  216. def trace(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  217. def trace(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  218. def unmarkUTXOsAsReserved(tx: Transaction): Future[Vector[SpendingInfoDb]]

    <invalid inheritdoc annotation>

    <invalid inheritdoc annotation>

    Definition Classes
    UtxoHandling
  219. def unmarkUTXOsAsReserved(utxos: Vector[SpendingInfoDb]): Future[Vector[SpendingInfoDb]]
    Definition Classes
    UtxoHandling
  220. def updateUtxoPendingStates(): Future[Vector[SpendingInfoDb]]

    <invalid inheritdoc annotation>

    <invalid inheritdoc annotation>

    Definition Classes
    UtxoHandling
  221. def verifyCETSigs(sign: DLCSign): Future[Option[Boolean]]

    Verify CET sigs for the given sign message if it exists If it doesnt not exist, return None

  222. def verifyCETSigs(accept: DLCAccept): Future[Option[Boolean]]

    Verify CET sigs for the given accept message if it exists If it doesnt not exist, return None

  223. def verifyFundingSigs(inputs: Vector[DLCFundingInputDb], sign: DLCSign): Future[Option[Boolean]]
  224. def verifyRefundSig(sign: DLCSign): Future[Option[Boolean]]
  225. def verifyRefundSig(accept: DLCAccept): Future[Option[Boolean]]
  226. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  227. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  228. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  229. def walletCallbacks: WalletCallbacks
    Definition Classes
    Wallet
  230. lazy val walletCreationBlockHeight: Future[BlockHeight]
    Definition Classes
    RescanHandling
  231. def warn(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  232. def warn(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  233. def warn(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  234. def watchScriptPubKey(scriptPubKey: ScriptPubKey): Future[ScriptPubKeyDb]
    Definition Classes
    AddressHandling
  235. def writeUtxo(tx: Transaction, blockHashOpt: Option[DoubleSha256DigestBE], output: TransactionOutput, outPoint: TransactionOutPoint, addressDb: AddressDb): Future[SpendingInfoDb]

    Constructs a DB level representation of the given UTXO, and persist it to disk

    Constructs a DB level representation of the given UTXO, and persist it to disk

    Attributes
    protected
    Definition Classes
    UtxoHandling

Inherited from DLCTransactionProcessing

Inherited from AnyDLCHDWalletApi

Inherited from DLCWalletApi

Inherited from Wallet

Inherited from RescanHandling

Inherited from TransactionProcessing

Inherited from AccountHandling

Inherited from AddressHandling

Inherited from UtxoHandling

Inherited from WalletLogger

Inherited from Logging

Inherited from AnyHDWalletApi

Inherited from SpvWalletApi

Inherited from NeutrinoWalletApi

Inherited from HDWalletApi

Inherited from WalletApi

Inherited from StartStopAsync[WalletApi]

Inherited from StartStop[Future[WalletApi]]

Inherited from AnyRef

Inherited from Any

Ungrouped