Packages

package server

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. case class BitcoinSAppConfig(directory: Path, confs: Config*) extends 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

  2. case class ChainRoutes(chain: ChainApi)(implicit system: ActorSystem) extends ServerRoute with Product with Serializable
  3. case class CombinePSBTs(psbts: Seq[PSBT]) extends Product with Serializable
  4. case class ConvertToPSBT(tx: Transaction) extends Product with Serializable
  5. case class CoreRoutes(core: CoreApi)(implicit system: ActorSystem) extends ServerRoute with Product with Serializable
  6. case class ExtractFromPSBT(psbt: PSBT) extends Product with Serializable
  7. case class FinalizePSBT(psbt: PSBT) extends Product with Serializable
  8. case class GetAddressInfo(address: BitcoinAddress) extends Product with Serializable
  9. case class GetBalance(isSats: Boolean) extends Product with Serializable
  10. case class GetConfirmedBalance(isSats: Boolean) extends Product with Serializable
  11. case class GetUnconfirmedBalance(isSats: Boolean) extends Product with Serializable
  12. 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

  13. case class JoinPSBTs(psbts: Seq[PSBT]) extends Product with Serializable
  14. case class NodeRoutes(node: Node)(implicit system: ActorSystem) extends ServerRoute with Product with Serializable
  15. case class Rescan(batchSize: Option[Int], startBlock: Option[BlockStamp], endBlock: Option[BlockStamp], force: Boolean) extends Product with Serializable
  16. case class SendToAddress(address: BitcoinAddress, amount: Bitcoins, satoshisPerVirtualByte: Option[SatoshisPerVirtualByte]) extends Product with Serializable
  17. case class Server(conf: AppConfig, handlers: Seq[ServerRoute])(implicit system: ActorSystem) extends HttpLogger with Product with Serializable
  18. case class ServerCommand(method: String, params: Arr) extends Product with Serializable
  19. trait ServerJsonModels extends AnyRef
  20. trait ServerRoute extends AnyRef
  21. case class WalletRoutes(wallet: UnlockedWalletApi, node: Node)(implicit system: ActorSystem) extends ServerRoute with Product with Serializable

Value Members

  1. object BitcoinSAppConfig extends Serializable

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

  2. object CombinePSBTs extends ServerJsonModels with Serializable
  3. object ConvertToPSBT extends ServerJsonModels with Serializable
  4. object ExtractFromPSBT extends ServerJsonModels with Serializable
  5. object FinalizePSBT extends ServerJsonModels with Serializable
  6. object GetAddressInfo extends ServerJsonModels with Serializable
  7. object GetBalance extends ServerJsonModels with Serializable
  8. object GetConfirmedBalance extends ServerJsonModels with Serializable
  9. object GetUnconfirmedBalance extends ServerJsonModels with Serializable
  10. object HttpError extends Serializable
  11. object JoinPSBTs extends ServerJsonModels with Serializable
  12. object Main extends App
  13. object Rescan extends ServerJsonModels with Serializable
  14. object SendToAddress extends ServerJsonModels with Serializable
  15. object Server extends Serializable
  16. object ServerCommand extends Serializable

Ungrouped