Commit Graph

3089 Commits

Author SHA1 Message Date
Scala Steward
1215a22857
Update postgresql to 42.2.21 (#3248) 2021-06-11 13:27:28 -05:00
Chris Stewart
af8aaa7bad
2021 06 07 markasspent optimization (#3244)
* Add mark as spent optimization to batch writes rather than write inside the method

* Scaladoc refactor
2021-06-11 13:26:24 -05:00
Scala Steward
4b2bc379e3
Update bcprov-jdk15on to 1.69 (#3238) 2021-06-09 18:43:55 -05:00
benthecarman
95f6c0d790
Skip adding DLC sigs if we already have them (#3236)
* Skip adding DLC sigs if we already have them

* Fix compile

* Fix test
2021-06-09 18:42:17 -05:00
Chris Stewart
8574edede7
Move addressDb database read out of inner loop (#3239)
* Move addressDb database read out of inner loop and into processReceivedUtxo() to hopefully improve performance

* Cleanup
2021-06-09 12:18:57 -05:00
benthecarman
cd59aff063
Fix for showing txid on send (#3237) 2021-06-09 07:58:02 -05:00
Chris Stewart
9431be2f25
2021 06 07 dlc wallet pnl (#3229)
* WIP

* Add profit and loss and rate of return for entire wallet

* Fix rebase

* Address part 1 of code review from Ben

* Add unit test for wallet accounting
2021-06-08 15:05:40 -05:00
Chris Stewart
7ba7f8b9ba
Try to add block generate to address in fixture setup to get around compact filter sync edge case (#3231)
* Try to add block generate to address in fixture setup to get around the case where block headers & filter headers are synced but compact filters are not

* Push to github to force re-run of CI 2

* Add ChainApi.getBestFilter(), use it in sync to determine if filter headers & filters are in sync

* Push to github to force re-run of CI 3

* Simplify getBestFilter, add unit test

* Add more comments, clean up some code
2021-06-08 12:47:28 -05:00
benthecarman
a56086b751
Use nonceDb's outcome to calc oracle outcome (#3217) 2021-06-08 12:32:11 -05:00
Scala Steward
0f9024b7ae
Update akka-grpc-runtime_2.12, ... to 2.0.0 (#3143) 2021-06-08 10:49:07 -05:00
benthecarman
c9798d6842
Test for processing a block we receive and send in (#3189)
* Test for processing a block we receive and send in

* Use psbts
2021-06-08 10:46:54 -05:00
Chris Stewart
f958b4036c
Bump otj-pg-embedded to 0.13.14 (#3228) 2021-06-07 13:47:00 -05:00
Chris Stewart
a0ce337b22
Upgrade scala versions on ci to 2.12.14 and 2.13.6 (#3226) 2021-06-07 12:01:08 -05:00
Chris Stewart
a61c11acfc
Implement sharing of actor systems across the GUI and backend app server (#3220)
* Implement sharing of actor systems across the GUI and backend app server

* Add timestamp to system names

* Fix test case
2021-06-07 11:38:33 -05:00
Chris Stewart
fc5bb956dc
Try making the dlc fee test suite async (#3227)
* Try making the test suite async

* Push to github to force re-run of CI

* Push to github to force re-run of CI 2
2021-06-07 10:23:48 -05:00
benthecarman
5036c419be
Add from file ability for AddDLCSigsAndBroadcast DLCs (#3219) 2021-06-03 21:14:03 -05:00
benthecarman
1af9465881
Update balance on cancel DLC (#3205) 2021-06-02 06:16:54 -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
Chris Stewart
2269a052b1
Rework findDLC() (#3214)
* Rework findDLC(), break things out into separate objects to make things more testable and correct

* Address ben's code review

* Add caching of oracle outcomes we know are valid and broadcast
2021-06-01 14:54:00 -05:00
benthecarman
549d840d02
Only update DLC we are viewing (#3211) 2021-05-31 17:45:00 -05:00
benthecarman
deb0862e07
Fix showing reserved balance instead of unconfirmed in GUI (#3207) 2021-05-31 16:30:54 -05:00
benthecarman
d3f827a127
Update DLC Table with scheduler (#3204) 2021-05-31 11:27:37 -05:00
Chris Stewart
bf02e89faa
2021 05 29 dlc pnl (#3198)
* WIP

* WIP2

* Get tableview rendering something

* Add basic unit tests for accounting

* Add rate of return

* Add myPayout and theirPayout to json objects

* Address code review

* Fix 2.12 compile, adjust table view

* drop isInit column on table view

* Fix scala 2.13
2021-05-31 11:12:24 -05:00
benthecarman
acc3d228d1
Better messaging while syncing headers (#3202) 2021-05-31 10:50:31 -05:00
benthecarman
4f4c342f80
Sort points in numeric gui (#3203)
* Sort points in numeric gui

* Print outcomesValuePoints
2021-05-31 10:50:14 -05:00
Chris Stewart
bd877c80a9
Get logging working in bundle (#3200)
* Get logging working in bundle by making sure the system property is first thing set

* Switch GUI to lazy
2021-05-31 08:00:23 -05:00
Chris Stewart
43a5c5fc49
Add dlc wallet test to postgres matrix (#3199)
* Add dlc wallet test to postgres matrix

* Fix migration and DAO

Co-authored-by: Ben Carman <benthecarman@live.com>
2021-05-31 06:51:39 -05:00
benthecarman
ccc4035056
Sync Height on screen (#3196) 2021-05-29 07:00:00 -05:00
benthecarman
5580771f03
Add export and copy result buttons (#3193)
* Bring back export result button

* Add export and copy result buttons
2021-05-29 06:57:13 -05:00
benthecarman
46b33ec0b8
Make add sigs broadcast the funding transaction (#3179)
* Make add sigs broadcast the funding transaction

* Rename to Broadcast DLC
2021-05-28 20:02:24 -05:00
benthecarman
0e701bc9d0
Fix verify funding sigs (#3194)
* Fix verify funding sigs

* Sort funding inputs

* Sort utxos in dlc signer

* Other multi input fixes & tests

* Fix compile error
2021-05-28 19:59:45 -05:00
benthecarman
7a5e108ff2
Add button to zip datadir in GUI (#3183) 2021-05-28 19:17:41 -05:00
benthecarman
bcda2467ef
Add error messages for when DLC GUI functions timeout (#3184) 2021-05-28 19:17:13 -05:00
benthecarman
5a79acb59c
Fix DLCStatusPickler (#3190) 2021-05-28 17:27:31 -05:00
Scala Steward
1402d1a381
Update scala-library to 2.12.14 (#3187) 2021-05-28 11:01:17 -05:00
benthecarman
03a0ca5ee9
Add QR Code to get adress dialog (#3186) 2021-05-28 06:33:37 -05:00
Nadav Kohen
4b42b90784
Multi-threaded DLC CET signature verification (#3176) 2021-05-27 13:26:09 -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
4146876369
Add DatadirUtil to centralize logic for finding our actual datadir (#3171) 2021-05-27 13:08:14 -05:00
benthecarman
f8d5202974
Add contract info to ViewDLC (#3177) 2021-05-27 13:07:50 -05:00
benthecarman
45d24facee
Add announcement data tests (#3173) 2021-05-27 12:24:50 -05:00
benthecarman
66e160a918
Send txId instead of full serialized transaction (#3175) 2021-05-27 11:59:42 -05:00
benthecarman
dd865c7329
Fix serialId columns to use a String instead of Integer (#3170) 2021-05-27 10:27:17 -05:00
benthecarman
957c5c3a8a
Open bundle GUI at last used tab (#3164) 2021-05-27 07:48:26 -05:00
benthecarman
521a1e2555
Remove unused AcceptDLCDialog file (#3158)
* Remove unused AcceptDLCDialog file

* Remove others
2021-05-27 07:13:37 -05:00
benthecarman
180d7dfcd3
Make loading icon appear until server is full started (#3168) 2021-05-27 07:05:41 -05:00
benthecarman
3d728837ee
Add ability to enter contract info in offer dialogue (#3160) 2021-05-27 06:54:46 -05:00
Chris Stewart
dee044eb4e
2021 05 26 uint64 mapper (#3155)
* Add unit for u64 mapper

* Add more unit tests for u64 mapper
2021-05-27 06:43:49 -05:00
benthecarman
8432712dba
Fix sbt deprecation warnings (#3163) 2021-05-27 06:28:32 -05:00