Packages

t

org.bitcoins.core.api.dlc.wallet

DLCNeutrinoHDWalletApi

trait DLCNeutrinoHDWalletApi extends NeutrinoHDWalletApi with DLCWalletApi

An HDWallet that supports DLCs and Neutrino method of syncing

Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DLCNeutrinoHDWalletApi
  2. DLCWalletApi
  3. NeutrinoHDWalletApi
  4. NeutrinoWalletApi
  5. WalletApi
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def acceptDLCOffer(dlcOffer: DLCOffer, peerAddress: Option[InetSocketAddress], externalPayoutAddressOpt: Option[BitcoinAddress], externalChangeAddressOpt: Option[BitcoinAddress]): Future[DLCAccept]
    Definition Classes
    DLCWalletApi
  2. abstract def accountHandling: AccountHandlingApi
    Definition Classes
    WalletApi
  3. abstract def addDLCSigs(sigs: DLCSign): Future[DLCDb]
    Definition Classes
    DLCWalletApi
  4. abstract def addDLCSigs(signTLV: DLCSignTLV): Future[DLCDb]
    Definition Classes
    DLCWalletApi
  5. abstract def addressHandling: AddressHandlingApi
    Definition Classes
    WalletApi
  6. abstract def broadcastDLCFundingTx(contractId: ByteVector): Future[Transaction]
    Definition Classes
    DLCWalletApi
  7. abstract def broadcastTransaction(transaction: Transaction): Future[Unit]
    Definition Classes
    WalletApi
  8. abstract def cancelDLC(dlcId: Sha256Digest): Future[Unit]
    Definition Classes
    DLCWalletApi
  9. abstract val chainQueryApi: ChainQueryApi
    Definition Classes
    WalletApi
  10. abstract 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
    DLCWalletApi
  11. abstract def createDLCOffer(contractInfo: ContractInfo, collateral: Satoshis, feeRateOpt: Option[SatoshisPerVirtualByte], refundLT: UInt32, peerAddressOpt: Option[InetSocketAddress], externalPayoutAddressOpt: Option[BitcoinAddress], externalChangeAddressOpt: Option[BitcoinAddress]): Future[DLCOffer]
    Definition Classes
    DLCWalletApi
  12. abstract val creationTime: Instant
    Definition Classes
    WalletApi
  13. abstract 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
    DLCWalletApi
  14. abstract 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
    DLCWalletApi
  15. abstract 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
    DLCWalletApi
  16. abstract def feeRateApi: FeeRateApi
    Definition Classes
    WalletApi
  17. abstract def findDLC(dlcId: Sha256Digest): Future[Option[DLCStatus]]
    Definition Classes
    DLCWalletApi
  18. abstract def findDLCByTemporaryContractId(tempContractId: Sha256Digest): Future[Option[DLCStatus]]
    Definition Classes
    DLCWalletApi
  19. abstract def fundTxHandling: FundTransactionHandlingApi
    Definition Classes
    WalletApi
  20. abstract 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
    WalletApi
  21. abstract def getDLCFundingTx(contractId: ByteVector): Future[Transaction]
    Definition Classes
    DLCWalletApi
  22. abstract def getDLCOffer(dlcId: Sha256Digest): Future[Option[DLCOffer]]
    Definition Classes
    DLCWalletApi
  23. abstract def getInfo(): Future[WalletInfo]
    Definition Classes
    WalletApi
  24. abstract def getNewAddress(): Future[BitcoinAddress]
    Definition Classes
    WalletApi
  25. abstract def getNewChangeAddress(): Future[BitcoinAddress]
    Definition Classes
    WalletApi
  26. abstract def getSyncDescriptorOpt(): Future[Option[SyncHeightDescriptor]]
    Definition Classes
    WalletApi
  27. abstract def getSyncState(): Future[BlockSyncState]
    Definition Classes
    WalletApi
  28. abstract 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
    WalletApi
  29. abstract 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
    DLCWalletApi
  30. abstract def getWalletName(): Future[String]
    Definition Classes
    WalletApi
  31. abstract def incomingOfferHandling: IncomingDLCOfferHandlingApi
    Definition Classes
    DLCWalletApi
  32. abstract def isEmpty(): Future[Boolean]

    Checks if the wallet contains any data

    Checks if the wallet contains any data

    Definition Classes
    WalletApi
  33. abstract def isRescanning(): Future[Boolean]
    Definition Classes
    WalletApi
  34. abstract def listDLCs(): Future[Vector[DLCStatus]]
    Definition Classes
    DLCWalletApi
  35. abstract 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
    DLCWalletApi
  36. abstract def listDLCsByContact(address: InetSocketAddress): Future[Vector[DLCStatus]]
    Definition Classes
    DLCWalletApi
  37. abstract val nodeApi: NodeApi
    Definition Classes
    WalletApi
  38. abstract def processCompactFilters(blockFilters: Vector[(DoubleSha256DigestBE, GolombFilter)]): Future[NeutrinoHDWalletApi]
    Definition Classes
    NeutrinoWalletApi
  39. abstract def rescanHandling: RescanHandlingApi
    Definition Classes
    WalletApi
  40. abstract def sendFundsHandling: SendFundsHandlingApi
    Definition Classes
    WalletApi
  41. abstract def signDLC(accept: DLCAccept): Future[DLCSign]
    Definition Classes
    DLCWalletApi
  42. abstract def signDLC(acceptTLV: DLCAcceptTLV): Future[DLCSign]
    Definition Classes
    DLCWalletApi
  43. abstract def transactionProcessing: TransactionProcessingApi
    Definition Classes
    WalletApi
  44. abstract def utxoHandling: UtxoHandlingApi
    Definition Classes
    WalletApi
  45. abstract def walletApi: WalletApi
    Attributes
    protected
    Definition Classes
    DLCWalletApi

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. def acceptDLCOffer(dlcOfferTLV: DLCOfferTLV, peerAddress: Option[InetSocketAddress], externalPayoutAddressOpt: Option[BitcoinAddress], externalChangeAddressOpt: Option[BitcoinAddress]): Future[DLCAccept]
    Definition Classes
    DLCWalletApi
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. 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
    DLCWalletApi
  8. def createDLCOffer(contractInfoTLV: ContractInfoTLV, collateral: Satoshis, feeRateOpt: Option[SatoshisPerVirtualByte], refundLT: UInt32, peerAddressOpt: Option[InetSocketAddress], externalPayoutAddressOpt: Option[BitcoinAddress], externalChangeAddressOpt: Option[BitcoinAddress]): Future[DLCOffer]
    Definition Classes
    DLCWalletApi
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. 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
  12. 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
  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  14. 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
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def getFeeRate(): Future[FeeUnit]
    Definition Classes
    WalletApi
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. def processCompactFilter(blockHash: DoubleSha256DigestBE, blockFilter: GolombFilter): Future[NeutrinoHDWalletApi]
    Definition Classes
    NeutrinoWalletApi
  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from DLCWalletApi

Inherited from NeutrinoHDWalletApi

Inherited from NeutrinoWalletApi

Inherited from WalletApi

Inherited from AnyRef

Inherited from Any

Ungrouped