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 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 ExtractFromPSBT(psbt: PSBT) extends Product with Serializable
  8. case class FinalizePSBT(psbt: PSBT) extends Product with Serializable
  9. case class GetAddressInfo(address: BitcoinAddress) extends Product with Serializable
  10. case class GetBalance(isSats: Boolean) extends Product with Serializable
  11. case class GetConfirmedBalance(isSats: Boolean) extends Product with Serializable
  12. case class GetUnconfirmedBalance(isSats: Boolean) extends Product with Serializable
  13. 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

  14. case class JoinPSBTs(psbts: Seq[PSBT]) extends Product with Serializable
  15. case class NodeRoutes(node: Node)(implicit system: ActorSystem) extends ServerRoute with Product with Serializable
  16. case class OpReturnCommit(message: String, hashMessage: Boolean, feeRateOpt: Option[SatoshisPerVirtualByte]) extends Product with Serializable
  17. case class Rescan(batchSize: Option[Int], startBlock: Option[BlockStamp], endBlock: Option[BlockStamp], force: Boolean, ignoreCreationTime: Boolean) extends Product with Serializable
  18. case class SendFromOutpoints(outPoints: Vector[TransactionOutPoint], address: BitcoinAddress, amount: Bitcoins, satoshisPerVirtualByte: Option[SatoshisPerVirtualByte]) extends Product with Serializable
  19. case class SendRawTransaction(tx: Transaction) extends Product with Serializable
  20. case class SendToAddress(address: BitcoinAddress, amount: Bitcoins, satoshisPerVirtualByte: Option[SatoshisPerVirtualByte]) extends Product with Serializable
  21. case class SendWithAlgo(address: BitcoinAddress, amount: Bitcoins, satoshisPerVirtualByte: Option[SatoshisPerVirtualByte], algo: CoinSelectionAlgo) extends Product with Serializable
  22. 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
  23. case class SerializedTransactionInput(txid: DoubleSha256DigestBE, hex: String, vout: UInt32, scriptSig: Vector[ScriptToken], txinwitness: Option[SerializedTransactionWitness], sequence: UInt32) extends Product with Serializable
  24. case class SerializedTransactionOutput(value: BigDecimal, n: UInt32, scriptPubKey: ScriptPubKey, hex: String) extends Product with Serializable
  25. 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
  26. case class Server(conf: AppConfig, handlers: Seq[ServerRoute], rpcport: Int = 9999)(implicit system: ActorSystem) extends HttpLogger with Product with Serializable
  27. case class ServerCommand(method: String, params: Arr) extends Product with Serializable
  28. trait ServerJsonModels extends AnyRef
  29. trait ServerRoute extends AnyRef
  30. case class WalletRoutes(wallet: WalletApi, 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 ExtractFromPSBT extends ServerJsonModels with Serializable
  7. object FinalizePSBT extends ServerJsonModels with Serializable
  8. object GetAddressInfo extends ServerJsonModels with Serializable
  9. object GetBalance extends ServerJsonModels with Serializable
  10. object GetConfirmedBalance extends ServerJsonModels with Serializable
  11. object GetUnconfirmedBalance extends ServerJsonModels with Serializable
  12. object HttpError extends Serializable
  13. object JoinPSBTs extends ServerJsonModels with Serializable
  14. object Main extends App with BitcoinSLogger
  15. object OpReturnCommit extends ServerJsonModels with Serializable
  16. object Rescan extends ServerJsonModels with Serializable
  17. object SendFromOutpoints extends ServerJsonModels with Serializable
  18. object SendRawTransaction extends ServerJsonModels with Serializable
  19. object SendToAddress extends ServerJsonModels with Serializable
  20. object SendWithAlgo extends ServerJsonModels with Serializable
  21. object SerializedTransaction extends Serializable
  22. object Server extends Serializable
  23. object ServerCommand extends Serializable

Ungrouped