Packages

package server

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Package Members

  1. package routes
  2. package util

Type Members

  1. case class AcceptDLC(offer: LnMessage[DLCOfferTLV], peerAddr: InetSocketAddress, externalPayoutAddressOpt: Option[BitcoinAddress], externalChangeAddressOpt: Option[BitcoinAddress]) extends Product with Serializable
  2. case class AcceptDLCOffer(offer: LnMessage[DLCOfferTLV], externalPayoutAddressOpt: Option[BitcoinAddress], externalChangeAddressOpt: Option[BitcoinAddress]) extends Product with Serializable
  3. case class AddDLCSigs(sigs: LnMessage[DLCSignTLV]) extends Product with Serializable
  4. case class AnalyzePSBT(psbt: PSBT) extends Product with Serializable
  5. case class BitcoinSAppConfig(baseDatadir: Path, configOverrides: Vector[Config])(implicit system: ActorSystem) extends StartStopAsync[Unit] with Logging with Product with Serializable

    A unified config class for all submodules of Bitcoin-S that accepts configuration.

    A unified config class for all submodules of Bitcoin-S that accepts configuration. Thanks to implicit definitions in this case class' companion object an instance of this class can be passed in anywhere a wallet, chain or node config is required.

  6. class BitcoinSServerMain extends BitcoinSServerRunner
  7. case class BroadcastDLCFundingTx(contractId: ByteVector) extends Product with Serializable
  8. trait Broadcastable extends AnyRef
  9. case class BumpFee(txId: DoubleSha256DigestBE, feeRate: SatoshisPerVirtualByte) extends Product with Serializable
  10. case class ChainRoutes(chain: ChainApi, network: BitcoinNetwork)(implicit system: ActorSystem) extends ServerRoute with Product with Serializable
  11. case class CombinePSBTs(psbts: Seq[PSBT]) extends Product with Serializable
  12. case class ConvertToPSBT(tx: Transaction) extends Product with Serializable
  13. case class CoreRoutes()(implicit system: ActorSystem, config: BitcoinSAppConfig) extends ServerRoute with Product with Serializable
  14. case class CreateContractInfo(announcementTLV: OracleAnnouncementTLV, totalCollateral: Satoshis, contractDescriptorTLV: ContractDescriptorTLV) extends Product with Serializable
  15. case class CreateDLCOffer(contractInfoTLV: ContractInfoV0TLV, collateral: Satoshis, feeRateOpt: Option[SatoshisPerVirtualByte], locktime: UInt32, refundLocktime: UInt32, externalPayoutAddressOpt: Option[BitcoinAddress], externalChangeAddressOpt: Option[BitcoinAddress]) extends Product with Serializable
  16. case class CreateMultisig(requiredKeys: Int, keys: Vector[ECPublicKey], addressType: AddressType) extends Product with Serializable
  17. case class DLCDataFromFile(path: Path, destinationOpt: Option[Path], externalPayoutAddressOpt: Option[BitcoinAddress], externalChangeAddressOpt: Option[BitcoinAddress]) extends Product with Serializable
  18. case class DLCRoutes(dlcNode: DLCNodeApi)(implicit system: ActorSystem) extends ServerRoute with Product with Serializable
  19. case class DecodeAccept(accept: DLCAcceptTLV) extends Product with Serializable
  20. case class DecodeAnnouncement(announcement: OracleAnnouncementTLV) extends Product with Serializable
  21. case class DecodeAttestations(announcement: OracleAttestmentV0TLV) extends Product with Serializable
  22. case class DecodeContractInfo(contractInfo: ContractInfoV0TLV) extends Product with Serializable
  23. case class DecodeOffer(offer: DLCOfferTLV) extends Product with Serializable
  24. case class DecodePSBT(psbt: PSBT) extends Product with Serializable
  25. case class DecodeRawTransaction(tx: Transaction) extends Product with Serializable
  26. case class DecodeSign(sign: DLCSignTLV) extends Product with Serializable
  27. case class DropAddressLabel(address: BitcoinAddress, label: String) extends Product with Serializable
  28. case class DropAddressLabels(address: BitcoinAddress) extends Product with Serializable
  29. case class ExecuteDLC(contractId: ByteVector, oracleSigs: Vector[OracleAttestmentTLV], noBroadcast: Boolean) extends Broadcastable with Product with Serializable
  30. case class ExecuteDLCRefund(contractId: ByteVector, noBroadcast: Boolean) extends Broadcastable with Product with Serializable
  31. case class ExtractFromPSBT(psbt: PSBT) extends Product with Serializable
  32. case class FinalizePSBT(psbt: PSBT) extends Product with Serializable
  33. case class GetAddressInfo(address: BitcoinAddress) extends Product with Serializable
  34. case class GetAddressLabel(address: BitcoinAddress) extends Product with Serializable
  35. case class GetAddressTags(address: BitcoinAddress) extends Product with Serializable
  36. case class GetBalance(isSats: Boolean) extends Product with Serializable
  37. case class GetBlockHeader(hash: DoubleSha256DigestBE) extends Product with Serializable
  38. case class GetConfirmedBalance(isSats: Boolean) extends Product with Serializable
  39. case class GetDLC(dlcId: Sha256Digest) extends Product with Serializable
  40. case class GetDLCFundingTx(contractId: ByteVector) extends Product with Serializable
  41. case class GetDLCOffer(tempContractId: Sha256Digest) extends Product with Serializable
  42. case class GetNewAddress(labelOpt: Option[AddressLabelTag]) extends Product with Serializable
  43. case class GetTransaction(txId: DoubleSha256DigestBE) extends Product with Serializable
  44. case class GetUnconfirmedBalance(isSats: Boolean) extends Product with Serializable
  45. case class ImportSeed(walletName: String, mnemonic: MnemonicCode, passwordOpt: Option[AesPassword]) extends Product with Serializable
  46. case class ImportXprv(walletName: String, xprv: ExtPrivateKey, passwordOpt: Option[AesPassword]) extends Product with Serializable
  47. case class JoinPSBTs(psbts: Seq[PSBT]) extends Product with Serializable
  48. case class KeyManagerPassphraseChange(oldPassword: AesPassword, newPassword: AesPassword) extends Product with Serializable
  49. case class KeyManagerPassphraseSet(password: AesPassword) extends Product with Serializable
  50. case class LabelAddress(address: BitcoinAddress, label: AddressLabelTag) extends Product with Serializable
  51. case class LockUnspent(unlock: Boolean, outputParam: Vector[LockUnspentOutputParameter]) extends Product with Serializable
  52. case class NodeRoutes(nodeApi: NodeApi)(implicit system: ActorSystem) extends ServerRoute with Product with Serializable
  53. case class OfferAdd(offerTLV: DLCOfferTLV, peer: Option[String], message: Option[String]) extends Product with Serializable
  54. case class OfferRemove(hash: Sha256Digest) extends Product with Serializable
  55. case class OfferSend(remoteAddress: InetSocketAddress, message: String, offerE: Either[DLCOfferTLV, Sha256Digest]) extends Product with Serializable
  56. case class OpReturnCommit(message: String, hashMessage: Boolean, feeRateOpt: Option[SatoshisPerVirtualByte]) extends Product with Serializable
  57. case class Rescan(batchSize: Option[Int], startBlock: Option[BlockStamp], endBlock: Option[BlockStamp], force: Boolean, ignoreCreationTime: Boolean) extends Product with Serializable
  58. case class SendFromOutpoints(outPoints: Vector[TransactionOutPoint], address: BitcoinAddress, amount: Bitcoins, satoshisPerVirtualByte: Option[SatoshisPerVirtualByte]) extends Product with Serializable
  59. case class SendRawTransaction(tx: Transaction) extends Product with Serializable
  60. case class SendToAddress(address: BitcoinAddress, amount: Bitcoins, satoshisPerVirtualByte: Option[SatoshisPerVirtualByte], noBroadcast: Boolean) extends Broadcastable with Product with Serializable
  61. case class SendWithAlgo(address: BitcoinAddress, amount: Bitcoins, satoshisPerVirtualByte: Option[SatoshisPerVirtualByte], algo: CoinSelectionAlgo) extends Product with Serializable
  62. trait ServerJsonModels extends AnyRef
  63. case class SignDLC(accept: LnMessage[DLCAcceptTLV]) extends Product with Serializable
  64. case class SignPSBT(psbt: PSBT) extends Product with Serializable
  65. case class SweepWallet(address: BitcoinAddress, satoshisPerVirtualByteOpt: Option[SatoshisPerVirtualByte]) extends Product with Serializable
  66. case class WalletRoutes(wallet: AnyDLCHDWalletApi)(implicit system: ActorSystem, walletConf: WalletAppConfig) extends ServerRoute with Logging with Product with Serializable

Value Members

  1. object AcceptDLC extends ServerJsonModels with Serializable
  2. object AcceptDLCOffer extends ServerJsonModels with Serializable
  3. object AddDLCSigs extends ServerJsonModels with Serializable
  4. object AnalyzePSBT extends ServerJsonModels with Serializable
  5. object BitcoinSAppConfig extends Logging with Serializable

    Implicit conversions that allow a unified configuration to be passed in wherever a specializes one is required

  6. object BitcoinSServerMain extends BitcoinSAppScalaDaemon
  7. object BitcoindRpcBackendUtil extends Logging

    Useful utilities to use in the wallet project for syncing things against bitcoind

  8. object BroadcastDLCFundingTx extends ServerJsonModels with Serializable
  9. object BumpFee extends ServerJsonModels with Serializable
  10. object CombinePSBTs extends ServerJsonModels with Serializable
  11. object ConvertToPSBT extends ServerJsonModels with Serializable
  12. object CreateContractInfo extends ServerJsonModels with Serializable
  13. object CreateDLCOffer extends ServerJsonModels with Serializable
  14. object CreateMultisig extends ServerJsonModels with Serializable
  15. object DLCDataFromFile extends ServerJsonModels with Serializable
  16. object DecodeAccept extends ServerJsonModels with Serializable
  17. object DecodeAnnouncement extends ServerJsonModels with Serializable
  18. object DecodeAttestations extends ServerJsonModels with Serializable
  19. object DecodeContractInfo extends ServerJsonModels with Serializable
  20. object DecodeOffer extends ServerJsonModels with Serializable
  21. object DecodePSBT extends ServerJsonModels with Serializable
  22. object DecodeRawTransaction extends ServerJsonModels with Serializable
  23. object DecodeSign extends ServerJsonModels with Serializable
  24. object DropAddressLabel extends ServerJsonModels with Serializable
  25. object DropAddressLabels extends ServerJsonModels with Serializable
  26. object ExecuteDLC extends ServerJsonModels with Serializable
  27. object ExecuteDLCRefund extends ServerJsonModels with Serializable
  28. object ExtractFromPSBT extends ServerJsonModels with Serializable
  29. object FinalizePSBT extends ServerJsonModels with Serializable
  30. object GetAddressInfo extends ServerJsonModels with Serializable
  31. object GetAddressLabel extends ServerJsonModels with Serializable
  32. object GetAddressTags extends ServerJsonModels with Serializable
  33. object GetBalance extends ServerJsonModels with Serializable
  34. object GetBlockHeader extends ServerJsonModels with Serializable
  35. object GetConfirmedBalance extends ServerJsonModels with Serializable
  36. object GetDLC extends ServerJsonModels with Serializable
  37. object GetDLCFundingTx extends ServerJsonModels with Serializable
  38. object GetDLCOffer extends Serializable
  39. object GetNewAddress extends ServerJsonModels with Serializable
  40. object GetTransaction extends ServerJsonModels with Serializable
  41. object GetUnconfirmedBalance extends ServerJsonModels with Serializable
  42. object ImportSeed extends ServerJsonModels with Serializable
  43. object ImportXprv extends ServerJsonModels with Serializable
  44. object JoinPSBTs extends ServerJsonModels with Serializable
  45. object KeyManagerPassphraseChange extends ServerJsonModels with Serializable
  46. object KeyManagerPassphraseSet extends ServerJsonModels with Serializable
  47. object LabelAddress extends ServerJsonModels with Serializable
  48. object LockUnspent extends ServerJsonModels with Serializable
  49. object OfferAdd extends Serializable
  50. object OfferRemove extends Serializable
  51. object OfferSend extends Serializable
  52. object OpReturnCommit extends ServerJsonModels with Serializable
  53. object Rescan extends ServerJsonModels with Serializable
  54. object SendFromOutpoints extends ServerJsonModels with Serializable
  55. object SendRawTransaction extends ServerJsonModels with Serializable
  56. object SendToAddress extends ServerJsonModels with Serializable
  57. object SendWithAlgo extends ServerJsonModels with Serializable
  58. object SignDLC extends ServerJsonModels with Serializable
  59. object SignPSBT extends ServerJsonModels with Serializable
  60. object SweepWallet extends ServerJsonModels with Serializable

Ungrouped