Commit graph

3528 commits

Author SHA1 Message Date
Chris Stewart
7a5c2971dd
Refactor receive flow to use the same utxo state transitions (#4134)
* Refactor receive flow to use the same utxo state transitions as the rest of the wallet

Get tests passing again with refactored utxos

Remove unecessary wallet methods

Fix test cases

* Remove fixture on UTXOHandlingTest

* Fix bug where funding happens in parallel in fixture and can lead to blockchain reorgs
2022-02-26 19:08:50 -06:00
Chris Stewart
c069b01e53
2022 02 24 rm prune addresses after rescan (#4130)
* Fix bug where we prune unused addreses on rescan. This doesn't let us discover funds for addresses sent that were not paid to until after the rescan was completed

* Add test case

* Fix neutrino node test case

* Some cleanup
2022-02-26 07:43:23 -06:00
Chris Stewart
3ba95700b2
Add RescanState, make sure we don't start concurrent rescans (#4131) 2022-02-25 05:23:51 -06:00
Chris Stewart
940c66807e
Add log for when a new address is generated (#4127)
* Add log for when a new address is generated

* Add isChange to the log
2022-02-23 15:10:30 -06:00
Chris Stewart
5aa46be423
Add a warn log if tor is not enabled and we are booting up DLCServer (#4126) 2022-02-23 12:29:23 -06:00
rorp
f3c443804b
Make DLCDataHandler more type safe (#4123) 2022-02-23 10:12:31 -06:00
benthecarman
5c9d64647e
Add PSBT functions for LND (#4124) 2022-02-23 10:08:36 -06:00
rorp
34b7d18268
External payout addresses for acceptdlc (#4121) 2022-02-22 14:47:48 -06:00
Chris Stewart
96d11163a6
Bump heap size on ci-release (#4118) 2022-02-22 09:27:13 -06:00
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