Commit graph

3419 commits

Author SHA1 Message Date
Chris Stewart
b46574c0c4
2022 02 18 sync since creationtime pt2 (#4109)
* Get things compiling and tests passing

* Fix bug where we weren't using filter height correctly

* Fix docs

* Move creationTime into KeyManagerAppConfig

* Fix nodeTest/test test fixtures
2022-02-22 08:00:14 -06:00
Chris Stewart
16f3da7ee0
Update setup scala action to v13 (#4113)
* Update setup scala action to v11

* update to v13

* increase heap size on compile
2022-02-21 15:52:24 -06:00
Chris Stewart
e98b2c6caa
Update release.yml to use openjdk@1.17.0 (#4115) 2022-02-21 10:52:55 -06:00
Chris Stewart
eddcc94b03
Upgrade CI jdks to openjdk@1.17.0 (#4114) 2022-02-21 09:44:59 -06:00
Chris Stewart
e6bf7bd67e
Segregate updating received utxos and spent utxos (#4093)
* Fix UTXOHandlingTest cases

* Reduce log level

* Add comments, fix bugs so that we can transition from TxoState.ConfirmedReceived -> TxoState.PendingConfirmationsReceived

* Fix BroadcastSpent/BroadcastReceive bugs

* Add scaladoc to updateUtxoStates()

* Break receive and spent tests into two test cases

* Remove unneeded database write

* Fix rebase
2022-02-20 15:37:52 -06:00
benthecarman
cff0e84440
Fix get txs for lnd (#4111) 2022-02-20 06:40:03 -06:00
Chris Stewart
528e7c8f0e
Remove TxoState.DoesNotExist (#4108) 2022-02-18 16:31:03 -06:00
rorp
ffd7d921a8
Database support for incoming offers (#4105)
* Database support for incoming offers

* fix tests
2022-02-18 14:03:05 -06:00
benthecarman
f657510d80
Remove invoice max amount limit (#4104) 2022-02-18 12:16:39 -06:00
Chris Stewart
666885bc11
Re-add javafx media,graphics dependnecies to fix GUI (#4107) 2022-02-18 11:39:24 -06:00
rorp
5777ec1c31
Add an ability to set custom payout and change addresses (#4101)
* Add an ability to set custom payout and change addresses

* config changes

* formatting

* respond to the comments
2022-02-18 09:29:00 -06:00
Chris Stewart
5b1b1ee149
Remove uneeded javafx deps (#4103) 2022-02-16 16:44:12 -06:00
Chris Stewart
0ba6bb4da0
Try to fix windows path (#4100)
* Try to fix windows path

* Just remove windows native image
2022-02-15 10:46:55 -06:00
Chris Stewart
075b90c930
2022 02 15 update 1.9.0 release notes (#4099)
* Update release notes to 4e6c68155e

* Add some descriptions to modules

* Add high level description, fix versions

* Fix typo
2022-02-15 09:31:27 -06:00
Chris Stewart
2bce49b519
Remove things deprecated in 1.8 (#4097) 2022-02-15 09:24:22 -06:00
Chris Stewart
95d9bf44a5
Add 1.9.0 of the website (#4096) 2022-02-15 07:48:48 -06:00
rorp
4e6c68155e
Sort outcomes in decodeoffer response (#4094)
* Sort outcomes in `decodeoffer` response

* scalafmt

Co-authored-by: Chris Stewart <stewart.chris1234@gmail.com>
2022-02-14 19:14:29 -06:00
Chris Stewart
e8ee5d7339
Bump website dependencies (#4095) 2022-02-14 18:59:10 -06:00
Chris Stewart
dc47c070a2
Fix SpendingInfoDAO.findOutputsReceived() bug (#4090) 2022-02-14 10:11:23 -06:00
rorp
4d85b7a3d7
Support for big SPKs (#4084)
* Support for big SPKs

* Support for big SPKs

* Bump number of migrations

* Fix other test case

* cleanup

* cleanup

* fix psql migrations

Co-authored-by: Chris Stewart <stewart.chris1234@gmail.com>
2022-02-14 07:22:34 -06:00
Chris Stewart
3931897e7f
2022 02 13 issue 3405 (#4089)
* Fix version bug in download

* Remove more 'v' tag prefixes on tag

* Fix zip

* Final fixes on download links

* Remove extra docs
2022-02-13 16:26:54 -06:00
Chris Stewart
07fcfd0568
2022 02 12 update mdoc fix downloadlink (#4086)
* Fix broken website examples

* Update mdoc dependency and fix download link
2022-02-12 16:20:34 -06:00
Chris Stewart
13c46e0af8
Move expensive script checks to last inside of P2PKWithTimeoutScriptPubKey (#4087)
* Move expensive script checks to last inside of P2PKWithTimeoutScriptPubKey

* Fix compile
2022-02-12 16:18:23 -06:00
Chris Stewart
e5707d5002
Fix broken website examples (#4085) 2022-02-12 13:45:53 -06:00
Chris Stewart
55ecc1ae8f
Implement connection timeout (#4081) 2022-02-12 09:11:13 -06:00
Chris Stewart
526ed37a28
Cleanup docs that use $ (#4083) 2022-02-12 08:18:14 -06:00
Chris Stewart
4ea87c741f
2022 02 12 cleanup example config (#4082)
* Make example configuration better so that the node starts up if you just copy and paste the example configuration into your bitcoin-s.conf file

* More clarificatoin
2022-02-12 07:45:11 -06:00
benthecarman
3d674c37f3
Create upsertAllAction (#4073) 2022-02-11 13:06:50 -06:00
rorp
1708add6ec
Make Tor connect error message more human readable (#4078) 2022-02-11 12:35:37 -06:00
rorp
6cfbf67812
Prevent DB state corruption while accepting the same offer multiple times (#4067)
* Prevent db state corruption while accepting the same offer multiple times

* cleanup
2022-02-11 12:23:17 -06:00
benthecarman
2166faf61d
Make findByPrimaryKeysAction public (#4079) 2022-02-11 12:06:56 -06:00
Chris Stewart
eeabe5cd77
2022 02 11 clearutxoandaddresses for account transactional (#4077)
* Make clearUtxosAndAddresses(account) transactional

* Add deleting address tags
2022-02-11 12:03:59 -06:00
benthecarman
3991789129
Don't call findByPrimaryKeys if ids is empty (#4074) 2022-02-11 06:51:32 -06:00
rorp
bce58ba33d
Validate announcement signatures on create/accept offer (#4071)
* Validate announcement signatures on create/accept offer

* unit tests
2022-02-11 06:50:45 -06:00
rorp
5366428fb2
Implement BitcoindRpcClient.epochSecondToBlockHeight (#4068) 2022-02-10 07:30:30 -06:00
Chris Stewart
35dccd88d6
Add new section to README for running bitcoin-s, add link to the web frontend (#4069) 2022-02-10 06:16:41 -06:00
Chris Stewart
9de4b0272a
2022 01 31 issue 4030 (#4066)
* WIP

* WIP

* Get basic unit test passing for new adaptor sig states

* Fix compile
2022-02-09 13:15:44 -06:00
Chris Stewart
f253b5055e
2022 02 08 dlc accept refactor (#4064)
* Create buildAcceptWithoutSigs

* Create DLCAcceptUtil

* Address roman's code review
2022-02-09 07:39:07 -06:00
Chris Stewart
99418c798a
2022 02 07 release note draft (#4060)
* WIP

* Finish sorting commits

* Revert files
2022-02-08 07:20:13 -06:00
benthecarman
44373f8449
Add functions for LND subscription (#4062) 2022-02-08 07:20:03 -06:00
rorp
e2b9c458e4
Change DLCUtil.buildOracleSignatures (#4061) 2022-02-07 19:50:53 -06:00
rorp
48189d5c1d
Make CRUD.run and CRUD.runVec transactional (#4059)
* Make `CRUD.run` and `CRUD.runVec` transactional

* remove explicit `transactionally` calls
2022-02-07 17:42:48 -06:00
Chris Stewart
5aeecdb893
Reworking/refactoring acceptDLCOffer (#4048)
* Part 1 of reworking/refactoring acceptDLCOffer

* scalafmt

* WIP

* Move offer creation into initDLCForAccept

* Refactor method name to getDlcDbOfferDbAccountDb

* Push to github to force re-run of CI
2022-02-07 11:41:17 -06:00
Chris Stewart
49d4d7f179
2022 02 06 issue 4049 (#4056)
* WIP

* Make attestation creation transactional in the oracle
2022-02-06 19:07:32 -06:00
Chris Stewart
7f344ad3ff
2022 02 06 announcement creation logging (#4055)
* Add logs for creating announcements

* Add attestation logs

* scalafmt
2022-02-06 17:30:42 -06:00
Chris Stewart
590cd9c72e
2022 02 06 remoteclaimed refactor (#4054)
* Small refactors to make things more readable

* Add invariants to make sure things are defined when doing the RemoteClaimed flow

* Move where we update DLCDb state to RemoteClaimed so its atomic with the rest of the db updates

* Consoldiate uses of updatedDlcDb

* Add logs

* scalafmt
2022-02-06 16:31:13 -06:00
Chris Stewart
d213e9935d
Add better exception messages (#4053) 2022-02-06 11:14:58 -06:00
Chris Stewart
7a6f0430d6
2022 02 03 issue 4032 (#4042)
* get all dlcWalletTest/test passing

* Get dlcTest/test working with ignored test cases

* WIP

* Rework match oracleSignatures

* Refactor checkSingleContractInfoOracleSigs to use matchOracleSignatures

* Clean up checkOracleSignaturesAgainstContract for disjoint, still doesn't pass test cases

* Some DRY in numeric test cases

* Add test case for enum contracts

* Fix disjoint union contract bug

* Refactor matching of oracle announcements and oracle signatures into DLCUtil

* Fix compile on on 2.12.x

* Address parts of code review
2022-02-05 09:04:04 -06:00
benthecarman
142612f034
Make newConfigOfType use Vector[Config] (#4039) 2022-02-04 06:14:16 -06:00
benthecarman
afc6a32c62
Update lnd to v0.14.2 (#4040) 2022-02-04 06:11:25 -06:00