Commit graph

3870 commits

Author SHA1 Message Date
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
Chris Stewart
713ee75d4c
Get rid of standalone scalajs, mdoc CI matrix. Consolidate with other CI jobs (#4633)
* Get rid of standalone scalajs, mdoc CI matrix. Consolidate with other jobs for faster performance

* Adjust CI matrix name

* Address review, bump heap size
2022-08-20 17:21:39 -05:00
Chris Stewart
b18da7ac2b
Fix bug where it prevented us from rescanning an empty wallet (#4632)
* Fix bug where it prevented us from rescanning an empty wallet with a seed to try and recover funds

* Fix unit test to not expect isEmpty() wallet calls
2022-08-20 17:03:22 -05:00
Chris Stewart
eb1327824b
Fix bug where we were not generating change addresses during a rescan (#4631)
* Fix bug where we were not generating change addresses during a rescan with a fresh address pool

* Turn logging level down

* Add awaitRescanDone before checking addresses

* Alternate order we clear addresses and utxos
2022-08-20 13:23:27 -05:00
Chris Stewart
2dad9f57b8
Fix bug where we weren't specify the bash script for each project to modify file permissions (#4625) 2022-08-18 08:29:10 -05:00
rorp
34c10c6c65
Fix WalletDLCSetupTest (#4623)
* Fix WalletDLCSetupTest

* scalafmt
2022-08-18 07:23:54 -05:00
Chris Stewart
153d20128f
Improve logging to try and solve 4618 (#4622) 2022-08-17 16:58:54 -05:00
Chris Stewart
ac7939ac54
Adjust bash script permissions so they can be run by any user (#4624) 2022-08-17 16:58:37 -05:00
Chris Stewart
85c01f7a8c
More lazy initialization for BitcoinSServerMain (#4621) 2022-08-17 13:16:48 -05:00
Chris Stewart
1b19872ac4
Implement exportstakingaddresswif (#4617)
* Implement exportstakingaddresswif

* Add documentation

* Add unit test
2022-08-16 12:37:58 -05:00
Chris Stewart
d241e6f9e4
Remove merklebuffers (#4615) 2022-08-16 09:46:31 -05:00
Chris Stewart
b6710e7043
.map() on loadwallet result before starting http server so wallet is fully loaded (#4614) 2022-08-16 09:36:21 -05:00
Chris Stewart
531fd0f865
Update 1.9.3 release notes through #4609 (#4612)
* Update 1.9.3 release notes through #4609

* Add contributors
2022-08-16 07:32:36 -05:00
rorp
6b8f45e393
Update docker-compose.yml (#4599) 2022-08-15 13:25:04 -05:00
rorp
8638d14ca0
Update Oracle Explorer addreess (#4609) 2022-08-15 13:24:10 -05:00
Chris Stewart
a0851fea58
Run migrations upfront (#4607) 2022-08-15 10:29:38 -05:00