mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2024-11-19 18:02:54 +01:00
fa80f36d2f
* core-test-js-json * Add SigPointComputer cross compile Co-authored-by: Nadav Kohen <nadavk25@gmail.com> * Fix java.time for scalajs * InetAddress for scalajs * Fix linking errors in coreTestJS * Easy fixes * InetAddress Tests * Update micropickle, fix exact functions * Get BigSizeUIntTest working with upickle * Fix exact funcs * Update Base58Test with upickle * Update ScriptSignatureTest with upickle * Update TransactionTest with upickle * Update BlockFilterTest with upickle * Update ScriptInterpreterTest with upickle * Update MnemonicCodeTest with upickle * Add InetAddress unit tests * Fix compile errors * Get core tests running, not passing * Sign with js * Fix PSBTUnitTest * Fix PBKDF2 for JS * Use bcrypto's secp256k1 instead of ecdsa * Fix 2.12.12 compile * Core tests passing :) * Test corejs
24 lines
783 B
Scala
24 lines
783 B
Scala
name := "bitcoin-s-oracle-server"
|
|
|
|
// Ensure actor system is shut down
|
|
// when server is quit
|
|
Compile / fork := true
|
|
|
|
libraryDependencies ++= Deps.oracleServer.value
|
|
|
|
mainClass := Some("org.bitcoins.oracle.server.OracleServerMain")
|
|
|
|
packageSummary := "A DLC Oracle"
|
|
|
|
packageDescription := "A basic DLC oracle that allows you to commit to events and sign them"
|
|
|
|
dockerExposedPorts ++= Seq(9998)
|
|
|
|
dockerEntrypoint := Seq("/opt/docker/bin/bitcoin-s-oracle-server")
|
|
|
|
//this passes in our default configuration for docker
|
|
//you can override this by passing in a custom conf file
|
|
//when the docker container is started by using bind mount
|
|
//https://docs.docker.com/storage/bind-mounts/#start-a-container-with-a-bind-mount
|
|
dockerCmd ++= Seq("--conf", "/opt/docker/docker-application.conf")
|