Commit graph

2599 commits

Author SHA1 Message Date
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
Chris Stewart
ea75d62571 Add number cache trait, use it in all number types (u8,u32,etc) and S… (#2627) 2021-02-05 17:59:48 -06:00
Chris Stewart
bbd1dbc15d Do cheap checks in predicates first before more expensive ones (#2628) 2021-02-05 17:59:19 -06:00
Nadav Kohen
0d38721b3d Added utilities to created linear approximations of Long => Long functions (#2537) 2021-02-05 13:24:33 -06:00
Nadav Kohen
e417ac94a4 Re-wrote CETCalculator.splitIntoRanges (#2621)
Added some docs

Responded to review
2021-02-05 13:24:24 -06:00
benthecarman
b481b9a087 Fix oracle docs for 0.5 website (#2624) 2021-02-03 19:51:11 -06:00
benthecarman
3cc66ac42c Add missing oracle docs (#2623) 2021-02-03 19:04:02 -06:00
benthecarman
a06cca1b30 v0.5.0 release notes (#2384)
* v0.5.0 release notes

* Add release note about defaulting to native segwit

* Update with latest commits

* Update & name release
2021-02-03 17:59:11 -06:00
benthecarman
a318f333a5 Tag 0.5.0 website (#2622) 2021-02-03 17:23:06 -06:00
Chris Stewart
8f958bf5d9 Update scalafmt (#2619) 2021-02-03 16:37:12 -06:00
Chris Stewart
5e7ca2aaca Oracle price example documentation (#2618)
* Oracle price example documentation

* Remove --rpcport, add precision description
2021-02-03 16:08:51 -06:00
Chris Stewart
38864a255b Update chaindump (#2620) 2021-02-03 14:26:58 -06:00
Chris Stewart
35d58e6429 Reduce number of rows selected by best filter header/best filter query (#2617)
* Reduce number of rows selected by best filter header/best filter query

* Remove benchmarking code

* use same queries for best height and best filter so we don't repeat ourselves

* join by blockhash

* Apply optimization to compact filter table

Co-authored-by: Ben Carman <benthecarman@live.com>
2021-02-03 11:37:36 -06:00
Nadav Kohen
bb14254d65 DLC + Adaptor Docs (#2552)
* Wrote dlc docs (pending links to files that haven't been merged yet)

Added adaptor signature docs

Responded to review

Added code examples

* Added links
2021-02-02 13:33:46 -06:00