Packages

package server

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. case class AnalyzePSBT(psbt: PSBT) extends Product with Serializable
  2. case class BitcoinSAppConfig(directory: Path, confs: Config*)(implicit ec: ExecutionContext) extends StartStopAsync[Unit] 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.

    directory

    The data directory of this app configuration

    confs

    A sequence of optional configuration overrides

  3. trait BitcoinSRunner extends BitcoinSLogger
  4. class BitcoinSServerMain extends BitcoinSRunner
  5. case class BitcoindRpcAppConfig(directory: Path, confs: Config*)(implicit ec: ExecutionContext) extends AppConfig with Product with Serializable

    Configuration for a BitcoindRpcClient

    Configuration for a BitcoindRpcClient

    directory

    The data directory of the Bitcoin-S instance

    confs

    Optional sequence of configuration overrides

  6. case class ChainRoutes(chain: ChainApi)(implicit system: ActorSystem) extends ServerRoute with Product with Serializable
  7. case class CombinePSBTs(psbts: Seq[PSBT]) extends Product with Serializable
  8. case class ConvertToPSBT(tx: Transaction) extends Product with Serializable
  9. case class CoreRoutes(core: CoreApi)(implicit system: ActorSystem) extends ServerRoute with Product with Serializable
  10. case class CreateDigitDecompEvent(eventName: String, maturationTime: Instant, base: Int, isSigned: Boolean, numDigits: Int, unit: String, precision: Int) extends Product with Serializable
  11. case class CreateEvent(label: String, maturationTime: Instant, outcomes: Vector[String]) extends Product with Serializable
  12. case class CreateRangedEvent(eventName: String, maturationTime: Instant, start: Int, stop: Int, step: Int, unit: String, precision: Int) extends Product with Serializable
  13. case class DecodePSBT(psbt: PSBT) extends Product with Serializable
  14. case class DecodeRawTransaction(tx: Transaction) extends Product with Serializable
  15. case class DropAddressLabels(address: BitcoinAddress) extends Product with Serializable
  16. case class ExtractFromPSBT(psbt: PSBT) extends Product with Serializable
  17. case class FinalizePSBT(psbt: PSBT) extends Product with Serializable
  18. case class GetAddressInfo(address: BitcoinAddress) extends Product with Serializable
  19. case class GetAddressLabels(address: BitcoinAddress) extends Product with Serializable
  20. case class GetAddressTags(address: BitcoinAddress) extends Product with Serializable
  21. case class GetBalance(isSats: Boolean) extends Product with Serializable
  22. case class GetConfirmedBalance(isSats: Boolean) extends Product with Serializable
  23. case class GetEvent(oracleEventTLV: OracleEventV0TLV) extends Product with Serializable
  24. case class GetNewAddress(labelOpt: Option[AddressLabelTag]) extends Product with Serializable
  25. case class GetUnconfirmedBalance(isSats: Boolean) extends Product with Serializable
  26. sealed abstract class HttpError extends Error

    HTTP errors our server knows how to handle.

    HTTP errors our server knows how to handle. These gets picked up by the exceptions handler in Main

  27. case class JoinPSBTs(psbts: Seq[PSBT]) extends Product with Serializable
  28. case class KeyManagerPassphraseChange(oldPassword: AesPassword, newPassword: AesPassword) extends Product with Serializable
  29. case class KeyManagerPassphraseSet(password: AesPassword) extends Product with Serializable
  30. case class LabelAddress(address: BitcoinAddress, label: AddressLabelTag) extends Product with Serializable
  31. case class LockUnspent(unlock: Boolean, outputParam: Vector[LockUnspentOutputParameter]) extends Product with Serializable
  32. case class NodeRoutes(nodeApi: NodeApi)(implicit system: ActorSystem) extends ServerRoute with Product with Serializable
  33. case class OpReturnCommit(message: String, hashMessage: Boolean, feeRateOpt: Option[SatoshisPerVirtualByte]) extends Product with Serializable
  34. case class Rescan(batchSize: Option[Int], startBlock: Option[BlockStamp], endBlock: Option[BlockStamp], force: Boolean, ignoreCreationTime: Boolean) extends Product with Serializable
  35. case class SendFromOutpoints(outPoints: Vector[TransactionOutPoint], address: BitcoinAddress, amount: Bitcoins, satoshisPerVirtualByte: Option[SatoshisPerVirtualByte]) extends Product with Serializable
  36. case class SendRawTransaction(tx: Transaction) extends Product with Serializable
  37. case class SendToAddress(address: BitcoinAddress, amount: Bitcoins, satoshisPerVirtualByte: Option[SatoshisPerVirtualByte], noBroadcast: Boolean) extends Product with Serializable
  38. case class SendWithAlgo(address: BitcoinAddress, amount: Bitcoins, satoshisPerVirtualByte: Option[SatoshisPerVirtualByte], algo: CoinSelectionAlgo) extends Product with Serializable
  39. case class Server(conf: AppConfig, handlers: Seq[ServerRoute], rpcport: Int = 9999)(implicit system: ActorSystem) extends HttpLogger with Product with Serializable
  40. case class ServerCommand(method: String, params: Arr) extends Product with Serializable
  41. trait ServerJsonModels extends AnyRef
  42. trait ServerRoute extends AnyRef
  43. case class SignDigits(oracleEventTLV: OracleEventV0TLV, num: Long) extends Product with Serializable
  44. case class SignEvent(oracleEventTLV: OracleEventV0TLV, outcome: String) extends Product with Serializable
  45. case class SignForRange(oracleEventTLV: OracleEventV0TLV, num: Long) extends Product with Serializable
  46. case class SignPSBT(psbt: PSBT) extends Product with Serializable
  47. case class WalletRoutes(wallet: AnyHDWalletApi)(implicit system: ActorSystem, walletConf: WalletAppConfig) extends ServerRoute with Product with Serializable

Value Members

  1. object AnalyzePSBT extends ServerJsonModels with Serializable
  2. object BitcoinSAppConfig extends Serializable

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

  3. object BitcoinSServer
  4. object BitcoinSServerMain extends App
  5. object BitcoindRpcAppConfig extends AppConfigFactory[BitcoindRpcAppConfig] with Serializable
  6. object BitcoindRpcBackendUtil extends BitcoinSLogger

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

  7. object CombinePSBTs extends ServerJsonModels with Serializable
  8. object ConvertToPSBT extends ServerJsonModels with Serializable
  9. object CreateDigitDecompEvent extends ServerJsonModels with Serializable
  10. object CreateEvent extends ServerJsonModels with Serializable
  11. object CreateRangedEvent extends ServerJsonModels with Serializable
  12. object DecodePSBT extends ServerJsonModels with Serializable
  13. object DecodeRawTransaction extends ServerJsonModels with Serializable
  14. object DropAddressLabels extends ServerJsonModels with Serializable
  15. object ExtractFromPSBT extends ServerJsonModels with Serializable
  16. object FinalizePSBT extends ServerJsonModels with Serializable
  17. object GetAddressInfo extends ServerJsonModels with Serializable
  18. object GetAddressLabels extends ServerJsonModels with Serializable
  19. object GetAddressTags extends ServerJsonModels with Serializable
  20. object GetBalance extends ServerJsonModels with Serializable
  21. object GetConfirmedBalance extends ServerJsonModels with Serializable
  22. object GetEvent extends ServerJsonModels with Serializable
  23. object GetNewAddress extends ServerJsonModels with Serializable
  24. object GetUnconfirmedBalance extends ServerJsonModels with Serializable
  25. object HttpError extends Serializable
  26. object JoinPSBTs extends ServerJsonModels with Serializable
  27. object KeyManagerPassphraseChange extends ServerJsonModels with Serializable
  28. object KeyManagerPassphraseSet extends ServerJsonModels with Serializable
  29. object LabelAddress extends ServerJsonModels with Serializable
  30. object LockUnspent extends ServerJsonModels with Serializable
  31. object OpReturnCommit extends ServerJsonModels with Serializable
  32. object Rescan extends ServerJsonModels with Serializable
  33. object SendFromOutpoints extends ServerJsonModels with Serializable
  34. object SendRawTransaction extends ServerJsonModels with Serializable
  35. object SendToAddress extends ServerJsonModels with Serializable
  36. object SendWithAlgo extends ServerJsonModels with Serializable
  37. object Server extends Serializable
  38. object ServerCommand extends Serializable
  39. object SignDigits extends ServerJsonModels with Serializable
  40. object SignEvent extends ServerJsonModels with Serializable
  41. object SignForRange extends ServerJsonModels with Serializable
  42. object SignPSBT extends ServerJsonModels with Serializable

Ungrouped