Packages

class WalletHolder extends DLCNeutrinoHDWalletApi with Logging

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WalletHolder
  2. Logging
  3. DLCNeutrinoHDWalletApi
  4. DLCWalletApi
  5. NeutrinoHDWalletApi
  6. NeutrinoWalletApi
  7. HDWalletApi
  8. WalletApi
  9. StartStopAsync
  10. StartStop
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new WalletHolder(initWalletOpt: Option[DLCNeutrinoHDWalletApi])(implicit 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. def acceptDLCOffer(dlcOfferTLV: DLCOfferTLV, peerAddress: Option[InetSocketAddress], externalPayoutAddressOpt: Option[BitcoinAddress], externalChangeAddressOpt: Option[BitcoinAddress]): Future[DLCAccept]
    Definition Classes
    WalletHolderDLCWalletApi
  5. def acceptDLCOffer(dlcOffer: DLCOffer, peerAddress: Option[InetSocketAddress], externalPayoutAddressOpt: Option[BitcoinAddress], externalChangeAddressOpt: Option[BitcoinAddress]): Future[DLCAccept]
    Definition Classes
    WalletHolderDLCWalletApi
  6. def addDLCContact(contact: DLCContactDb): Future[Unit]
    Definition Classes
    WalletHolderDLCWalletApi
  7. def addDLCContactMapping(dlcId: Sha256Digest, contactId: InetSocketAddress): Future[Unit]
    Definition Classes
    WalletHolderDLCWalletApi
  8. def addDLCSigs(sigs: DLCSign): Future[DLCDb]
    Definition Classes
    WalletHolderDLCWalletApi
  9. def addDLCSigs(signTLV: DLCSignTLV): Future[DLCDb]
    Definition Classes
    WalletHolderDLCWalletApi
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. def broadcastDLCFundingTx(contractId: ByteVector): Future[Transaction]
    Definition Classes
    WalletHolderDLCWalletApi
  12. def broadcastTransaction(transaction: Transaction): Future[Unit]
    Definition Classes
    WalletHolderWalletApi
  13. 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
    WalletHolderWalletApi
  14. def bumpFeeRBF(txId: DoubleSha256DigestBE, newFeeRate: FeeUnit): Future[Transaction]
    Definition Classes
    WalletHolderWalletApi
  15. def cancelDLC(dlcId: Sha256Digest): Future[Unit]
    Definition Classes
    WalletHolderDLCWalletApi
  16. lazy val chainQueryApi: ChainQueryApi
    Definition Classes
    WalletHolderWalletApi
  17. def clearAllAddresses(): Future[WalletApi]
    Definition Classes
    WalletHolderWalletApi
  18. def clearAllUtxos(): Future[HDWalletApi]

    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
    WalletHolderHDWalletApiWalletApi
  19. def clearUtxos(account: HDAccount): Future[HDWalletApi]
    Definition Classes
    WalletHolderHDWalletApi
  20. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  21. def createDLCOffer(contractInfoTLV: ContractInfoTLV, collateral: Satoshis, feeRateOpt: Option[SatoshisPerVirtualByte], locktime: UInt32, refundLT: UInt32, peerAddressOpt: Option[InetSocketAddress], externalPayoutAddressOpt: Option[BitcoinAddress], externalChangeAddressOpt: Option[BitcoinAddress]): Future[DLCOffer]
    Definition Classes
    WalletHolderDLCWalletApi
  22. def createDLCOffer(contractInfoTLV: ContractInfoTLV, collateral: Satoshis, feeRateOpt: Option[SatoshisPerVirtualByte], refundLT: UInt32, peerAddressOpt: Option[InetSocketAddress], externalPayoutAddressOpt: Option[BitcoinAddress], externalChangeAddressOpt: Option[BitcoinAddress]): Future[DLCOffer]
    Definition Classes
    WalletHolderDLCWalletApi
  23. def createDLCOffer(contractInfo: ContractInfo, collateral: Satoshis, feeRateOpt: Option[SatoshisPerVirtualByte], locktime: UInt32, refundLT: UInt32, peerAddressOpt: Option[InetSocketAddress], externalPayoutAddressOpt: Option[BitcoinAddress], externalChangeAddressOpt: Option[BitcoinAddress]): Future[DLCOffer]
    Definition Classes
    WalletHolderDLCWalletApi
  24. def createDLCOffer(contractInfo: ContractInfo, collateral: Satoshis, feeRateOpt: Option[SatoshisPerVirtualByte], refundLT: UInt32, peerAddressOpt: Option[InetSocketAddress], externalPayoutAddressOpt: Option[BitcoinAddress], externalChangeAddressOpt: Option[BitcoinAddress]): Future[DLCOffer]
    Definition Classes
    WalletHolderDLCWalletApi
  25. def createNewAccount(hdAccount: HDAccount, keyManagerParams: KeyManagerParams): Future[HDWalletApi]

    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
    WalletHolderHDWalletApi
    See also

    BIP44 account section

  26. def createNewAccount(keyManagerParams: KeyManagerParams): Future[HDWalletApi]
    Definition Classes
    WalletHolderHDWalletApi
  27. lazy val creationTime: Instant
    Definition Classes
    WalletHolderWalletApi
  28. def debug(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  29. def debug(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  30. def debug(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  31. def determineFeeRate(feeRateOpt: Option[FeeUnit]): Future[FeeUnit]
    Attributes
    protected
    Definition Classes
    WalletApi
  32. def discoveryBatchSize(): Int
    Definition Classes
    WalletHolderNeutrinoWalletApi
  33. def dropAddressTag(addressTagDb: AddressTagDb): Future[Int]
    Definition Classes
    WalletHolderWalletApi
  34. def dropAddressTagName(address: BitcoinAddress, tagName: AddressTagName): Future[Int]
    Definition Classes
    WalletHolderWalletApi
  35. def dropAddressTagType(address: BitcoinAddress, addressTagType: AddressTagType): Future[Int]
    Definition Classes
    WalletHolderWalletApi
  36. def dropAddressTagType(addressTagType: AddressTagType): Future[Int]
    Definition Classes
    WalletHolderWalletApi
  37. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  38. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  39. def error(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  40. def error(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  41. def error(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  42. 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
    WalletHolderDLCWalletApi
  43. 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
    WalletHolderDLCWalletApi
  44. 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
    WalletHolderDLCWalletApi
  45. def executeDLC(contractId: ByteVector, oracleSigs: 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
    WalletHolderDLCWalletApi
  46. 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
    WalletHolderDLCWalletApi
  47. lazy val feeRateApi: FeeRateApi
    Definition Classes
    WalletHolderWalletApi
  48. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  49. def findAccount(account: HDAccount): Future[Option[AccountDb]]
    Definition Classes
    WalletHolderHDWalletApi
  50. def findByOutPoint(outPoint: TransactionOutPoint)(implicit ec: ExecutionContext): Future[Option[SpendingInfoDb]]
    Definition Classes
    WalletApi
  51. def findByOutPoints(outPoints: Vector[TransactionOutPoint]): Future[Vector[SpendingInfoDb]]
    Definition Classes
    WalletHolderWalletApi
  52. def findByScriptPubKey(scriptPubKey: ScriptPubKey): Future[Vector[SpendingInfoDb]]
    Definition Classes
    WalletHolderWalletApi
  53. def findByTxId(txId: DoubleSha256Digest)(implicit ec: ExecutionContext): Future[Option[TransactionDb]]
    Definition Classes
    WalletApi
  54. def findByTxId(txId: DoubleSha256DigestBE)(implicit ec: ExecutionContext): Future[Option[TransactionDb]]
    Definition Classes
    WalletApi
  55. def findByTxIds(txIds: Vector[DoubleSha256DigestBE]): Future[Vector[TransactionDb]]
    Definition Classes
    WalletHolderWalletApi
  56. def findDLC(dlcId: Sha256Digest): Future[Option[DLCStatus]]
    Definition Classes
    WalletHolderDLCWalletApi
  57. def findDLCByTemporaryContractId(tempContractId: Sha256Digest): Future[Option[DLCStatus]]
    Definition Classes
    WalletHolderDLCWalletApi
  58. def findDLCContacts(alias: String): Future[Vector[DLCContactDb]]
    Definition Classes
    WalletHolderDLCWalletApi
  59. def findIncomingDLCOffer(offerHash: Sha256Digest): Future[Option[IncomingDLCOfferDb]]
    Definition Classes
    WalletHolderDLCWalletApi
  60. 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
    WalletHolderWalletApi
  61. def findTransaction(txId: DoubleSha256DigestBE): Future[Option[TransactionDb]]
    Definition Classes
    WalletHolderWalletApi
  62. def fullRescanNeutrinoWallet(addressBatchSize: Int, force: Boolean)(implicit ec: ExecutionContext): Future[RescanState]

    Helper method to rescan the ENTIRE blockchain.

    Helper method to rescan the ENTIRE blockchain.

    Definition Classes
    WalletHolderNeutrinoWalletApi
  63. def fundRawTransaction(destinations: Vector[TransactionOutput], feeRate: FeeUnit, fromAccount: AccountDb, markAsReserved: Boolean): Future[FundRawTxHelper[ShufflingNonInteractiveFinalizer]]
    Definition Classes
    WalletHolderHDWalletApi
  64. def fundRawTransaction(destinations: Vector[TransactionOutput], feeRate: FeeUnit, fromTagOpt: Option[AddressTag], markAsReserved: Boolean): Future[FundRawTxHelper[ShufflingNonInteractiveFinalizer]]

    Funds a transaction from the wallet.

    Funds a transaction from the wallet.

    returns

    funded transaction send funds to desinations with the given fee rate

    Definition Classes
    WalletHolderWalletApi
  65. 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
    WalletHolderHDWalletApi
  66. def getAddress(account: AccountDb, chainType: HDChainType, addressIndex: Int): Future[AddressDb]

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

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

    Definition Classes
    WalletHolderHDWalletApi
  67. def getAddressInfo(spendingInfoDb: SpendingInfoDb, networkParameters: NetworkParameters): Future[Option[AddressInfo]]
    Definition Classes
    WalletHolderWalletApi
  68. def getAddressInfo(address: BitcoinAddress): Future[Option[AddressInfo]]

    Mimics the getaddressinfo RPC call in Bitcoin Core

    Mimics the getaddressinfo RPC call in Bitcoin Core

    returns

    If the address is found in our database Some(address) is returned, otherwise None

    Definition Classes
    WalletHolderWalletApi
  69. def getAddressTags(tagType: AddressTagType): Future[Vector[AddressTagDb]]
    Definition Classes
    WalletHolderWalletApi
  70. def getAddressTags(): Future[Vector[AddressTagDb]]
    Definition Classes
    WalletHolderWalletApi
  71. def getAddressTags(address: BitcoinAddress, tagType: AddressTagType): Future[Vector[AddressTagDb]]
    Definition Classes
    WalletHolderWalletApi
  72. def getAddressTags(address: BitcoinAddress): Future[Vector[AddressTagDb]]
    Definition Classes
    WalletHolderWalletApi
  73. 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
    WalletHolderHDWalletApi
  74. 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
    WalletHolderWalletApi
  75. 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
    WalletHolderWalletApi
  76. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  77. def getConfirmedBalance(account: HDAccount): Future[CurrencyUnit]
    Definition Classes
    WalletHolderHDWalletApi
  78. def getConfirmedBalance(tag: AddressTag): Future[CurrencyUnit]
    Definition Classes
    WalletHolderWalletApi
  79. 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
    WalletHolderWalletApi
  80. def getDLCFundingTx(contractId: ByteVector): Future[Transaction]
    Definition Classes
    WalletHolderDLCWalletApi
  81. def getDLCOffer(dlcId: Sha256Digest): Future[Option[DLCOffer]]
    Definition Classes
    WalletHolderDLCWalletApi
  82. def getDefaultAccount(): Future[AccountDb]

    Fetches the default account from the DB

    Fetches the default account from the DB

    returns

    Future[AccountDb]

    Definition Classes
    WalletHolderHDWalletApi
  83. def getDefaultAccountForType(addressType: AddressType): Future[AccountDb]

    Fetches the default account for the given address/account kind

    Fetches the default account for the given address/account kind

    Definition Classes
    WalletHolderHDWalletApi
  84. def getFeeRate(): Future[FeeUnit]
    Definition Classes
    WalletHolderWalletApi
  85. def getInfo(): Future[WalletInfo]
    Definition Classes
    WalletHolderWalletApi
  86. def getNewAddress(account: AccountDb): Future[BitcoinAddress]
    Definition Classes
    WalletHolderHDWalletApi
  87. def getNewAddress(tags: Vector[AddressTag]): Future[BitcoinAddress]
    Definition Classes
    WalletHolderWalletApi
  88. def getNewAddress(addressType: AddressType, tags: Vector[AddressTag]): Future[BitcoinAddress]
    Definition Classes
    WalletHolderWalletApi
  89. def getNewAddress(): Future[BitcoinAddress]

    Gets a new external address Calling this method multiple times will return the same address, until it has received funds.

    Gets a new external address Calling this method multiple times will return the same address, until it has received funds.

    Definition Classes
    WalletHolderWalletApi
  90. def getNewAddress(account: HDAccount): Future[BitcoinAddress]
    Definition Classes
    WalletHolderHDWalletApi
  91. def getNewAddress(addressType: AddressType): Future[BitcoinAddress]

    Gets a new external address with the specified type.

    Gets a new external address with the specified type.

    Definition Classes
    WalletHolderWalletApi
  92. def getNewChangeAddress()(implicit ec: ExecutionContext): Future[BitcoinAddress]

    Generates a new change address

    Generates a new change address

    Definition Classes
    WalletHolderHDWalletApiWalletApi
  93. def getNewChangeAddress(account: AccountDb): Future[BitcoinAddress]

    Generates a new change address

    Generates a new change address

    Definition Classes
    WalletHolderHDWalletApi
  94. def getSyncDescriptorOpt(): Future[Option[SyncHeightDescriptor]]
    Definition Classes
    WalletHolderWalletApi
  95. def getSyncState(): Future[BlockSyncState]
    Definition Classes
    WalletHolderWalletApi
  96. def getUnconfirmedBalance(account: HDAccount): Future[CurrencyUnit]
    Definition Classes
    WalletHolderHDWalletApi
  97. def getUnconfirmedBalance(tag: AddressTag): Future[CurrencyUnit]
    Definition Classes
    WalletHolderWalletApi
  98. 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
    WalletHolderWalletApi
  99. def getUnusedAddress: Future[BitcoinAddress]

    Gets a external address.

    Gets a external address. Calling this method multiple times will return the same address, until it has received funds.

    Definition Classes
    WalletHolderWalletApi
  100. def getUnusedAddress(addressType: AddressType): Future[BitcoinAddress]

    Gets a external address the given AddressType.

    Gets a external address the given AddressType. Calling this method multiple times will return the same address, until it has received funds.

    Definition Classes
    WalletHolderWalletApi
  101. 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
    WalletHolderDLCWalletApi
  102. def getWalletName(): Future[String]
    Definition Classes
    WalletHolderWalletApi
  103. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  104. def info(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  105. def info(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  106. def info(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  107. 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
    WalletHolderWalletApi
  108. def isDebugEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  109. def isEmpty(): Future[Boolean]

    Checks if the wallet contains any data

    Checks if the wallet contains any data

    Definition Classes
    WalletHolderWalletApi
  110. def isErrorEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  111. def isInfoEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  112. def isInitialized: Boolean
  113. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  114. def isRescanning(): Future[Boolean]
    Definition Classes
    WalletHolderWalletApi
  115. def isTraceEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  116. def isWarnEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  117. def keyManager: BIP39KeyManagerApi
    Definition Classes
    WalletHolderHDWalletApiWalletApi
  118. 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
    WalletHolderHDWalletApi
  119. def listAccounts(): Future[Vector[AccountDb]]
    Definition Classes
    WalletHolderHDWalletApi
  120. def listAddresses(account: HDAccount): Future[Vector[AddressDb]]
    Definition Classes
    WalletHolderHDWalletApi
  121. def listAddresses(): Future[Vector[AddressDb]]
    Definition Classes
    WalletHolderWalletApi
  122. def listDLCContacts(): Future[Vector[DLCContactDb]]
    Definition Classes
    WalletHolderDLCWalletApi
  123. def listDLCs(): Future[Vector[DLCStatus]]
    Definition Classes
    WalletHolderDLCWalletApi
  124. def listDLCs(states: Vector[DLCState]): Future[Vector[DLCStatus]]

    Fetches all DLCs with the given set of states

    Fetches all DLCs with the given set of states

    Definition Classes
    WalletHolderDLCWalletApi
  125. def listDLCsByContact(address: InetSocketAddress): Future[Vector[DLCStatus]]
    Definition Classes
    WalletHolderDLCWalletApi
  126. def listDefaultAccountUtxos(): Future[Vector[SpendingInfoDb]]
    Definition Classes
    WalletHolderHDWalletApi
  127. def listFundedAddresses(account: HDAccount): Future[Vector[(AddressDb, CurrencyUnit)]]
    Definition Classes
    WalletHolderHDWalletApi
  128. def listFundedAddresses(): Future[Vector[(AddressDb, CurrencyUnit)]]
    Definition Classes
    WalletHolderWalletApi
  129. def listIncomingDLCOffers(): Future[Vector[IncomingDLCOfferDb]]
    Definition Classes
    WalletHolderDLCWalletApi
  130. def listScriptPubKeys(): Future[Vector[ScriptPubKeyDb]]
    Definition Classes
    WalletHolderWalletApi
  131. def listSpentAddresses(account: HDAccount): Future[Vector[AddressDb]]
    Definition Classes
    WalletHolderHDWalletApi
  132. def listSpentAddresses(): Future[Vector[AddressDb]]
    Definition Classes
    WalletHolderWalletApi
  133. def listTransactions(): Future[Vector[TransactionDb]]
    Definition Classes
    WalletHolderWalletApi
  134. def listUnusedAddresses(account: HDAccount): Future[Vector[AddressDb]]
    Definition Classes
    WalletHolderHDWalletApi
  135. def listUnusedAddresses(): Future[Vector[AddressDb]]
    Definition Classes
    WalletHolderWalletApi
  136. def listUtxos(hdAccount: HDAccount, state: TxoState): Future[Vector[SpendingInfoDb]]
    Definition Classes
    WalletHolderHDWalletApi
  137. def listUtxos(hdAccount: HDAccount, tag: AddressTag): Future[Vector[SpendingInfoDb]]
    Definition Classes
    WalletHolderHDWalletApi
  138. def listUtxos(account: HDAccount): Future[Vector[SpendingInfoDb]]
    Definition Classes
    WalletHolderHDWalletApi
  139. def listUtxos(state: TxoState): Future[Vector[SpendingInfoDb]]
    Definition Classes
    WalletHolderWalletApi
  140. def listUtxos(tag: AddressTag): Future[Vector[SpendingInfoDb]]
    Definition Classes
    WalletHolderWalletApi
  141. def listUtxos(): Future[Vector[SpendingInfoDb]]

    Lists unspent transaction outputs in the wallet

    Lists unspent transaction outputs in the wallet

    returns

    Vector[SpendingInfoDb]

    Definition Classes
    WalletHolderWalletApi
  142. def logger: Logger
    Attributes
    protected
    Definition Classes
    Logging
  143. def loggerName: String
    Attributes
    protected
    Definition Classes
    Logging
  144. def makeOpReturnCommitment(message: String, hashMessage: Boolean, feeRate: FeeUnit)(implicit ec: ExecutionContext): Future[Transaction]
    Definition Classes
    WalletHolderHDWalletApiWalletApi
  145. def makeOpReturnCommitment(message: String, hashMessage: Boolean, feeRateOpt: Option[FeeUnit], fromAccount: AccountDb)(implicit ec: ExecutionContext): Future[Transaction]
    Definition Classes
    WalletHolderHDWalletApi
  146. def makeOpReturnCommitment(message: String, hashMessage: Boolean, feeRateOpt: Option[FeeUnit])(implicit ec: ExecutionContext): Future[Transaction]
    Definition Classes
    WalletHolderWalletApi
  147. def makeOpReturnCommitment(message: String, hashMessage: Boolean, feeRate: FeeUnit, fromAccount: AccountDb)(implicit ec: ExecutionContext): Future[Transaction]
    Definition Classes
    WalletHolderHDWalletApi
  148. 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
    WalletHolderWalletApi
  149. def markUTXOsAsReserved(utxos: Vector[SpendingInfoDb]): Future[Vector[SpendingInfoDb]]
    Definition Classes
    WalletHolderWalletApi
  150. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  151. lazy val nodeApi: NodeApi
    Definition Classes
    WalletHolderWalletApi
  152. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  153. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  154. def processBlock(block: Block): Future[WalletApi]

    Processes the give block, updating our DB state if it's relevant to us.

    Processes the give block, updating our DB state if it's relevant to us.

    block

    The block we're processing

    Definition Classes
    WalletHolderWalletApi
  155. def processCompactFilter(blockHash: DoubleSha256Digest, blockFilter: GolombFilter): Future[NeutrinoHDWalletApi]
    Definition Classes
    WalletHolderNeutrinoWalletApi
  156. def processCompactFilters(blockFilters: Vector[(DoubleSha256Digest, GolombFilter)]): Future[NeutrinoHDWalletApi]
    Definition Classes
    WalletHolderNeutrinoWalletApi
  157. 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
    WalletHolderWalletApi
  158. def processTransaction(transaction: Transaction, blockHash: Option[DoubleSha256DigestBE]): Future[WalletApi]

    Processes the given transaction, updating our DB state if it's relevant to us.

    Processes the given transaction, updating our DB state if it's relevant to us.

    transaction

    The transaction we're processing

    blockHash

    Containing block hash

    Definition Classes
    WalletHolderWalletApi
  159. def processTransactions(transactions: Vector[Transaction], blockHash: Option[DoubleSha256DigestBE])(implicit ec: ExecutionContext): Future[WalletApi]
    Definition Classes
    WalletHolderWalletApi
  160. def registerIncomingDLCOffer(offerTLV: DLCOfferTLV, peer: Option[String], message: Option[String]): Future[Sha256Digest]
    Definition Classes
    WalletHolderDLCWalletApi
  161. def rejectIncomingDLCOffer(offerHash: Sha256Digest): Future[Unit]
    Definition Classes
    WalletHolderDLCWalletApi
  162. def removeDLCContact(address: InetSocketAddress): Future[Unit]
    Definition Classes
    WalletHolderDLCWalletApi
  163. def removeDLCContactMapping(dlcId: Sha256Digest): Future[Unit]
    Definition Classes
    WalletHolderDLCWalletApi
  164. def replaceWallet(newWallet: DLCNeutrinoHDWalletApi): Future[DLCNeutrinoHDWalletApi]
  165. def rescanNeutrinoWallet(startOpt: Option[BlockStamp], endOpt: Option[BlockStamp], addressBatchSize: Int, useCreationTime: Boolean, force: Boolean)(implicit ec: ExecutionContext): Future[RescanState]

    Recreates the account using BIP-157 approach

    Recreates the account using BIP-157 approach

    DANGER! This method removes all records from the wallet database and creates new ones while the account discovery process.

    The Wallet UI should check if the database is empty before calling this method and let the end users to decide whether they want to proceed or not.

    This method generates addressBatchSize of addresses, then matches them against the BIP-158 compact filters, and downloads and processes the matched blocks. This method keeps doing the steps until there are WalletConfig.addressGapLimit or more unused addresses in a row. In this case it considers the discovery process completed.

    addressBatchSize - the number of addresses we should generate from a keychain to attempt to match in in a rescan WalletConfig.addressGapLimit - the number of addresses required to go without a match before we determine that our wallet is "discovered". For instance, if addressBatchSize=100, and AddressGapLimit=20 we do a rescan and the last address we find containing funds is at index 75, we would not generate more addresses to try and rescan. However if the last index containing funds was 81, we would generate another 100 addresses from the keychain and attempt to rescan those.

    startOpt

    start block (if None it starts from the genesis block)

    endOpt

    end block (if None it ends at the current tip)

    addressBatchSize

    how many addresses to match in a single pass

    Definition Classes
    WalletHolderNeutrinoWalletApi
  166. def sendFromOutPoints(outPoints: Vector[TransactionOutPoint], address: BitcoinAddress, amount: CurrencyUnit, feeRate: FeeUnit, newTags: Vector[AddressTag])(implicit ec: ExecutionContext): Future[Transaction]
    Definition Classes
    WalletHolderHDWalletApi
  167. def sendFromOutPoints(outPoints: Vector[TransactionOutPoint], address: BitcoinAddress, amount: CurrencyUnit, feeRate: FeeUnit)(implicit ec: ExecutionContext): Future[Transaction]
    Definition Classes
    WalletHolderHDWalletApiWalletApi
  168. def sendFromOutPoints(outPoints: Vector[TransactionOutPoint], address: BitcoinAddress, amount: CurrencyUnit, feeRateOpt: Option[FeeUnit], fromAccount: AccountDb)(implicit ec: ExecutionContext): Future[Transaction]
    Definition Classes
    WalletHolderHDWalletApi
  169. def sendFromOutPoints(outPoints: Vector[TransactionOutPoint], address: BitcoinAddress, amount: CurrencyUnit, feeRate: FeeUnit, fromAccount: AccountDb)(implicit ec: ExecutionContext): Future[Transaction]
    Definition Classes
    WalletHolderHDWalletApi
  170. def sendFromOutPoints(outPoints: Vector[TransactionOutPoint], address: BitcoinAddress, feeRateOpt: Option[FeeUnit])(implicit ec: ExecutionContext): Future[Transaction]
    Definition Classes
    WalletHolderWalletApi
  171. def sendFromOutPoints(outPoints: Vector[TransactionOutPoint], address: BitcoinAddress, amount: CurrencyUnit, feeRateOpt: Option[FeeUnit])(implicit ec: ExecutionContext): Future[Transaction]
    Definition Classes
    WalletHolderHDWalletApiWalletApi
  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
    WalletHolderHDWalletApi
  173. def sendFromOutPoints(outPoints: Vector[TransactionOutPoint], address: BitcoinAddress, feeRate: FeeUnit)(implicit ec: ExecutionContext): Future[Transaction]
    Definition Classes
    WalletHolderWalletApi
  174. def sendToAddress(address: BitcoinAddress, amount: CurrencyUnit, feeRate: FeeUnit, newTags: Vector[AddressTag])(implicit ec: ExecutionContext): Future[Transaction]
    Definition Classes
    WalletHolderHDWalletApi
  175. 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
    WalletHolderHDWalletApiWalletApi
  176. def sendToAddress(address: BitcoinAddress, amount: CurrencyUnit, feeRateOpt: Option[FeeUnit], fromAccount: AccountDb)(implicit ec: ExecutionContext): Future[Transaction]
    Definition Classes
    WalletHolderHDWalletApi
  177. def sendToAddress(address: BitcoinAddress, amount: CurrencyUnit, feeRate: FeeUnit, fromAccount: AccountDb)(implicit ec: ExecutionContext): Future[Transaction]
    Definition Classes
    WalletHolderHDWalletApi
  178. def sendToAddress(address: BitcoinAddress, amount: CurrencyUnit, feeRateOpt: Option[FeeUnit])(implicit ec: ExecutionContext): Future[Transaction]
    Definition Classes
    WalletHolderHDWalletApiWalletApi
  179. 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
    WalletHolderHDWalletApi
  180. def sendToAddresses(addresses: Vector[BitcoinAddress], amounts: Vector[CurrencyUnit], feeRate: FeeUnit, newTags: Vector[AddressTag])(implicit ec: ExecutionContext): Future[Transaction]
    Definition Classes
    WalletHolderHDWalletApi
  181. def sendToAddresses(addresses: Vector[BitcoinAddress], amounts: Vector[CurrencyUnit], feeRate: FeeUnit)(implicit ec: ExecutionContext): Future[Transaction]
    Definition Classes
    WalletHolderHDWalletApiWalletApi
  182. def sendToAddresses(addresses: Vector[BitcoinAddress], amounts: Vector[CurrencyUnit], feeRateOpt: Option[FeeUnit], fromAccount: AccountDb)(implicit ec: ExecutionContext): Future[Transaction]
    Definition Classes
    WalletHolderHDWalletApi
  183. def sendToAddresses(addresses: Vector[BitcoinAddress], amounts: Vector[CurrencyUnit], feeRate: FeeUnit, fromAccount: AccountDb)(implicit ec: ExecutionContext): Future[Transaction]
    Definition Classes
    WalletHolderHDWalletApi
  184. 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
    WalletHolderHDWalletApiWalletApi
  185. 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
    WalletHolderHDWalletApi
  186. def sendToOutputs(outputs: Vector[TransactionOutput], feeRate: FeeUnit)(implicit ec: ExecutionContext): Future[Transaction]
    Definition Classes
    WalletHolderHDWalletApiWalletApi
  187. def sendToOutputs(outputs: Vector[TransactionOutput], feeRate: FeeUnit, newTags: Vector[AddressTag])(implicit ec: ExecutionContext): Future[Transaction]
    Definition Classes
    WalletHolderHDWalletApi
  188. def sendToOutputs(outputs: Vector[TransactionOutput], feeRateOpt: Option[FeeUnit], fromAccount: AccountDb)(implicit ec: ExecutionContext): Future[Transaction]
    Definition Classes
    WalletHolderHDWalletApi
  189. def sendToOutputs(outputs: Vector[TransactionOutput], feeRate: FeeUnit, fromAccount: AccountDb)(implicit ec: ExecutionContext): Future[Transaction]
    Definition Classes
    WalletHolderHDWalletApi
  190. 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
    WalletHolderHDWalletApiWalletApi
  191. 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
    WalletHolderHDWalletApi
  192. def sendWithAlgo(address: BitcoinAddress, amount: CurrencyUnit, feeRate: FeeUnit, algo: CoinSelectionAlgo, newTags: Vector[AddressTag])(implicit ec: ExecutionContext): Future[Transaction]
    Definition Classes
    WalletHolderHDWalletApi
  193. def sendWithAlgo(address: BitcoinAddress, amount: CurrencyUnit, feeRate: FeeUnit, algo: CoinSelectionAlgo)(implicit ec: ExecutionContext): Future[Transaction]
    Definition Classes
    WalletHolderHDWalletApiWalletApi
  194. def sendWithAlgo(address: BitcoinAddress, amount: CurrencyUnit, feeRateOpt: Option[FeeUnit], algo: CoinSelectionAlgo, fromAccount: AccountDb)(implicit ec: ExecutionContext): Future[Transaction]
    Definition Classes
    WalletHolderHDWalletApi
  195. def sendWithAlgo(address: BitcoinAddress, amount: CurrencyUnit, feeRate: FeeUnit, algo: CoinSelectionAlgo, fromAccount: AccountDb)(implicit ec: ExecutionContext): Future[Transaction]
    Definition Classes
    WalletHolderHDWalletApi
  196. def sendWithAlgo(address: BitcoinAddress, amount: CurrencyUnit, feeRateOpt: Option[FeeUnit], algo: CoinSelectionAlgo)(implicit ec: ExecutionContext): Future[Transaction]
    Definition Classes
    WalletHolderHDWalletApiWalletApi
  197. def sendWithAlgo(address: BitcoinAddress, amount: CurrencyUnit, feeRate: FeeUnit, algo: CoinSelectionAlgo, fromAccount: AccountDb, newTags: Vector[AddressTag])(implicit ec: ExecutionContext): Future[Transaction]
    Definition Classes
    WalletHolderHDWalletApi
  198. def signDLC(accept: DLCAccept): Future[DLCSign]
    Definition Classes
    WalletHolderDLCWalletApi
  199. def signDLC(acceptTLV: DLCAcceptTLV): Future[DLCSign]
    Definition Classes
    WalletHolderDLCWalletApi
  200. def signPSBT(psbt: PSBT)(implicit ec: ExecutionContext): Future[PSBT]
    Definition Classes
    WalletHolderHDWalletApi
  201. def start(): Future[WalletApi]
    Definition Classes
    WalletHolderWalletApiStartStop
  202. def stop(): Future[WalletApi]
    Definition Classes
    WalletHolderWalletApiStartStop
  203. 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
    WalletHolderWalletApi
  204. 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
    WalletHolderWalletApi
  205. 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
    WalletHolderWalletApi
  206. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  207. def tagAddress(address: BitcoinAddress, tag: AddressTag): Future[AddressTagDb]

    Tags the address with the address tag, updates the tag if one of tag's TagType already exists

    Tags the address with the address tag, updates the tag if one of tag's TagType already exists

    Definition Classes
    WalletHolderWalletApi
  208. def toString(): String
    Definition Classes
    AnyRef → Any
  209. def trace(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  210. def trace(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  211. def trace(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  212. 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
    WalletHolderWalletApi
  213. def unmarkUTXOsAsReserved(utxos: Vector[SpendingInfoDb]): Future[Vector[SpendingInfoDb]]
    Definition Classes
    WalletHolderWalletApi
  214. 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
    WalletHolderWalletApi
  215. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  216. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  217. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  218. def warn(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  219. def warn(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  220. def warn(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  221. def watchScriptPubKey(scriptPubKey: ScriptPubKey): Future[ScriptPubKeyDb]
    Definition Classes
    WalletHolderWalletApi

Inherited from Logging

Inherited from DLCNeutrinoHDWalletApi

Inherited from DLCWalletApi

Inherited from NeutrinoHDWalletApi

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