Commit graph

2623 commits

Author SHA1 Message Date
Scala Steward
0264c2daf8 Update scala-collection-compat to 2.3.2 (#2401) 2020-12-20 07:36:19 -06:00
Ben Carman
ba545760f9 Fix getPeerInfo for v0.20 (#2402) 2020-12-20 07:19:35 -06:00
Chris Stewart
d204056ad8 2020 12 19 enable test compileropts (#2400)
* Fix bug where test compiler opts were not enabled

* Fix all exsting compiler warnings in test project

* Add scalaCollectionCompat dependency to bitcoindRpcTest so we can use @nowarn annotation on scala 2.12
2020-12-20 07:09:07 -06:00
Chris Stewart
f6efa8441e PoC: Attempt to enable parallel execution on CI now that we have github ac… (#2396)
* Attempt to enable parallel execution on CI now that we have github actions

* Try removing 'testWithDbSettings' to simplify build
2020-12-19 17:00:30 -06:00
Chris Stewart
308e3c730d Remove autoScalaLibrary := false, this was not being used correctly and now is hindering builds on intellij (#2397) 2020-12-18 18:52:37 -06:00
Chris Stewart
97d4ec8490 Remove CompatEither, it was needed for historical purposes to support… (#2394)
* Remove CompatEither, it was needed for historical purposes to support Scala 2.11.x

* Revert files from another change
2020-12-18 09:51:28 -06:00
Ben Carman
2c25057fd6 Add get transaction cli command (#2370)
* Add get transaction cli command

* Fix return, add to docs
2020-12-18 07:18:13 -06:00
Scala Steward
8c4bf6dcb2 Update scodec-bits to 1.1.23 (#2391) 2020-12-18 07:16:26 -06:00
Ben Carman
cd13bdb77a Rescan Improvements (#2379)
* Rescan Improvements

* Make test use fetchFilters instead
2020-12-18 07:05:59 -06:00
Scala Steward
8881b0008c Update sbt-native-packager to 1.8.0 (#2382) 2020-12-17 17:47:53 -06:00
Scala Steward
1026b4e6c8 Update scalacheck to 1.15.2 (#2378) 2020-12-17 17:47:26 -06:00
Scala Steward
64000e1799 Update sbt-mdoc to 2.2.14 (#2383) 2020-12-17 17:46:53 -06:00
Chris Stewart
5a67220738 Ignore DLCPayoutCurveTest until issue 2369 is resolved (#2388) 2020-12-17 16:10:05 -06:00
Ben Carman
8912fcbc82 Fail broadcasting transaction when disconnected (#2336)
* Fail broadcasting transaction when disconnected

* Wait until disconnected

* Move test

* Move to separate file

* Attempt fix

* Make test never have a peer

* Improve reliablity
2020-12-17 13:28:32 -06:00
Ben Carman
52ef1fa185 Add ability to store ExtPrivateKey instead of Mnemonic (#2372)
* Add ability to store ExtPrivateKey instead of Mnemonic

* Use private vals, change name

* Fix docs

* private to km

* Correct scaladocs
2020-12-17 13:25:04 -06:00
Ben Carman
52c21aa618 Fix BitGo fee provider parser (#2381) 2020-12-17 11:47:31 -06:00
Nadav Kohen
f7fdca3e22 DLC Data Structures on Master Cleanup (#2375)
* Moved dlc data structures from commons to core

* Renamed DLC payout curve classes

* Split OutcomeValuePoint up into an ADT

* Added utility for computing Schnorr multiple-signature points

* Replaced tuples in RoundingIntervals with types

* Replaced tuples in DLCPayoutCurve with Indexed

* Fixed a compile bug
2020-12-17 09:09:57 -06:00
Ben Carman
1225584526 Multi Wallet support (#2345)
* Multi Wallet support

* Fix Oracle tests

* Fix some CI errors

* Increase KeyManagerAppConfig code coverage

* Add test for multiple seeds in seed folder

* Move things in reference.conf files

* Lower key manager coverage requirement

* Fix postgres test issues

* Create DbAppConfig

* Add some docs, fix hardcoded postgres db name

* Clarify db vs schema

* Add character types

* Fix chaindb in conf

* Always copy default seed

* Remove need for driverName config
2020-12-16 17:27:56 -06:00
Ben Carman
3a7cded566 Require CJDNS starts with 0xFC (#2356) 2020-12-15 14:18:52 -06:00
Ben Carman
ec6e568845 Change CI Status to use Github Actions badge (#2364) 2020-12-15 12:16:14 -06:00
Chris Stewart
2178c7f33b Bump sbt to 1.4.5 (#2358) 2020-12-15 07:42:34 -06:00
Ben Carman
d0d695b0f0 Move CI into indiviual workflows (#2353) 2020-12-14 06:37:09 -06:00
Ben Carman
61d3a14c07 Don't allow fee unit gen to be 0 (#2346)
* Don't allow fee unit gen to be 0

* Fix other 0

* Fix always 0 fee unit gen
2020-12-12 07:34:26 -06:00
Nadav Kohen
b7ffea2525 Pulled down work from adaptor-dlc onto master (#2339)
* Pulled down work from adaptor-dlc onto master

* Reverted some accidental deletions

* Removed unused import

* Added scaladocs

* Responded to Ben's review

* Added some scaladocs and invariants

* Responded to chris' review

* Responded to more review

* Added some comments
2020-12-11 17:32:35 -06:00
Chris Stewart
af4a0baf2d Mask BIP39 password in the BIP39KeyManager (#2350)
* Mask BIP39 password in the BIP39KeyManager

* Add toString test
2020-12-11 16:15:44 -06:00
dependabot[bot]
24c776e453 Bump ini from 1.3.5 to 1.3.7 in /website (#2349)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-11 06:53:38 -06:00
Scala Steward
1f624cf68d Update scalafx to 15.0.1-R20 (#2348) 2020-12-11 06:52:31 -06:00
Scala Steward
714db630d6 Update sqlite-jdbc to 3.34.0 (#2347) 2020-12-11 06:42:58 -06:00
Scala Steward
42d950aaea Update sqlite-jdbc to 3.32.3.3 (#2342) 2020-12-09 06:27:51 -06:00
Scala Steward
4e6f90c42e Update scalamock to 5.1.0 (#2327) 2020-12-08 09:11:33 -06:00
Scala Steward
bac39065d6 Update sbt-bloop to 1.4.6 (#2316) 2020-12-08 08:14:55 -06:00
Ben Carman
48579851d7 Add latest ProtocolVersion (#2332) 2020-12-08 08:13:42 -06:00
Ben Carman
dd26e51594 Setup Github Actions (#2319) 2020-12-07 13:35:22 -06:00
Ben Carman
e8b4eff734 Have makeOpReturnCommitment use random UTXO selection (#2320) 2020-12-07 13:17:24 -06:00
Chris Stewart
7df02c4198 Start refactoring testkit to allow for specifying a different binary … (#2325)
* Start refactoring testkit to allow for specifying a different binary directory than the sbt default

* Fix BitcoindRpcTestUtil

* Add BitcoindRpcTestClient
2020-12-07 13:14:40 -06:00
Ben Carman
097398499a docs: Fix dependabot warning for highlight.js (#2328) 2020-12-07 09:42:59 -06:00
Ben Carman
6cdde9c0ed docs: Replace Large Range with Digit Decomp (#2331) 2020-12-07 09:42:34 -06:00
Ben Carman
9291d6ec3a Fix P2PClient parsing unknown messages (#2315)
* Fix P2PClient parsing unknown messages

* Use Vector, calculate correct checksum
2020-12-06 13:49:30 -06:00
Ben Carman
8cdddfecde Implement BIP 155 addrv2 messages (#2321)
* Implement BIP 155 addrv2 messages

* Add unit tests
2020-12-06 08:07:57 -06:00
Scala Steward
a334247457 Update sbt-ci-release to 1.5.5 (#2322) 2020-12-06 08:07:05 -06:00
Chris Stewart
b8e0847ff3 Remove hard coded bitcoind version eclair was depending on and switch to latest version of bitcoind (#2324) 2020-12-06 08:06:39 -06:00
Chris Stewart
79a85c04f8 Bump scalac setting in secp256k1jni.sbt to scala 2.12.12 (#2317) 2020-12-04 06:43:05 -06:00
Ben Carman
794f6e073e Fix TLV parsing for non-standard strings (#2312)
* Fix TLV parsing for non-standard strings

* Create function

* Fix oracle migrations

* Forced all TLV strings to be normalized implicitly

* Removed redundant normalization

* Fix oracle

* Bump migration test

* Fix 2.12.12 compile

* Use NetworkElement & StringFactory

Co-authored-by: nkohen <nadavk25@gmail.com>
2020-12-03 12:30:17 -06:00
Scala Steward
a0ec72d152 Update javafx-base, javafx-controls, ... to 16-ea+5 (#2304) 2020-12-02 07:00:19 -06:00
Ben Carman
87e29a9ca9 Add function to validate OracleAnnouncementV0TLV's signature (#2308) 2020-12-02 06:59:44 -06:00
Chris Stewart
ccef8b46d4 trivial: Add a sha256 hash field on all TLV (#2300) 2020-11-30 12:47:10 -06:00
Scala Steward
f2f7fe4396 Update scopt to 4.0.0 (#2298) 2020-11-30 08:38:48 -06:00
Chris Stewart
f586e25699 Get Scala 2.13.4 compiling (#2294)
* Get Scala 2.13.4 compiling

* Fix broken test case, in general use if() else() statements for Vectors rather than pattern match as I am unsure of how to correctly pattern match on Vector0,Vector1,...,Vector6()

* Bump CI to 2.13.4

* OVerride CurrencyUnit.equals() so that it works on Scala 2.13.4, not sure why there was a regression here between Scala versions 2.13.4/2.13.3

* Add explicit unit tests making sure bitcoin/satoshi currency units are equivalent
2020-11-28 07:36:07 -06:00
Scala Steward
cf5f206856 Update scodec-bits to 1.1.22 (#2296) 2020-11-27 07:48:18 -06:00
Chris Stewart
80d3eaf6d7 Make BitcoinSAyncTest more thread safe and make sure we have all the … (#2292)
* Make BitcoinSAyncTest more thread safe and make sure we have all the expected test cases aggregated before we starting reducing over the results

* remove extra code

* Fix scala 2.12.x compile
2020-11-26 07:53:33 -06:00