Packages

package server

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. 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

  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 DecodeRawTransaction(tx: Transaction) extends Product with Serializable
  7. case class DropAddressLabels(address: BitcoinAddress) extends Product with Serializable
  8. case class ExtractFromPSBT(psbt: PSBT) extends Product with Serializable
  9. case class FinalizePSBT(psbt: PSBT) extends Product with Serializable
  10. case class GetAddressInfo(address: BitcoinAddress) extends Product with Serializable
  11. case class GetAddressLabels(address: BitcoinAddress) extends Product with Serializable
  12. case class GetAddressTags(address: BitcoinAddress) extends Product with Serializable
  13. case class GetBalance(isSats: Boolean) extends Product with Serializable
  14. case class GetConfirmedBalance(isSats: Boolean) extends Product with Serializable
  15. case class GetNewAddress(labelOpt: Option[AddressLabelTag]) extends Product with Serializable
  16. case class GetUnconfirmedBalance(isSats: Boolean) extends Product with Serializable
  17. 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

  18. case class JoinPSBTs(psbts: Seq[PSBT]) extends Product with Serializable
  19. case class LabelAddress(address: BitcoinAddress, label: AddressLabelTag) extends Product with Serializable
  20. case class LockUnspent(unlock: Boolean, outputParam: Vector[LockUnspentOutputParameter]) extends Product with Serializable
  21. case class NodeRoutes(node: Node)(implicit system: ActorSystem) extends ServerRoute with Product with Serializable
  22. case class OpReturnCommit(message: String, hashMessage: Boolean, feeRateOpt: Option[SatoshisPerVirtualByte]) extends Product with Serializable
  23. case class Rescan(batchSize: Option[Int], startBlock: Option[BlockStamp], endBlock: Option[BlockStamp], force: Boolean, ignoreCreationTime: Boolean) extends Product with Serializable
  24. case class SendFromOutpoints(outPoints: Vector[TransactionOutPoint], address: BitcoinAddress, amount: Bitcoins, satoshisPerVirtualByte: Option[SatoshisPerVirtualByte]) extends Product with Serializable
  25. case class SendRawTransaction(tx: Transaction) extends Product with Serializable
  26. case class SendToAddress(address: BitcoinAddress, amount: Bitcoins, satoshisPerVirtualByte: Option[SatoshisPerVirtualByte], noBroadcast: Boolean) extends Product with Serializable
  27. case class SendWithAlgo(address: BitcoinAddress, amount: Bitcoins, satoshisPerVirtualByte: Option[SatoshisPerVirtualByte], algo: CoinSelectionAlgo) extends Product with Serializable
  28. case class SerializedTransaction(txid: DoubleSha256DigestBE, wtxid: Option[DoubleSha256DigestBE], version: Int32, size: Long, vsize: Long, weight: Long, locktime: UInt32, vin: Vector[SerializedTransactionInput], vout: Vector[SerializedTransactionOutput]) extends Product with Serializable
  29. case class SerializedTransactionInput(txid: DoubleSha256DigestBE, hex: String, vout: UInt32, scriptSig: Vector[ScriptToken], txinwitness: Option[SerializedTransactionWitness], sequence: UInt32) extends Product with Serializable
  30. case class SerializedTransactionOutput(value: BigDecimal, n: UInt32, scriptPubKey: ScriptPubKey, hex: String) extends Product with Serializable
  31. case class SerializedTransactionWitness(hex: String, scriptType: Option[String], script: Option[Vector[ScriptToken]], pubKey: Option[ECPublicKey], signature: Option[ECDigitalSignature], stack: Option[Vector[ByteVector]]) extends Product with Serializable
  32. case class Server(conf: AppConfig, handlers: Seq[ServerRoute], rpcport: Int = 9999)(implicit system: ActorSystem) extends HttpLogger with Product with Serializable
  33. case class ServerCommand(method: String, params: Arr) extends Product with Serializable
  34. trait ServerJsonModels extends AnyRef
  35. trait ServerRoute extends AnyRef
  36. case class WalletRoutes(wallet: AnyHDWalletApi, 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 BitcoinSServer
  3. object CombinePSBTs extends ServerJsonModels with Serializable
  4. object ConvertToPSBT extends ServerJsonModels with Serializable
  5. object DecodeRawTransaction extends ServerJsonModels with Serializable
  6. object DropAddressLabels extends ServerJsonModels with Serializable
  7. object ExtractFromPSBT extends ServerJsonModels with Serializable
  8. object FinalizePSBT extends ServerJsonModels with Serializable
  9. object GetAddressInfo extends ServerJsonModels with Serializable
  10. object GetAddressLabels extends ServerJsonModels with Serializable
  11. object GetAddressTags extends ServerJsonModels with Serializable
  12. object GetBalance extends ServerJsonModels with Serializable
  13. object GetConfirmedBalance extends ServerJsonModels with Serializable
  14. object GetNewAddress extends ServerJsonModels with Serializable
  15. object GetUnconfirmedBalance extends ServerJsonModels with Serializable
  16. object HttpError extends Serializable
  17. object JoinPSBTs extends ServerJsonModels with Serializable
  18. object LabelAddress extends ServerJsonModels with Serializable
  19. object LockUnspent extends ServerJsonModels with Serializable
  20. object Main extends App with HttpLogger
  21. object OpReturnCommit extends ServerJsonModels with Serializable
  22. object Rescan extends ServerJsonModels with Serializable
  23. object SendFromOutpoints extends ServerJsonModels with Serializable
  24. object SendRawTransaction extends ServerJsonModels with Serializable
  25. object SendToAddress extends ServerJsonModels with Serializable
  26. object SendWithAlgo extends ServerJsonModels with Serializable
  27. object SerializedTransaction extends Serializable
  28. object Server extends Serializable
  29. object ServerCommand extends Serializable

Ungrouped