Commit graph

3835 commits

Author SHA1 Message Date
Chris Stewart
3ad43a8f86
ignore jakarta dependnecy in logback (#4707) 2022-09-05 08:38:50 -05:00
Chris Stewart
3ee4fe1138
Upgrade dependencies (#4705)
* Upgrade dependencies

* upgrade micropickle to 2.0.0

* Add .env file with FLYWAY_CLEAN_DISABLED=false to allow cleaning in test cases

* Fix logging pattern bug

* Add action to load .env file

* Add default flyway.conf at root of repository, disable flywayClean

* remove env action
2022-09-05 07:11:23 -05:00
rorp
2448fe13e8
Revert the unique outpoint index DB migration (#4652)
* Revert the unique outpoint index DB migration

* fix tests

Co-authored-by: Chris Stewart <stewart.chris1234@gmail.com>
2022-09-04 10:24:30 -05:00
Chris Stewart
328e1653a9
Drop support for scalac 2.12.x (#4704)
* Drop support for scalac 2.12.x

* Turn logging level OFF

* Remove more 2.12.x files
2022-09-03 10:16:22 -05:00
benthecarman
1758197d58
Remove bitcoind as a dep for lnd (#4703) 2022-09-02 17:24:38 -05:00
user411
38725f0155
Make electron build use bitcoin-s-ts latest tag (#4701) 2022-09-02 12:46:15 -05:00
Chris Stewart
669eb03f93
2022 09 02 issue 4699 (#4700)
* Get version names right

* fix snapshot bug on docker settings

* Add getSimpleOSName
2022-09-02 11:56:38 -05:00
Chris Stewart
42ef5d15b6
Update release notes through 1.9.2 (#4698) 2022-09-02 09:59:05 -05:00
Chris Stewart
3578b56ea3
Switch base docker image to eclipse-temurin:17 (#4697) 2022-09-01 20:06:07 -05:00
rorp
7322186b56
Fix Tor hidden service config (#4689)
* Fix Tor hidden service config

* default the target list to an empty list

* Scala 2.12 compatibility

* update docs

* Fix typo

Co-authored-by: Chris Stewart <stewart.chris1234@gmail.com>
2022-09-01 16:54:39 -05:00
Chris Stewart
dbcde5d3c7
Fix flaky test (#4695) 2022-09-01 13:22:10 -05:00
benthecarman
dac65ca806
Fixes for force closes or failure to close lnd channel (#4692) 2022-09-01 07:40:36 -05:00
Chris Stewart
49b2730f8c
revert docker-compose user again as its impossible to create mounted direcotry as non root user (#4691) 2022-08-31 18:12:12 -05:00
Chris Stewart
d2f8811a1c
Add log when we are fetching peers to sync with (#4693) 2022-08-31 17:39:21 -05:00
benthecarman
80051d4089
Make macaroon path accessible in LndInstanceLocal, add Versioner RPC (#4688) 2022-08-31 15:44:14 -05:00
Chris Stewart
15b6e429b2
Update README to use grey's new build-wallet-electron.sh script (#4686)
* Update README to use grey's new build-wallet-electron.sh script

* Cleanup website
2022-08-30 17:12:14 -05:00
Chris Stewart
945b3914dd
Remove javafx release (#4684) 2022-08-30 12:55:16 -05:00
Chris Stewart
1dede2c061
update release notes through 9353c41e8f (#4685) 2022-08-30 12:42:11 -05:00
Chris Stewart
9353c41e8f
Add some guards for when we set IBD flag to reduce false positive WARN messages (#4683) 2022-08-30 11:47:54 -05:00
Chris Stewart
f65b483d6f
Allow LnMessage(tlv) & raw tlv to be used in DLCRoutes (#4682)
* Allow LnMessage(tlv) & raw tlv to be used in DLCRoutes from when reading binary files

* Implement actual fix with test case

* Fix try deserializing to tlv in a few more places

* Turn logging off
2022-08-30 06:01:46 -05:00
Chris Stewart
d6c7247a79
Simple docker-compose.yml, add BITCOIN_S_UID, add DISABLE_JLINK (#4680) 2022-08-29 17:25:32 -05:00
Chris Stewart
c266ba849f
Set entrypoint scripts so they are executable by anyone, revert daemonUserId to test on umbrel (#4678) 2022-08-29 10:38:50 -05:00
Shreyansh
2cae3f803d
Fix infinite invalid header loop (#4667)
* fix infinite invalid header loop

* Adjust log levels to WARN

Co-authored-by: Chris Stewart <stewart.chris1234@gmail.com>
2022-08-26 09:43:07 -05:00
Chris Stewart
969333c9e4
Add correct volume mapping for UI (#4670) 2022-08-26 07:07:47 -05:00
benthecarman
b514e812b5
Use findByPrimaryKey query in findByPrimaryKeyAction (#4671) 2022-08-26 07:07:24 -05:00
benthecarman
66d298be3e
Add SatoshisPerVirtualByte json serializers (#4672) 2022-08-26 07:06:34 -05:00
Chris Stewart
15032e27a1
Add default exposed volume of /bitcoin-s so we can always write data to a place (#4669) 2022-08-25 14:12:46 -05:00
Chris Stewart
85a0a0b889
Add docker command mkdir /wallet (#4666) 2022-08-25 11:52:12 -05:00
Chris Stewart
ac24bfb230
Revert #4601 / #4624 so that docker works on umbrel again (#4665)
* Revert #4601 / #4624 so that docker works on umbrel again

* Fix
2022-08-25 11:21:29 -05:00
rorp
a5186cd1da
Change default DLC peer alias (#4663) 2022-08-25 06:57:16 -05:00
benthecarman
02f525fd39
Make CRUDAction types more strict (#4657) 2022-08-24 06:15:24 -05:00
rorp
7c112b8a90
Fix rescan for existing wallets (#4656) 2022-08-24 05:42:53 -05:00
Shreyansh
4e4e4aa9ed
change stream to use backpressure (#4654) 2022-08-23 15:54:15 -05:00
Chris Stewart
288918d705
Partially revert #4601 and re-add daemonUser := bitcoin-s (#4655)
* Partially revert #4601 and re-add daemonUser := bitcoin-s

* scalafmt

* scalafmt again?
2022-08-23 14:36:08 -05:00
Chris Stewart
2001e86ab9
If DISABLE_JLINK set, don't try to chmod jre/bin/java (#4651)
* If DISABLE_JLINK set, don't try to chmod jre/bin/java

* Do it for oracle server as well
2022-08-23 13:16:42 -05:00
Chris Stewart
9afab28d50
Fix empty.head exception in rescan flow (#4649) 2022-08-23 12:53:22 -05:00
Shreyansh
068187c93d
increase buffer size of dataMessageStream to 10000 (#4646) 2022-08-23 08:59:16 -05:00
benthecarman
e5545cb3b9
Improve toString functions for schnorr data types (#4644) 2022-08-23 07:05:04 -05:00
Chris Stewart
e65346f558
Version 1.9.3 of everything (#4643) 2022-08-22 18:21:07 -05:00
Shreyansh
2c2e03b279
Header sync validation (#4456)
* add header sync validation

* fix docs, minor fixes

* Refactor to us InvalidBlockHeader ChainException, also refactor recovery to private helper method

* changes from comments

Co-authored-by: Chris Stewart <stewart.chris1234@gmail.com>
2022-08-22 17:05:41 -05:00
Chris Stewart
451b525be5
Don't process block that we can't fetch height for (#4613) 2022-08-22 13:21:50 -05:00
Chris Stewart
a0eb0824a2
Fix some bugs around resetting rescan state when a rescan fails (#4642)
* Fix some bugs around resetting rescan state when a rescan fails

* Add test case

* Use .fail() method
2022-08-22 12:55:18 -05:00
Chris Stewart
86463231d6
2022 08 18 Add configuration to only emit websocket events when IBD is done (#4627)
* Implement isinitialblockdownload flag in databaes

* Change to IsInitialBlockDownload to be less confusing

* Fix missing refactors, add ChainApi.isIBD()

* Implement logic for ChainApi.isIBD(), add configuration flag to toggle whether to emit websocket events while IBD is ongoing or not, add isinitialblockdownload field to getinfo endpoint

* Remove confusing ChainApi.isIBD() that didn't accurately account for the case where IBD wasn't set in the database

* Fix bug around emitting the websocket events

* Add some documentation
2022-08-22 10:09:00 -05:00
Chris Stewart
c09da6f116
Bump rescan test timeouts from 5 -> 10 seconds (#4639)
* Bump rescan test timeouts from 5 -> 10 seconds

* Empty commit

* Use AsyncUtil.awaitCondition rather than a hard timeout
2022-08-22 08:52:43 -05:00
rorp
0b39c38419
Configure scalafmt to preserve line endings (#4638) 2022-08-21 16:07:48 -05:00
Chris Stewart
11db95447a
Update 1.9.3 release notes through #4636 (#4637) 2022-08-21 16:05:12 -05:00
Chris Stewart
28311e1550
Only build native bitcoin-s-cli on tags or merges to master (#4636) 2022-08-21 12:45:47 -05:00
Chris Stewart
27120a2bb9
Add InvalidBlockHeader ChainException (#4635) 2022-08-21 12:33:18 -05:00
benthecarman
825937ea5f
Add more JSON serializers (#4628)
* Add more JSON serializers

* use PicklerKeys for consistent field names across codebase

* scalafmt

Co-authored-by: Chris Stewart <stewart.chris1234@gmail.com>
2022-08-21 08:38:02 -05:00
Chris Stewart
ea123139d9
Remove support for bitcoind v16 rpc client (#4634) 2022-08-21 08:17:16 -05:00