Commit Graph

575 Commits

Author SHA1 Message Date
Chris Stewart
8e39b2bbb8
Sbt docker multi platform (#3649)
* Add docker x building for multiple platform support

* Working now

* Move config into CommonSettings, make code a bit more readable

Co-authored-by: Ivan <erickson.ivan@gmail.com>
2021-09-07 14:09:23 -05:00
benthecarman
2c8a2b0e32
Fix testkit depending on slf4j twice (#3644) 2021-09-05 10:39:11 -05:00
Scala Steward
14ea28bfa2
Update akka-grpc-runtime_2.12, ... to 2.1.0 (#3638) 2021-08-31 13:40:01 -05:00
Scala Steward
3c9b30b974
Update scodec-bits to 1.1.28 (#3639) 2021-08-31 13:14:04 -05:00
Scala Steward
2d429db60d
Update sqlite-jdbc to 3.36.0.3 (#3630) 2021-08-30 08:15:52 -05:00
Scala Steward
554869e72a
Update akka-actor, akka-discovery, ... to 2.6.16 (#3574) 2021-08-27 08:15:42 -05:00
Scala Steward
168da1ae1e
Update sbt-mdoc to 2.2.23 (#3613) 2021-08-27 07:58:21 -05:00
Chris Stewart
0746b14331
Move BitcoindRpcAppConfig into the bitcoind-rpc project (#3610) 2021-08-27 06:43:31 -05:00
Scala Steward
0200ae8beb
Update sqlite-jdbc to 3.36.0.2 (#3608) 2021-08-26 06:55:17 -05:00
Chris Stewart
114fbf35fe
Update version, userAgent for bitcoin-s (#3565) 2021-08-18 06:50:04 -05:00
benthecarman
43e0287fed
Package Tor with Bitcoin-s (#3483)
* Tor packaged in Bitcoin-S

* Ensure not a bridge relay

* Respond to review

* Move repeat function
2021-08-10 11:56:17 -05:00
Scala Steward
90c3f69713
Update scalajs-stubs to 1.1.0 (#3508) 2021-08-10 06:54:49 -05:00
Chris Stewart
4f7b6422ea
2021 08 06 app config refacotr (#3498)
* Move AppConfig into app-commons, reduce classpath deps on keyManager,tor

* Move test ServerArgParserTest

* Fix compile error
2021-08-07 14:36:11 -05:00
Scala Steward
3cdc0d19c7
Update akka-http, akka-http-testkit, ... to 10.2.6 (#3488) 2021-08-05 13:57:10 -05:00
Scala Steward
004b6cc59d
Update sbt-scalajs, scalajs-compiler, ... to 1.7.0 (#3475) 2021-08-03 18:23:59 -05:00
benthecarman
1051e6365a
DLC P2P Client (#3402)
* DLC P2P WIP

* P2PClient refactor (#10)

* Add to CI

* Remove unused

* Attempt to create DLCNode and Tests

* Full Tor support

* Get DLCNegotiationTest passing

* Config options, connect & send func

* Test for DLCNode

* Add createDLCNode to config

* Fix formatting

* Update DLC state after all other data is set

* Remove unneeded line

* Respond to some review

* 2021 07 26 dlc node code review (#13)

* WIP

* WIP2

* Rewrite tests not use Await.result()

* Skip Tor test on CI

* Cleanup threadpool leaks in tests

* Handle actor pattern matching better

* Respond to review

* Implement DLCNode.stop

* sock5 -> socks5

* Use Tcp.Unbind

* Respond to review

* Implement postStop

* Switch to unbind

Co-authored-by: rorp <rorp@users.noreply.github.com>
Co-authored-by: Chris Stewart <stewart.chris1234@gmail.com>
2021-08-02 18:15:56 -05:00
Scala Steward
520e8e5715
Update janino to 3.1.6 (#3457) 2021-07-28 09:56:02 -05:00
Scala Steward
07b4e722c1
Update akka-http, akka-http-testkit, ... to 10.2.5 (#3455) 2021-07-27 10:45:41 -05:00
Scala Steward
7b1c5639cc
Update logback-classic to 1.2.5 (#3452) 2021-07-26 16:07:12 -05:00
Scala Steward
fc88aa077b
Update sbt-mdoc to 2.2.22 (#3439) 2021-07-22 12:24:28 -05:00
Scala Steward
62a8897d7f
Update slf4j-api to 1.7.32 (#3427) 2021-07-20 13:32:45 -05:00
rorp
16e8554756
SOCKS5 client transport (#3396)
* SOCKS5 client transport

* disable unit tests

* update unit tests

* respond to the PR comments

* cleanup

* some more changes
2021-07-19 12:55:23 -05:00
Scala Steward
7f07ed7a7a
Update metrics-core to 4.2.3 (#3419) 2021-07-19 06:26:18 -05:00
Scala Steward
6e04010cba
Update scala-async to 1.0.0 (#3392) 2021-07-13 12:39:47 -05:00
Scala Steward
74964ab145
Update sbt to 1.5.5 (#3391) 2021-07-12 06:16:47 -05:00
Scala Steward
cddecc2075
Update sbt-scalafmt to 2.4.3 (#3386) 2021-07-09 12:26:46 -05:00
benthecarman
45233be22d
Update user agent (#3384)
* Update user agent

* update prev version
2021-07-09 06:54:10 -05:00
Scala Steward
38c55ad0c0
Update scala-collection-compat to 2.5.0 (#3387) 2021-07-09 06:28:00 -05:00
Scala Steward
09a6ca41cb
Update postgresql to 42.2.23 (#3369) 2021-07-06 12:31:26 -05:00
Scala Steward
9b1ad19f4c
Update sbt-scalajs-crossproject to 1.1.0 (#3364) 2021-07-03 06:46:36 -05:00
Scala Steward
ae68dd4562
Update sqlite-jdbc to 3.36.0.1 (#3359) 2021-07-02 06:55:22 -05:00
Chris Stewart
a9292fcad8
Add FutureUtil tests (#3126)
* Add FutureUtilTest for both FutureUtil.batchAndParallelExecute and FutureUtil.batchAndSyncExecute

* Make Vector same size as available processors as CI machines don't have as many processors as I have locally

* Try to fix test case

* Add processors to the log

* Replace java scheduler with a scalajs scheduler called monix

* Make asyncUtilsTest compatible with Scalajs, add them to the CI matrix

* Add more missing runs of asyncUtilsTestJS/test
2021-06-28 14:44:08 -05:00
Chris Stewart
cb5ec20eac
Silence all scaladoc warnings (#3336) 2021-06-28 07:14:09 -05:00
Scala Steward
04d937d4f4
Update sqlite-jdbc to 3.36.0 (#3334) 2021-06-28 06:22:15 -05:00
Chris Stewart
ea26c8b3a3
2021 06 23 scalafx dep (#3324)
* WIP

* Remove usage of JFXApp, use JfxApp3
2021-06-23 18:15:32 -05:00
Scala Steward
5f5f1b2b1a
Update metrics-core to 4.2.2 (#3317) 2021-06-22 12:14:31 -05:00
Scala Steward
a3e9275303
Update sbt-coveralls to 1.3.1 (#3297) 2021-06-18 13:19:58 -05:00
Chris Stewart
94081502c8
Remove previous stable version usage for windows builds as for some reason it doesn't work when setting up dev envs for the first time (#3292) 2021-06-18 09:18:54 -05:00
Scala Steward
6415b9c10a
Update slf4j-api to 1.7.31 (#3294) 2021-06-18 09:17:45 -05:00
Scala Steward
9be6cb11d5
Update postgresql to 42.2.22 (#3282) 2021-06-17 07:05:50 -05:00
Scala Steward
e9de8f30a8
Update metrics-core to 4.2.1 (#3284) 2021-06-17 06:49:49 -05:00
Scala Steward
afbc22af1c
Update sbt-native-image to 0.3.1 (#3270) 2021-06-16 08:14:30 -05:00
Scala Steward
3c8be6e8d9
Update sbt-coveralls to 1.3.0 (#3262) 2021-06-14 13:35:54 -05:00
Scala Steward
4f936b2cbf
Update sbt to 1.5.4 (#3264) 2021-06-14 06:10:04 -05:00
Scala Steward
eeb4741d60
Update sbt-scalajs, scalajs-library, ... to 1.6.0 (#3233) 2021-06-12 08:30:08 -05:00
Scala Steward
4f4fd111e7
Update akka-actor, akka-discovery, ... to 2.6.15 (#3246) 2021-06-11 13:46:40 -05:00
Scala Steward
1215a22857
Update postgresql to 42.2.21 (#3248) 2021-06-11 13:27:28 -05:00
Scala Steward
4b2bc379e3
Update bcprov-jdk15on to 1.69 (#3238) 2021-06-09 18:43:55 -05:00
Scala Steward
0f9024b7ae
Update akka-grpc-runtime_2.12, ... to 2.0.0 (#3143) 2021-06-08 10:49:07 -05:00
Chris Stewart
f958b4036c
Bump otj-pg-embedded to 0.13.14 (#3228) 2021-06-07 13:47:00 -05:00
Chris Stewart
4efe88fcba
UPdate sbt and scoverage in conjunction (#3216) 2021-06-02 06:09:43 -05:00
Chris Stewart
4c9f174a4b
Remove all flyway plugin sbt config (#3215) 2021-06-02 06:08:43 -05:00
benthecarman
03a0ca5ee9
Add QR Code to get adress dialog (#3186) 2021-05-28 06:33:37 -05:00
benthecarman
604194293c
Replace GUI balance thread with a akka scheduler (#3174)
* Replace GUI balance thread with a akka scheduler

* Make actory system a param
2021-05-27 13:17:32 -05:00
Chris Stewart
b23b5ad55f
Make sure secp256k1 is published for java8, not the class version of the jdk it was built on (#3145) 2021-05-26 09:36:20 -05:00
benthecarman
be8e965367
DLC Wallet pulldown (#3138)
* DLC Wallet pulldown

* Respond to review
2021-05-25 17:31:01 -05:00
Chris Stewart
42966b3cbe
Remove logback from the cli module (#3117)
* Remove logback from the cli module

* Reset submodule
2021-05-21 07:11:07 -05:00
Scala Steward
c605a02c28
Update sbt-assembly to 0.15.0 (#3109) 2021-05-20 09:53:08 -05:00
Scala Steward
ed7a44a1a5
Update sbt-scoverage to 1.8.1 (#3111) 2021-05-20 08:02:55 -05:00
Scala Steward
f460f0e79d
Update sbt-assembly to 0.14.10 (#3106) 2021-05-19 15:33:51 -05:00
Chris Stewart
ba91ba5596
Add assembly instructions for bundle project (#3104)
* Add assembly instructions for bundle project

* revert reference.conf
2021-05-19 06:35:31 -05:00
Scala Steward
25852e48d8
Update scala-java-time to 2.3.0 (#3093) 2021-05-18 06:52:29 -05:00
Scala Steward
9dfc99cd40
Update scalatest to 3.2.9 (#3091) 2021-05-14 18:52:10 -05:00
Nadav Kohen
58070f4120
Pulled down dlc and dlcTest projects into core and dlcTest (#3068)
* Pulled down dlc and dlcTest projects into core and dlcTest

Added dlcTest to CI runs and fixed compilation issues

* Fixed docs

* loosened fee rate bound assertions to only sanity test
2021-05-14 12:27:21 -05:00
Scala Steward
6f0fb0671e
Update metrics-core to 4.2.0 (#3087) 2021-05-14 12:19:45 -05:00
Scala Steward
6f8ecf0654
Update scala-collection-compat to 2.4.4 (#3083) 2021-05-14 12:19:22 -05:00
Scala Steward
d9a8a38faf
Update sbt-mdoc to 2.2.21 (#3086) 2021-05-14 12:19:09 -05:00
Scala Steward
6fd869bd87
Update sourcecode to 0.2.7 (#3084) 2021-05-14 10:17:28 -05:00
Scala Steward
bb1eec3941
Update scodec-bits to 1.1.27 (#3085) 2021-05-14 05:51:41 -05:00
Scala Steward
b73607fbbb
Update sbt-scoverage to 1.8.0 (#3066) 2021-05-11 11:49:16 -05:00
Scala Steward
d223829a37
Update sbt to 1.5.2 (#3062) 2021-05-10 06:54:24 -05:00
Scala Steward
526d8d345d
Update scalacheck to 1.15.4 (#3060) 2021-05-08 13:58:39 -05:00
Scala Steward
3a0b1af759
Update janino to 3.1.4 (#3058) 2021-05-08 13:36:50 -05:00
Scala Steward
0668ae541f
Update sbt-scoverage to 1.7.3 (#3061) 2021-05-08 13:36:28 -05:00
rorp
02c4505948
Initial Tor support (#3043)
* Initial Tor support

* cleanup
2021-05-07 06:43:39 -05:00
Chris Stewart
b854f7b16a
Fix javafx on mac osx new m1 arch (#3041) 2021-05-05 13:08:09 -05:00
Chris Stewart
8ec93c6632
Add protoc exception for apples new chip arch. This requires protoc to be built manually as they do not natively ship m1 support yet (#3013) 2021-05-03 07:11:59 -05:00
Scala Steward
e7d34a9ba9 Update metrics-core to 4.1.21 (#3003) 2021-05-01 06:41:52 -05:00
Scala Steward
56d177bb67 Update javafx-base, javafx-controls, ... to 17-ea+8 (#2978) 2021-04-29 16:45:43 -05:00
Scala Steward
e6d78c7c08 Update sbt-scoverage to 1.7.0 (#2982) 2021-04-28 11:55:59 -05:00
Chris Stewart
991ce38208 Use release flag rather than target flag as that is what is intended (#2976)
* Use release flag rather than target flag as that is what is intended

* add comment

* Fix usage of URI that doesn't work -release 8
2021-04-28 07:01:09 -05:00
Scala Steward
0cad0edaaf Update metrics-core to 4.1.20 (#2958) 2021-04-26 07:19:03 -05:00
Scala Steward
23d77b2f43 Update sbt to 1.5.1 (#2971) 2021-04-26 06:44:54 -05:00
Scala Steward
a194adba98 Update scalafx to 16.0.0-R22 (#2942) 2021-04-25 16:39:07 -05:00
Scala Steward
00efd8bccc Update scala-java-time to 2.2.2 (#2941) 2021-04-25 16:38:47 -05:00
Scala Steward
27752062d4 Update postgresql to 42.2.20 (#2945) 2021-04-23 09:30:15 -05:00
Chris Stewart
0bf6df77a5 Update scalatest + scodec deps (#2937) 2021-04-21 13:26:05 -05:00
Scala Steward
27992ed37d Update sbt-mdoc to 2.2.20 (#2930) 2021-04-20 18:35:15 -05:00
Scala Steward
7a73dc5cbb Update sourcecode to 0.2.6 (#2928) 2021-04-20 07:50:09 -05:00
Chris Stewart
4e1ace2706 2021 04 18 Use akka streams in BitcoindRpcBackendUtil.syncWalletToBitcoind (#2916)
* Initial implementation of wallet sync with bitcoind with akka streams

* Make BitcoindRpcBackendUtil.startBitcoindBlockPolling use akka streams

* rework BitcoindRpcBackendUtil.syncWalletToBitcoind() to use akka streams
2021-04-19 15:54:34 -05:00
Scala Steward
0d546f3b65 Update javafx-base, javafx-controls, ... to 17-ea+7 (#2911) 2021-04-18 09:12:21 -05:00
Scala Steward
b5b98492aa Update breeze-viz to 1.2 (#2907) 2021-04-17 17:59:18 -05:00
Scala Steward
ce36112da2 Update akka-actor, akka-discovery, ... to 2.6.14 (#2878) 2021-04-08 12:37:10 -05:00
Scala Steward
112067c905 Update metrics-core to 4.1.19 (#2877) 2021-04-08 07:13:58 -05:00
Chris Stewart
c738f23e58 Fix build warnings that came with sbt 1.5.0 (#2857)
* Fix build warnings that came with sbt 1.5.0

* Fix more deprecation warnings

* Fix more warnings
2021-04-06 06:01:11 -05:00
Scala Steward
a2628cacd1 Update scala-java-time to 2.2.1 (#2862) 2021-04-05 19:36:52 -05:00
Scala Steward
89e84fff67 Update sbt to 1.5.0 (#2854) 2021-04-05 07:20:23 -05:00
benthecarman
4055de7690 Inital LND rpc with some tests (#2836)
* Inital LND rpc with some tests

* Fix ZMQ test

* Correct datadirs

* Most tests

* Fix eclair tests

* Make tests less flaky

* Have CI download lnd

* Respond to some review

* Fix ZMQ tests

* Cached bitcoind for lnd tests

* Fix fixtures, bump timeout

* InstanceFactory & ConfigFactory

* Fix compile issue for 2.12.12

* Move factories to core.api.commons
2021-04-05 04:52:56 -05:00
Scala Steward
969dee78f6 Update javafx-base, javafx-controls, ... to 17-ea+6 (#2852) 2021-04-04 08:46:39 -05:00
Scala Steward
4d2532538b Update sourcecode to 0.2.5 (#2848) 2021-04-02 08:03:35 -05:00
Chris Stewart
49b6d39ab4 Implement Oracle Explorer Client (#2838)
* WIP

* Get POSt working for creating an announcement

* Add ability POST oracle attestations

* Add docs

* Remove ExplorerMain

* Update workflows to add  oracleExplorerClient/test

* Switch to test so it passes on CI

* Add unit test, switch env to ExplorerEnv.Test

* Remove extra comments

* Add StringFactory to ExplorerEnv
2021-04-01 10:43:10 -05:00
Scala Steward
832d9308b5 Update scalatest to 3.2.7 (#2843) 2021-04-01 06:08:54 -05:00
benthecarman
fa80f36d2f Get all of Core working with JS (#2826)
* 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
2021-03-31 15:04:30 -05:00
Scala Steward
6e574931c6 Update sbt-scalajs, scalajs-compiler, ... to 1.5.1 (#2837) 2021-03-31 12:35:00 -05:00
Scala Steward
703f9585ef Update scala-collection-compat to 2.4.3 (#2834) 2021-03-31 07:10:49 -05:00
Scala Steward
a9ccf23366 Update sbt-mdoc to 2.2.19 (#2833) 2021-03-30 06:19:11 -05:00
Scala Steward
c2e054d906 Update scodec-bits to 1.1.25 (#2835) 2021-03-30 06:16:58 -05:00
benthecarman
85ff255df3 Update akka to v10.2.4 (#2832) 2021-03-29 09:59:34 -05:00
Scala Steward
2cc2da9761 Update javafx-base, javafx-controls, ... to 17-ea+5 (#2829) 2021-03-29 06:53:11 -05:00
Scala Steward
c5a3b5ac3f Update sbt-ci-release to 1.5.7 (#2819) 2021-03-23 07:53:52 -05:00
rorp
911fca5825 Schnorr js (#2805)
* Schnorr sigs for Scala.js

* fix build

* put BIP340 test vectors in a shared space

* remove teskit dependency, fix point edge cases

* fix build

* add unit tests for point addition

* scaladoc

* cleanup

* respond to the comments

* Fix usage of BitcoinSLogger

Co-authored-by: christewart <stewart.chris1234@gmail.com>
2021-03-22 12:56:40 -05:00
benthecarman
c6c4e83e9e Remove logging from testkit core (#2813)
* Remove logging from testkit core

* Fixup deps
2021-03-22 11:48:27 -05:00
benthecarman
07514e2348 Remove logging from core (#2810)
* Remove logging from core

* Remove slf4j from testkit core

* Remove logback from coretest
2021-03-21 19:11:55 -05:00
Chris Stewart
2287c6ced9 Implement caching of bitcoind in the walletTest,nodeTest, and partially bitcoindRpcTest project (#2792)
* Create CachedBitcoind, implement it in FundTransactionHandlingTest

* Add BaseWalletTest, extend it with BitcoinSWalletTest & BitcoinSWalletTestCachedBitcoind, add CachedBitcoinV19 and use it RescanHandlingTest

* Make ProcessBlockTest work with cached bitcoind

* Make trait for CachedBitcoindNewest for the newest version of bitcoind

* Make UTXOLifeCycleTest use cached bitcoind

* Add WalletBloom, WalletSyncTest to use cached bitcoinds

* Add WalletIntegrationTest

* Rework beforeAll() and afterAll() into the super trait like BaseWalletTest

* Add standlone BitcoindFixtures, use it in BitcoindBackendTest

* Use new BitcoindFixtures in BitcoindBlockPollingTest

* Introduce BaseNodeTest, start implementing the usage of cached bitcoinds in the nodeTest project

* Use cached bitcoind's with SpvNodeTest & SpvNodeWithWalletTest

* Fix bug on postgres with reusing database, upsert the genesis header rather than create it

* Get NeutrinoNode tests workign with cached bitcoinds

* Fix NeutrinoNodeWithWallet by destroying wallet state for Postgres

* Add teardown helper method for bitcoind

* Teardown chain project when using node fixtures since node is dependent upon the chain project.

* Turn off parallelExecution again

* Switch the parallelExecution flag to only be set on CI, so we can get better performance when running locally

* Start implementing BitcoindFixtures, use BitcoindFixturesCachedTriple on TestUtilRpcTest

* Fix compiler errors, begin implementing NodePair

* Refactor TestRpcUtilTest to use 2 bitcoinds rather than 2

* Reduce the number of bitcoinds that MultiWalletRpcTest needs from 3 -> 1

* Reduce number of bitcoinds used in WalletRpcTest from 3 -> 2

* Add some documentation

* Try to re-add parallelExecution

* Reduce the number of bitcoinds used in PsbtRpcTest from 3 -> 2

* Disable parallelExecution in Test again

* Make BitcoindV21RpcClientTest & BitcoindV20RpcClientTest reduce bitcoind usage from 2 -> 1

* Make BitcoindV19RpcClienttest reduce bitcoind usage from 2 -> 1

* Rework MempoolRpcTest to use fixtures, add BitcoindVersion to CachedBitcoindCollection

* Make sure clientAccumm has to be specified as a paramter now rather than filling in by default

* Begin parameterizing NodePair/NodeTriple to retain type information for the specific version of bitcoind that was used

* Don't implement version in super trait

* Fix docs

* Fix async issue in V21 test suite

* Append to vectors in CachedBitcoinCollection rather than replace

* Fix rebase issues

* Add scaladocs

* Fix BitcoindV18RpcClient address info test

* Implement fixtures in BitcoindV17RpcClientTest fixtures

* Cleanup v17 PsbtRpcTest

* Reduce bitcoind usage from 3 -> 1 in BitcoindV18RpcClientTest

* Remove abandon transaction test, this allows us to reduce the number of bitcoind's used in MempoolRpcTest from 3 -> 2

* Remove the requirement to inject  BitcoinSAsyncFixtureTest, add it in the test traits explicitly to make things easier. Also add explicit afterAll() method to tear down both the CachedBitcoind & BitcoinSAsyncFixtureTest

* Fix missing Await.result() in BitcoindRpcTest.afterAll()

* Rework MultiWalletRpcTest to use a NodePair

* Rework BlockchainRpcTest to use fixtures

* Rework Client start()/stop() methods. Now use an AtomicBoolean to indicate when a user has requested a client to start/stop rather than sending pings to bitcoind that can fail because the conneciton pool has been shutdown in test cases

* Try my luck with turning on parallelExecution in CI again

* Revert parallelExecution, now testes do not run in parallel on CI

* Only turn off parallelExecution for bitcoindRpcTest

* Adjust build to only have bitcoindRpcTest NOT in run parallel on mac, reduce number of blocks used in BitcoindRpcTestUtil.createNodeSequence

* Run less tests in the rpc test suite as that takes the longest, move them over to node/wallet/dlc test suite on mac osx CI

* Don't run eclair tests in parallel either

* Remove CachedBitcoind from BitcoinSWalletTest

* Fix async bug in test case

* Push to github to force re-run of CI

* Push to github to force re-run of CI

* Push to github to force re-run of CI
2021-03-19 06:37:53 -05:00
Scala Steward
1daba85ddf Update javafx-base, javafx-controls, ... to 17-ea+3 (#2804) 2021-03-17 09:47:46 -05:00
Chris Stewart
78448b277c Revert "Schnorr sigs for Scala.js (#2784)" (#2802)
This reverts commit 8e7bde0ed9.
2021-03-16 13:19:16 -05:00
rorp
8e7bde0ed9 Schnorr sigs for Scala.js (#2784) 2021-03-16 10:21:47 -07:00
Scala Steward
fba880e5a9 Update sbt-native-packager to 1.8.1 (#2798) 2021-03-16 08:16:30 -05:00
Chris Stewart
00df875ec2 update Base docker image to a ubuntu buster (#2799) 2021-03-15 15:33:17 -05:00
Scala Steward
77ee3f7e8d Update sbt-ci-release to 1.5.6 (#2789) 2021-03-15 10:48:23 -05:00
Chris Stewart
49544fc7f3 Turn off parallelExecution and remove extra AsyncUtil test class (#2790) 2021-03-11 09:36:54 -06:00
Chris Stewart
7245eb0ec9 Update all deps that failed because of bad build (#2774)
* Update all deps that failed because of bad build

* Revert jvmopts

* Try bumping jvmopts max heap size to get mac builds to work

* Double up timeout in ScriptGenerators

* Use Future.successful() in signFunction to try and reduce overload on executionContext

* Push to github to force re-run of CI

* Upgrade sbt to 1.4.9
2021-03-10 06:48:21 -06:00
rorp
5a2f95c38e WIP: Implement bcrypto facades (#2743)
* Implement bcrypto facades

* signatures

* some more facades

* move JS test

* move JVM tests

* CryptoUtilTest

* CI config

* fix CI config

* add npm dependencies

* test over fullLinkJS-generated files
2021-03-05 07:21:39 -06:00
Chris Stewart
e59057483f Resturcutre cryptoTest & coreTest to work with scalajs build (#2731)
* Get cryptoTest,coreTest projects working with scala-js

Get build working, now moving onto compile

Move jvm specific cryptoTest's into the .jvm sub project

Rework build definition names to be more concise

Fix missing cryptoTest refactor

Move logback-test.xml into jvm specific resource folder so it doesn't get ignored

Make coreTest a crossProject

Rework ci matrix to work with new project structure

Try to fix CI matrix

CI fix part 2

* Apply commonSettings to all cross projects

* Address part of roman's code review, make coreJS, make cryptoTest.dependOn(crypto)

* WIP to share with scala-js community

* Fix scalac compiler settings to be additive in CommonSettings.settings

* Remove BCryptoTest
2021-03-03 16:52:03 -06:00
Chris Stewart
99c5d6e29b Enable 'dockerUpdateLatest' option to give us the latest tag on publishing artifacts (#2752) 2021-03-03 13:58:04 -06:00
Chris Stewart
1959495cec Add testkit-core module (#2726)
* Refactor AsyncUtil to just use an execution context rather than an actor system

* Create testkit-core, start moving data structures over to testkit-core

* WIP, getting rid of the hard dependency on BitcoinSAsyncTest and akka

* Rework test traits to not be dependnent on akka, move BaseAsyncTest into testkitCore, add a test trait that just uses the default scala executionContext

* Get everything compiling

* Move logback-test.xml to testkit-core so it applies to coreTest,cryptoTest as well

* Cleanup rebase issues

* Fix Deps.scala

* Address ben's code review

* Segregate jvm settings and compiler settings

* Filter out -Xfatal-warning for scalajs for now since there is a ton of errors

* Move maintainer settings into CommonSettings.settings
2021-03-02 07:05:21 -06:00
Chris Stewart
5ba7b553b0 2021 02 27 dersignatureutil mv (#2730)
* Move CryptoParams to shared crypto project, make BouncyCastleCryptoParams for bouncy castle specific things

* Rework build structure to work better with scalajs

* Add unit test to make sure CryptoParams & BouncyCastleCryptoParams are consistent
2021-02-28 07:09:22 -06:00
Scala Steward
ecae07c8e1 Update javafx-base, javafx-controls, ... to 17-ea+2 (#2728) 2021-02-27 06:45:53 -06:00
rorp
c90f318fd7 Refactor crypto module to be compatible with Scala.js part 1 (#2719)
* Refactor crypto module to be compatible with Scala.js

* more changes

* some more changes

* abstract out Schnorr stuff

* abstract out adapter stuff

* cleanup

* some more cleanup

* fix build

* Removed references to ECPoint outside of .jvm scope

* remove references to ECPoint from the shared code

* cleanup

* remove cirlular dependencies

* more cleanup

* cleanup

* move SipHash to CryptoContext

* scaladoc

* scalafmt

Co-authored-by: nkohen <nadavk25@gmail.com>
2021-02-27 05:58:20 -06:00
Chris Stewart
94934e113d Rework docker configuration to pass in a custom configuration file (#2718)
* Rework docker configuration to pass in a custom configuration file

* Add default user of bitcoin-s for docker images

* Add runtime docker configuration to website
2021-02-26 07:35:20 -06:00
Scala Steward
06654f4e05 Update akka-http, akka-http-testkit to 10.1.14 (#2723) 2021-02-25 04:17:44 -06:00
Scala Steward
54dc824391 Update metrics-core to 4.1.18 (#2716) 2021-02-24 07:27:10 -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
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
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
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
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
Scala Steward
0d5863b2f5 Update sbt-bloop to 1.4.7 (#2661) 2021-02-13 13:48:54 -06:00
Scala Steward
a5d592ac40 Update javafx-base, javafx-controls, ... to 16-ea+7 (#2654) 2021-02-12 13:32:43 -06:00
Scala Steward
19b47b8eb9 Update janino to 3.1.3 (#2559) 2021-02-09 06:14:49 -06:00
Scala Steward
0c9bba8267 Update sbt-mdoc to 2.2.17 (#2632) 2021-02-07 08:15:10 -06:00
Scala Steward
60bdf0929c Update sbt to 1.4.7 (#2598) 2021-02-02 06:32:18 -06:00
Scala Steward
452bd7e8e2 Update scala-collection-compat to 2.4.1 (#2597) 2021-02-01 07:21:13 -06:00