class WalletHolder extends DLCNeutrinoHDWalletApi with BitcoinSLogger
- Alphabetic
- By Inheritance
- WalletHolder
- BitcoinSLogger
- DLCNeutrinoHDWalletApi
- DLCWalletApi
- NeutrinoHDWalletApi
- NeutrinoWalletApi
- WalletApi
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new WalletHolder(initWalletOpt: Option[DLCNeutrinoHDWalletApi])(implicit ec: ExecutionContext)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def acceptDLCOffer(dlcOfferTLV: DLCOfferTLV, peerAddress: Option[InetSocketAddress], externalPayoutAddressOpt: Option[BitcoinAddress], externalChangeAddressOpt: Option[BitcoinAddress]): Future[DLCAccept]
- Definition Classes
- WalletHolder → DLCWalletApi
- def acceptDLCOffer(dlcOffer: DLCOffer, peerAddress: Option[InetSocketAddress], externalPayoutAddressOpt: Option[BitcoinAddress], externalChangeAddressOpt: Option[BitcoinAddress]): Future[DLCAccept]
- Definition Classes
- WalletHolder → DLCWalletApi
- def accountHandling: AccountHandlingApi
- Definition Classes
- WalletHolder → WalletApi
- def addDLCSigs(sigs: DLCSign): Future[DLCDb]
- Definition Classes
- WalletHolder → DLCWalletApi
- def addDLCSigs(signTLV: DLCSignTLV): Future[DLCDb]
- Definition Classes
- WalletHolder → DLCWalletApi
- def addressHandling: AddressHandlingApi
- Definition Classes
- WalletHolder → WalletApi
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def broadcastDLCFundingTx(contractId: ByteVector): Future[Transaction]
- Definition Classes
- WalletHolder → DLCWalletApi
- def broadcastTransaction(transaction: Transaction): Future[Unit]
- Definition Classes
- WalletHolder → WalletApi
- def cancelDLC(dlcId: Sha256Digest): Future[Unit]
- Definition Classes
- WalletHolder → DLCWalletApi
- lazy val chainQueryApi: ChainQueryApi
- Definition Classes
- WalletHolder → WalletApi
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- 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
- WalletHolder → DLCWalletApi
- def createDLCOffer(contractInfoTLV: ContractInfoTLV, collateral: Satoshis, feeRateOpt: Option[SatoshisPerVirtualByte], refundLT: UInt32, peerAddressOpt: Option[InetSocketAddress], externalPayoutAddressOpt: Option[BitcoinAddress], externalChangeAddressOpt: Option[BitcoinAddress]): Future[DLCOffer]
- Definition Classes
- WalletHolder → DLCWalletApi
- 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
- WalletHolder → DLCWalletApi
- def createDLCOffer(contractInfo: ContractInfo, collateral: Satoshis, feeRateOpt: Option[SatoshisPerVirtualByte], refundLT: UInt32, peerAddressOpt: Option[InetSocketAddress], externalPayoutAddressOpt: Option[BitcoinAddress], externalChangeAddressOpt: Option[BitcoinAddress]): Future[DLCOffer]
- Definition Classes
- WalletHolder → DLCWalletApi
- lazy val creationTime: Instant
- Definition Classes
- WalletHolder → WalletApi
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- 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
- WalletHolder → DLCWalletApi
- 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
- WalletHolder → DLCWalletApi
- 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
- WalletHolder → DLCWalletApi
- 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
- WalletHolder → DLCWalletApi
- 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
- WalletHolder → DLCWalletApi
- lazy val feeRateApi: FeeRateApi
- Definition Classes
- WalletHolder → WalletApi
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def findDLC(dlcId: Sha256Digest): Future[Option[DLCStatus]]
- Definition Classes
- WalletHolder → DLCWalletApi
- def findDLCByTemporaryContractId(tempContractId: Sha256Digest): Future[Option[DLCStatus]]
- Definition Classes
- WalletHolder → DLCWalletApi
- def fundTxHandling: FundTransactionHandlingApi
- Definition Classes
- WalletHolder → WalletApi
- def getBalance(account: HDAccount)(implicit ec: ExecutionContext): Future[CurrencyUnit]
- 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
- WalletHolder → WalletApi
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getConfirmedBalance(account: HDAccount): Future[CurrencyUnit]
- 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
- WalletHolder → WalletApi
- def getDLCFundingTx(contractId: ByteVector): Future[Transaction]
- Definition Classes
- WalletHolder → DLCWalletApi
- def getDLCOffer(dlcId: Sha256Digest): Future[Option[DLCOffer]]
- Definition Classes
- WalletHolder → DLCWalletApi
- def getFeeRate(): Future[FeeUnit]
- Definition Classes
- WalletHolder → WalletApi
- def getInfo(): Future[WalletInfo]
- Definition Classes
- WalletHolder → WalletApi
- def getNewAddress(): Future[BitcoinAddress]
- Definition Classes
- WalletHolder → WalletApi
- def getNewChangeAddress(): Future[BitcoinAddress]
- Definition Classes
- WalletHolder → WalletApi
- def getSyncDescriptorOpt(): Future[Option[SyncHeightDescriptor]]
- Definition Classes
- WalletHolder → WalletApi
- def getSyncState(): Future[BlockSyncState]
- Definition Classes
- WalletHolder → WalletApi
- def getUnconfirmedBalance(account: HDAccount): Future[CurrencyUnit]
- 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
- WalletHolder → WalletApi
- 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
- WalletHolder → DLCWalletApi
- def getWalletName(): Future[String]
- Definition Classes
- WalletHolder → WalletApi
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def incomingOfferHandling: IncomingDLCOfferHandlingApi
- Definition Classes
- WalletHolder → DLCWalletApi
- def isEmpty(): Future[Boolean]
Checks if the wallet contains any data
Checks if the wallet contains any data
- Definition Classes
- WalletHolder → WalletApi
- def isInitialized: Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isRescanning(): Future[Boolean]
- Definition Classes
- WalletHolder → WalletApi
- def listDLCs(): Future[Vector[DLCStatus]]
- Definition Classes
- WalletHolder → DLCWalletApi
- 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
- WalletHolder → DLCWalletApi
- def listDLCsByContact(address: InetSocketAddress): Future[Vector[DLCStatus]]
- Definition Classes
- WalletHolder → DLCWalletApi
- def logger: Logger
- Definition Classes
- BitcoinSLogger
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- lazy val nodeApi: NodeApi
- Definition Classes
- WalletHolder → WalletApi
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def processCompactFilter(blockHash: DoubleSha256DigestBE, blockFilter: GolombFilter): Future[NeutrinoHDWalletApi]
- Definition Classes
- WalletHolder → NeutrinoWalletApi
- def processCompactFilters(blockFilters: Vector[(DoubleSha256DigestBE, GolombFilter)]): Future[NeutrinoHDWalletApi]
- Definition Classes
- WalletHolder → NeutrinoWalletApi
- def replaceWallet(newWallet: DLCNeutrinoHDWalletApi): Future[DLCNeutrinoHDWalletApi]
- def rescanHandling: RescanHandlingApi
- Definition Classes
- WalletHolder → WalletApi
- def sendFundsHandling: SendFundsHandlingApi
- Definition Classes
- WalletHolder → WalletApi
- def signDLC(accept: DLCAccept): Future[DLCSign]
- Definition Classes
- WalletHolder → DLCWalletApi
- def signDLC(acceptTLV: DLCAcceptTLV): Future[DLCSign]
- Definition Classes
- WalletHolder → DLCWalletApi
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def transactionProcessing: TransactionProcessingApi
- Definition Classes
- WalletHolder → WalletApi
- def utxoHandling: UtxoHandlingApi
- Definition Classes
- WalletHolder → WalletApi
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def walletApi: DLCNeutrinoHDWalletApi
- Attributes
- protected
- Definition Classes
- WalletHolder → DLCWalletApi