Commit Graph

2840 Commits

Author SHA1 Message Date
benthecarman
8432712dba
Fix sbt deprecation warnings (#3163) 2021-05-27 06:28:32 -05:00
benthecarman
fb81552f6d
Don't fetch all DLC data when canceling DLC (#3159)
* Don't fetch all DLC data when canceling DLC

* Allow unmarkUTXOsAsReserved when canceling DLC

* Add ability to cancel a Signed DLC

* add gui conf window
2021-05-27 06:28:09 -05:00
benthecarman
96fc544572
Fix logging in bundle (#3167) 2021-05-27 06:17:04 -05:00
Chris Stewart
6c9d82166e
Fix main class in bundle (#3161)
* Fix main class in bundle

* Fix missing gui mainclass
2021-05-26 18:09:53 -05:00
benthecarman
379ffebd9c
Add startup config flow for bundle (#3142)
* Add startup config flow for bundle

* Add explainers and bundle config
2021-05-26 16:07:24 -06:00
benthecarman
80ace5a911
Use groupByExistingAnnouncements when accepting (#3157) 2021-05-26 15:37:50 -06:00
Nadav Kohen
17d1145504
Removed extraneous findAll call from CRUD.updateAll (#3154)
* Removed extraneous findAll call from CRUD.updateAll

* Made update tests deal with unchanged element
2021-05-26 14:22:18 -06:00
benthecarman
880c8898da
Upsert remote txs in DLC Wallet (#3150) 2021-05-26 14:49:34 -05:00
Chris Stewart
13409d29c3
Fix header on configuration.md (#3153) 2021-05-26 14:02:19 -05:00
benthecarman
c7bb783b1a
DLC GUI pulldown (#3148)
* adaptor-dlc GUI pulldown

* hodl-mccormack-dlc pulldown
2021-05-26 12:12:57 -05:00
Chris Stewart
b23b5ad55f
Make sure secp256k1 is published for java8, not the class version of the jdk it was built on (#3145) 2021-05-26 09:36:20 -05:00
Chris Stewart
caf6c2e724
Enable java app packaging on bundle project (#3144) 2021-05-26 07:01:18 -05:00
Chris Stewart
55db4fbd6b
Remove logging requests and responses for directives unless logging is DEBUG level (#3141) 2021-05-25 19:51:31 -05:00
Chris Stewart
701418f89f
Fix issue 3102 to allow a user to create an offer with an announcement embedded inside a contract info that the user's wallet has seen before (#3140)
Fix bug where we were not taking into account all announcementTLVs
2021-05-25 18:53:13 -05:00
benthecarman
be8e965367
DLC Wallet pulldown (#3138)
* DLC Wallet pulldown

* Respond to review
2021-05-25 17:31:01 -05:00
Chris Stewart
cea8802c05
parallelize matching compact filters as this is a bottleneck during IBD (#3137)
* parallelize matching compact filters as this is a bottleneck during IBD

* Use FutureUtil.makeAsync() to actually make it async

* Small optimization, move asmVec outside of lambda so it doesn't need to be re-computed everytime
2021-05-25 12:39:39 -05:00
Chris Stewart
41e22b3cbc
2021 05 23 Sync race condition (#3129)
* Give working code for example on issue

* Fix race condition where both NeutrinoNode.sync() and our data message handler would request the same set of compact filters causing database errors for uniquness violations
2021-05-24 12:30:13 -05:00
Chris Stewart
68c7bc1040
2021 05 21 fetch height parallel (#3124)
* Fetch block height in parallel for Wallet.processCompactFilters()

* Make implementation safe against Vector.empty being passed as a parameter
2021-05-23 18:30:19 -05:00
Nadav Kohen
eafaff9ee8
Made DLCTxSigner's async signing methods actually multi-threaded (#3122) 2021-05-21 18:36:09 -06:00
Nadav Kohen
87f353b08f
DLC Adaptor Point Computation Memoization (#3110)
* A first attempt

* Made memoization conditional on CryptoContext

* Added scaladocs

* Responded to review and added a unit test
2021-05-21 17:40:28 -05:00
Chris Stewart
9c9e27a8f5
Add optimzations for IBD when the wallet is empty, basically skip all logic for matching filters since there is nothing to match against (#3121) 2021-05-21 15:08:25 -05:00
Chris Stewart
80e6a91056
Add application.conf to bundle (#3118)
* Add application.conf to bundle, move some configurations into db-commons/reference.conf

* Fix config
2021-05-21 10:59:23 -05:00
Chris Stewart
42966b3cbe
Remove logback from the cli module (#3117)
* Remove logback from the cli module

* Reset submodule
2021-05-21 07:11:07 -05:00
Nadav Kohen
745e4c89fa
Removed point multiplication from ECPrivateKey.freshPrivateKey (#3116)
* Removed point multiplication from ECPrivateKey.freshPrivateKey

* Responded to review
2021-05-21 00:46:20 -06:00
benthecarman
1e87cb0fde
Remove need for bitcoind install with remote (#3114) 2021-05-20 13:05:44 -06:00
Scala Steward
c605a02c28
Update sbt-assembly to 0.15.0 (#3109) 2021-05-20 09:53:08 -05:00
Scala Steward
ed7a44a1a5
Update sbt-scoverage to 1.8.1 (#3111) 2021-05-20 08:02:55 -05:00
Chris Stewart
fcf55df165
2021 05 19 jpackage bundle release (#3108)
* Remove tags usage, as our current tags are invalid for mac

* First try trying to get jpackage to work with bitcoin-s bundle

* Simplify bundle name for now

* Try to fix linux formatting

* Empty commit to re-run ci

* Empty commit to re-run ci 2

* Fix references to krystal bull artifacts

* Add icon to deb file

* Add icns file for bitcoin-s for mac

* Use same icon as mac os x

* Try to get tagging logic correct

* Add fetch depth 0

* Try bumping java ubuntu version to 1.16

* Try using openjdk@1.16.0-1

* Remove jpackage feature branch to test

* Empty commit to re-run ci 2

* Remove unused ico file
2021-05-19 16:38:32 -05:00
Scala Steward
f460f0e79d
Update sbt-assembly to 0.14.10 (#3106) 2021-05-19 15:33:51 -05:00
Chris Stewart
ba91ba5596
Add assembly instructions for bundle project (#3104)
* Add assembly instructions for bundle project

* revert reference.conf
2021-05-19 06:35:31 -05:00
Scala Steward
25852e48d8
Update scala-java-time to 2.3.0 (#3093) 2021-05-18 06:52:29 -05:00
Nadav Kohen
ac3bae403b
Pulled down all remaining non-wallet non-gui code on adaptor-dlc (#3101) 2021-05-18 06:29:46 -05:00
Scala Steward
a0453ad660
Update scala-library to 2.13.6 (#3097) 2021-05-17 17:44:19 -05:00
Chris Stewart
a104787985
Fix Node.sync() bug that was caused by not starting filter header sync from the current best filter headers block hash (#3092) 2021-05-17 06:04:04 -05:00
Chris Stewart
7468cbec23
Optimize updateUtxoConfirmedStates() to fetch confirmations for blocks in parallel (#3094) 2021-05-16 17:10:58 -05:00
Scala Steward
9dfc99cd40
Update scalatest to 3.2.9 (#3091) 2021-05-14 18:52:10 -05:00
Chris Stewart
3205e4e275
Implement createCETsAndCETSigsAsync() to fix performance issue in test (#3089)
* Implement createCETsAndCETSigsAsync(), use this inside of TestDLCClient.setupDLCAccept()

* Switch to lazy val to cache sig point computation

* Add FutureUtil.batchAndParallelExecute() that does not take batchSize parameter, just compute it inside as a sane deafult

* Fix 2.12.x compiler error
2021-05-14 17:59:56 -05:00
benthecarman
73668bb66c
Remove old ZMQ config from documentation (#3090) 2021-05-14 14:33:57 -05:00
Nadav Kohen
58070f4120
Pulled down dlc and dlcTest projects into core and dlcTest (#3068)
* Pulled down dlc and dlcTest projects into core and dlcTest

Added dlcTest to CI runs and fixed compilation issues

* Fixed docs

* loosened fee rate bound assertions to only sanity test
2021-05-14 12:27:21 -05:00
Scala Steward
6f0fb0671e
Update metrics-core to 4.2.0 (#3087) 2021-05-14 12:19:45 -05:00
Scala Steward
6f8ecf0654
Update scala-collection-compat to 2.4.4 (#3083) 2021-05-14 12:19:22 -05:00
Scala Steward
d9a8a38faf
Update sbt-mdoc to 2.2.21 (#3086) 2021-05-14 12:19:09 -05:00
Scala Steward
6fd869bd87
Update sourcecode to 0.2.7 (#3084) 2021-05-14 10:17:28 -05:00
Scala Steward
bb1eec3941
Update scodec-bits to 1.1.27 (#3085) 2021-05-14 05:51:41 -05:00
Chris Stewart
11d58813c1
Remove zmq configurations for bitcoind backend setup as they aren't needed (#3080) 2021-05-14 05:51:02 -05:00
benthecarman
8b8066d1f3
Fix windows secp bindings (#3075) 2021-05-12 16:42:56 -05:00
Chris Stewart
72636b7180
2021 05 09 received utxos (#3063)
* Make TransactionProcessing.processTransactionImpl() a bit more parallel, fetch all relevant received and spent txos in parallel

* More refactors, make sure return types are Vector rather than Seq to make sure we don't have any pathlogical surprises with scala collections

* Fix type annoation to be Vector

* Fix remaining usage of Seq in TransactionProcessing

* Fix pattern match on Vector on 2.12.x

* Change input to Vector rather than Seq in processSpentUtxos()
2021-05-12 10:45:23 -05:00
benthecarman
2b8ac08cdc
Give oracle ability to sign messages with private key (#3070) 2021-05-12 10:09:34 -05:00
benthecarman
aff2374f45
Update README.md (#3071) 2021-05-12 06:06:33 -05:00
benthecarman
41f3cb4dbf
Fix CachedHttpFeeRateProvider (#3069) 2021-05-12 01:43:00 -05:00