Commit Graph

3172 Commits

Author SHA1 Message Date
benthecarman
98ceddfc22
update lnd to v0.13.3 (#3720) 2021-10-04 12:12:10 -05:00
Chris Stewart
aa50ca8d64
Begin adding 1.8.0 release notes (#3717) 2021-10-04 10:39:59 -05:00
Chris Stewart
ea375f9c55
Actually validate master xpub on startup (#3719)
* Fix bug where we didn't validate the master xpub on oracle server startup

* Add test for WalletAppConfig and seeds

* Remove comments

* Fix scalafmt
2021-10-04 10:37:37 -05:00
Chris Stewart
3852a885e1 Try to fix CI for native 2021-10-04 09:35:27 -05:00
Chris Stewart
3a90115067
disable secp256k1 on native images so we don't run into linking errors (#3718) 2021-10-04 08:48:51 -05:00
Chris Stewart
6aff01ffbf
createattesattion -> signenum (#3712) 2021-10-02 16:17:11 -05:00
benthecarman
f6169cc3af
Add LndInstanceRemote (#3710) 2021-10-02 16:15:40 -05:00
Chris Stewart
466de3e46a
Update ConsoleCli endpoints, update docs (#3705)
* Update ConsoleCli endpoints, update docs

* Rename methods in DLCOracleApi from signAnnouncement -> createAttestation

* Fix dates on deprecation

* WIP, createattestation rpc not working for some reason

* Fix misspelling

* Rename endpoint from createattestation -> signenum

* Fix docs

* Fix use of deprecated method after rebase
2021-10-02 08:01:46 -05:00
Scala Steward
51bf5458dc
Update metrics-core to 4.2.4 (#3709) 2021-10-02 07:01:23 -05:00
Chris Stewart
3d725adc92
2021 09 29 delete announcement (#3701)
* Implement delete attestations

* Add DLCOracleApi.deleteAnnouncements()

* Make sure we don't have attestations before deleting announcements

* Add endpoint in OracleRoutes for delete announcement

* Add ConsoleCli implementation

* deleteattestations -> deleteattestation

* Document endpoints and add warnings

* Wire up ConsoleCli with deleteannouncement/deleteattestation

* Fix use of deprecated methods
2021-10-01 14:42:59 -05:00
Nadav Kohen
ba713bd98f
Fixed edge case of numeric range computation (#3707) 2021-10-01 13:10:05 -05:00
rorp
6df0354a73
Enable WAL mode for SQLite (#3704)
* Enable WAL mode for Sqlite

* load the jdbc driver
2021-10-01 07:08:02 -05:00
Chris Stewart
26d7f99173
2021 09 30 rename endpoints (#3703)
* Deprecate things with the Event suffix in DLCOracleApi

* Rename classes used in OracleRoutes

* Rename endpoints

* Update docs

* listevents -> listannouncements
2021-09-30 14:22:17 -05:00
Chris Stewart
59e953a1fc
Bump CI runs to use scalac 2.12.15 (#3700) 2021-09-29 13:05:02 -05:00
Chris Stewart
781e77844f
Implement ability to get proper version of BitcoindRpcClient from BitcoindRpcApConfig.clientF (#3699) 2021-09-29 06:43:15 -05:00
Chris Stewart
4e56fb7901
Make it so bitcoind backend exceptions don't get swallowed (#3697)
* Make it so bitcoind backend exceptions don't get swallowed when doing IBD against bitcoind

* Move zmq polling into syncWalletWithBitcoindAndStartPolling() method
2021-09-28 17:55:47 -05:00
Scala Steward
bf16bab881
Update scodec-bits to 1.1.29 (#3698) 2021-09-28 13:54:48 -05:00
rorp
698fe9e800
Add backupwallet and backuporacle endpoints (#3694)
* Add backupwallet and backuporacle endpoints

* respond to the PR comments
2021-09-28 07:46:33 -05:00
Chris Stewart
4a44f9cd58
Run appServerTest on both windows and mac (#3609)
* Run appServerTest on both windows and mac

* Add just mac test name

* Add downloadBitcoind task to windows matrix

* Make exception easier to be hit

* Remove deleting of directory as that shouldn't be needed

* Add support for not running bitcoind in test suites as a daemon on windows

* Fix bug where i forgot to re-add daemon config
2021-09-27 10:25:48 -05:00
Chris Stewart
2191eb2049
Add 'getversion' endpoint to fetch the version from the backend (#3689)
* Add 'getversion' endpoint to fetch the version from the backend

* Use EnvUtil.getversion
2021-09-27 07:42:21 -05:00
benthecarman
26efbe783e
Add lnd close channel function (#3692)
* Add lnd close channel function

* Add abandonChannel
2021-09-26 07:18:13 -05:00
benthecarman
4f65022472
Fix signet parsing of LnInvoices (#3691) 2021-09-26 07:14:03 -05:00
benthecarman
e6e1fbdab8
Fix typo for signet LndInstances (#3690) 2021-09-26 07:13:35 -05:00
Scala Steward
f9cfd05414
Update postgresql to 42.2.24 (#3687) 2021-09-23 13:50:00 -05:00
Scala Steward
c17cc86ad6
Update sbt-ci-release to 1.5.9 (#3685) 2021-09-22 13:38:50 -05:00
Chris Stewart
bfbde2abaa
Add appCommonsTest to windows test matrix (#3683) 2021-09-22 11:16:16 -05:00
Scala Steward
c53b96c77f
Update native-lib-loader to 2.4.0 (#3682) 2021-09-22 08:36:49 -05:00
Chris Stewart
48213d9b81
Implement MasterXPubDAO (#3451)
* Implement MasterXPubDAO

* Fix nits

* Add postgres migrations

* Make sure tables are getting cleaned on postgres

* Get dlcOracleTest test cases passing with validation of the master xpub in the database on startup

* Fix test case

* Fix more tests

* Move things around so keymanager does not need to depend on dbCommons

* Get all walletTest passing

* Add unit test for wallet startup

* Fix rebase

* Get all sqlite tests passing

* Get postgres test cases passing locally

* Remove early call to walletAppConfig.start() in node project

* Make KeyManagerAppConfig.externalEntropy private

* Fix MasterXpubDAO.existsOneXpub()

* Fix bug in migrating database for oralce project
2021-09-21 08:05:23 -05:00
dependabot[bot]
9b429e98da
Bump prismjs from 1.24.0 to 1.25.0 in /website (#3680)
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.24.0 to 1.25.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.24.0...v1.25.0)

---
updated-dependencies:
- dependency-name: prismjs
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-21 07:08:15 -05:00
Chris Stewart
4a5265801c
Allow for enternal entropy to be passed into a docker container for the appServer and oracleServer (#3679) 2021-09-20 13:27:20 -07:00
Scala Steward
dc56c69c6a
Update scalafx to 16.0.0-R25 (#3676) 2021-09-20 10:13:14 -05:00
Scala Steward
b80710eaaf
Update native-lib-loader to 2.3.6 (#3678) 2021-09-20 09:48:28 -05:00
Scala Steward
619fd5a1fb
Update scalatest to 3.2.10 (#3675) 2021-09-20 09:48:12 -05:00
benthecarman
b6f28456e2
Add functions for Lease & Release output functions (#3677)
* Add functions for Lease & Release output functions

* Add test
2021-09-19 07:20:39 -05:00
Chris Stewart
132479d271
Implement ability to provide external entropy to bitcoin-s (#3672)
* Encapsulate initialization of DLCOracle.start() method

* Use internal WalletAppConfig.kmConf rather than passing in custom key manager parameters

* Add KeyManagerAppConfig.defaultAccountType

* Get all tests passing besides TrezorAddressTest

* Get TrezorAddressTest passing with provided entropy

* Add unit test to make sure we can always derive the seed

* Get docs compiling

* Fix dlcWalletTest test cases

* Add more test cases to keymanager

* Add the new configuration to the example configuration

* Add more test cases

* Remove coverage on 2.12 as it isn't accurate

* Rework DLCOracleAppConfig.start() to call kmConf.start() so the oracle can use entropy provided via bitcoin-s.conf
2021-09-18 09:49:11 -05:00
Scala Steward
3c64af39d9
Update sbt-scoverage to 1.9.0 (#3671) 2021-09-18 07:18:34 -05:00
user411
27d4c09d37
Add sha256 announcement/event ids on oracleServer 'getevent' for use in UI (#3673) 2021-09-17 12:32:01 -05:00
Scala Steward
11c3626fac
Update sbt-bloop to 1.4.9 (#3664) 2021-09-15 07:11:50 -05:00
benthecarman
85eb2d5eb4
Fix approximateUtxoSize calculation for p2wpkh (#3669) 2021-09-15 07:11:15 -05:00
Scala Steward
87b8c4a138
Update scala-library to 2.12.15 (#3668) 2021-09-14 18:02:13 -05:00
Chris Stewart
9b269f0e5e
Change userId to work with umbrel (#3667) 2021-09-14 15:14:38 -07:00
Chris Stewart
af96843e69
Try to fix race condition when shutting down bitcoind connection pool (#3665)
* Try to fix race condition when shutting down bitcoind connection pool and seeing if bitcoind is still alive

* Add cases for BitcoindInstanceRemote and BitcoindInstanceLocal when determining isStartedF
2021-09-14 15:14:20 -05:00
Chris Stewart
db46e35172
Fix case where we forget to correctly assign currentPeerMsgHandlerRecv (#3662)
* Fix case where we forget to correctly assign currentPeerMsgHandlerRecv when we disconnect

* Make handleNodeCommand() so we handle P2PClient.CloseCommand

* Enable DEBUG logging to see what is happening on CI

* Add PeerMessageReceiverTest

* Add InitializeDisconnectDone

* Bump timeout on condition
2021-09-14 06:38:38 -05:00
benthecarman
fd6e0864ac
LndRpcClient: Fix listUnspent only showing unconfirmed utxos (#3663) 2021-09-14 05:51:13 -05:00
benthecarman
74777a9683
Add conversion utils for LndRpcClient (#3660) 2021-09-13 07:32:55 -05:00
Scala Steward
911fd3429d
Update scala-async to 1.0.1 (#3656) 2021-09-11 08:26:15 -05:00
Scala Steward
576680a419
Update logback-classic to 1.2.6 (#3655) 2021-09-11 08:25:51 -05:00
benthecarman
099e4469b4
Add ordering of funding inputs to DLC Wallet (#3647)
* Add ordering of funding inputs to DLC Wallet

* Fix tests
2021-09-11 08:25:24 -05:00
benthecarman
5089e901bb
Add wallet signing functions (#3658) 2021-09-11 07:35:43 -05:00
Chris Stewart
cd9db4f4a9
Adjust the permissions of the statup script for the oracle server on docker so that any user can run the script (#3654) 2021-09-09 16:13:24 -05:00