Commit Graph

2612 Commits

Author SHA1 Message Date
Chris Stewart
7a068ac036 2021 02 25 async utils (#2725)
* Refactor AsyncUtil to just use an execution context rather than an actor system

* Create async util project, use it in various projects that depend on it
2021-02-25 13:26:38 -06:00
Scala Steward
06654f4e05 Update akka-http, akka-http-testkit to 10.1.14 (#2723) 2021-02-25 04:17:44 -06:00
benthecarman
a0180884c5 Make sure DLCOracleAppConfig creates the oracle directory (#2720) 2021-02-24 13:20:26 -06:00
Scala Steward
54dc824391 Update metrics-core to 4.1.18 (#2716) 2021-02-24 07:27:10 -06:00
Chris Stewart
bf4afd63d1 Begin re-introducing parallelism in the wallet to make everything faster (#2705) 2021-02-24 07:10:46 -06:00
Chris Stewart
eb24b18363 Upgrade scalac to 2.13.5 (#2713) 2021-02-24 07:03:52 -06:00
Scala Steward
07488dd3f3 Update akka-actor, akka-slf4j, akka-stream, ... to 2.6.13 (#2714) 2021-02-24 06:27:01 -06:00
benthecarman
86566c575d Simplify oracle server RPC api (#2656) 2021-02-23 13:17:20 -06:00
Chris Stewart
f322a74ab0 2021 02 21 cheap redeemscript check (#2707)
* Add more cheap checks to see if a given script token is a redeemScript

* Make cheap witness version check before deserializing to a bytevector
2021-02-23 10:37:40 -06:00
Chris Stewart
203b45c140 Workaround for issue 2708 (#2709)
* Workaround for issue 2708

* Fix release.yml as well
2021-02-22 09:08:52 -06:00
Chris Stewart
1a2ddf6a0d Reduce usage of .findAll() (doesn't scale for large dbs). Now pass in… (#2706)
* Reduce usage of .findAll() (doesn't scale for large dbs). Now pass in the specific things we are searching for

* Add timestamps for checking how long it takes to processBlock()
2021-02-21 16:15:50 -06:00
Chris Stewart
b63333327f Allow implicit execution context to be passed in to RescanHandling.findMatches() & RescanHandling.fetchFiltersInRange() (#2704) 2021-02-21 07:14:29 -06:00
Chris Stewart
63e44974f7 2021 02 20 number byte representation (#2703)
* Optimize unsigned numbers to use byte representation rather than hex representation

* Do the same thing with Int32/Int64

* Cleanup
2021-02-20 13:51:34 -06:00
Chris Stewart
a5252b20ba Bump the timeout for address queue exception test to make sure we get correct exception (#2697) 2021-02-20 13:50:28 -06:00
Chris Stewart
a0476e979a Decrease false positive rate to avoid spurious CI failures (#2698) 2021-02-20 13:50:05 -06:00
Chris Stewart
be18b1baf2 Cache httpClient in bitcoind, rename Test.akkaHttp -> Test.akkaHttpTestkit (#2702) 2021-02-20 13:42:39 -06:00
Scala Steward
fca9e4b7d0 Update scalatest to 3.2.5 (#2687) 2021-02-20 08:09:31 -06:00
Chris Stewart
b7030bb66a 2021 02 19 dockerhub docs (#2693)
* Document docker images on website

* Add docker hub information to README
2021-02-20 05:24:04 -06:00
Chris Stewart
392eb316f6 Add guard for the case when listFiles returns null (#2696) 2021-02-19 13:36:45 -06:00
benthecarman
b30fdf88ca Fix normalized string comparison (#2695)
* Fix normalized string comparison

* Add test
2021-02-19 12:09:55 -06:00
Chris Stewart
477597ea72 Set fetch-depth to 100 so we don't take forever to clone repo on ci (#2694) 2021-02-19 11:34:58 -06:00
Chris Stewart
2f85b67c3f Add github workflow steps to publish to dockerhub (#2684)
* Add github workflow steps to publish to dockerhub

* Add docker image publishing for adaptor-dlc,main,master

* Add pull request tag to test

* Try to be explicit about build instruction on PR

* Remove event.push for now to try and see if the PR works

* Remove uses

* Try using DOCKERHUB_TOKEN

* Revert env name

* Try to use what is on the github README

* Revert to push rather than PR

* Use same config in release.yml for checking out from git

* remove image digest step, and remove the custom branch I added to test
2021-02-19 10:09:40 -06:00
Scala Steward
fe70391d0b Update sbt-bloop to 1.4.8 (#2683) 2021-02-19 10:00:30 -06:00
Scala Steward
fb2e5d52e3 Update postgresql to 42.2.19 (#2686) 2021-02-19 09:19:52 -06:00
Chris Stewart
d94a4ed87e 2021 02 15 appserver docker (#2673)
* App Server docker configuration w/ refactors

Get app server configuration working with docker

Add section for building the appServer for docker

* Remove compile commands
2021-02-18 13:57:18 -06:00
benthecarman
93ec7ed4cb Change oracle db to have its own directory (#2667)
* Change oracle db to have its own directory

* Fix exists function

* Add to example config

* Move old dbs
2021-02-18 12:44:48 -06:00
Chris Stewart
d27f24e190 Make sure dynver versions use '-' instead of '+' (#2681) 2021-02-18 12:41:42 -06:00
Chris Stewart
56a14325e1 Get basic docker image working with oracle server (#2668)
* Get basic docker image working with oracle server

* Get docker file working with custom configuration

* Switch base image to generic openjdk

* Add docker documentation
2021-02-18 10:03:19 -06:00
Scala Steward
a19f35e603 Update scalatest to 3.2.4 (#2677) 2021-02-18 06:53:11 -06:00
Scala Steward
42f3523210 Update sbt-mdoc to 2.2.18 (#2676) 2021-02-18 05:56:08 -06:00
Chris Stewart
89745c201a Add --depth 100 restriction when cloning bitcoin-s repo to speed up clone time (#2674) 2021-02-17 10:51:25 -06:00
Scala Steward
e4b0f1ff42 Update scala-collection-compat to 2.4.2 (#2670) 2021-02-17 07:22:05 -06:00
Scala Steward
775aa67975 Update scodec-bits to 1.1.24 (#2671) 2021-02-17 06:47:40 -06:00
Scala Steward
d929af4f9a Update scalacheck to 1.15.3 (#2669) 2021-02-17 06:04:53 -06:00
benthecarman
a78de18815 Fix docs to use correct oracle server port (#2666) 2021-02-16 16:43:12 -06:00
Nadav Kohen
74a30fe9b8 Optimized sigPoint computation to use non-custom secp functions (#2665) 2021-02-16 14:12:38 -06:00
Nadav Kohen
bcd2df6051 Compute sigPoints eagerly but asynchronously (#2642)
* OracleOutcome sigPoints are now eagerly but asynchronously computed

* Increased the timeout for sigpoint computation just to be paranoid
2021-02-15 09:28:22 -06:00
Aris
85087b0f70 Refactoring chain (#2662) 2021-02-13 14:10:40 -06:00
benthecarman
931a528723 Give oracle server its own port (#2653)
* Give oracle server its own port

* Don't have default cli command port

* Default port in config

* Remove unused server conf

* Oracle own config option
2021-02-13 13:59:16 -06:00
Scala Steward
0d5863b2f5 Update sbt-bloop to 1.4.7 (#2661) 2021-02-13 13:48:54 -06:00
Chris Stewart
b1fc575ff5 CryptoRuntime abstraction (#2658)
* Add CryptoRuntime, extend it with CryptoUtil

* Remove direct usages of CryptoUtil in the core project, use CryptoTrait.cryptoRuntime

* Add JvmCryptoRuntime

* Take ben's suggestion so we don't need to modify anyting in core, h/t to ben

* Refactor ECPrivateKey.freshPrivateKey to use CryptoUtil.freshPrivateKey

* Remove CryptoTrait as it is no longer necessary
2021-02-12 15:18:42 -06:00
Scala Steward
a5d592ac40 Update javafx-base, javafx-controls, ... to 16-ea+7 (#2654) 2021-02-12 13:32:43 -06:00
benthecarman
e68ffb49da Use specific functions for Oracle Signing version (#2659) 2021-02-12 13:31:37 -06:00
saguywalker
d1cc5e0ade Refactor HDCoinType to be ADT (#2657) 2021-02-12 09:53:43 -06:00
Chris Stewart
f4d0f369ec 2021 02 10 Website fixes (#2643) 2021-02-11 09:53:45 -06:00
Scala Steward
19b47b8eb9 Update janino to 3.1.3 (#2559) 2021-02-09 06:14:49 -06:00
Aris
f8694eb097 Fix/typos (#2633)
* Fix typos

* Collection minor fixes

Removes redundant .headOption on options
Replaces .exists(_ == ???) with .contains(???)
Replaces option == None with option.isEmpty
2021-02-07 15:00:25 -06:00
Scala Steward
0c9bba8267 Update sbt-mdoc to 2.2.17 (#2632) 2021-02-07 08:15:10 -06:00
Chris Stewart
097fa24e58 Create ScriptFactory.isValidAsm() to standardize how check validity o… (#2629)
* Create ScriptFactory.isValidAsm() to standardize how check validity of a script

* Fix compile

* Fix docs
2021-02-06 08:43:17 -06:00
benthecarman
593b1e2ce1 Update README to have correct latest version (#2631) 2021-02-06 07:54:59 -06:00