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
Chris Stewart
d0dadfa423
2022 08 11 issue 4600 and only emit syncing
ws event when we are actually syncing ( #4604 )
...
* Check if bitcoind is syncing before running scheduled job to poll bitcoind
* Set syncing flag to true if initialblockdownload is true
* Implement logic so we only emit websocket events when state is changed, rather than everytime we poll bitcoind
* Implement logic to only emit websocket event when descriptor flag changes rather than when it is set
2022-08-12 14:34:03 -05:00
Shreyansh
dea99457b5
fix mac node-wallet test failure ( #4585 )
2022-08-12 14:25:11 -05:00
Chris Stewart
d79f70ee82
Bump scalatest to 3.2.13 ( #4605 )
2022-08-12 14:24:30 -05:00
GreyMcCarthy
c34b0de886
removed logger parameter from where it's used with callbacks ( #4598 )
...
* removed logger parameter from where it's used with callbacks
* removed logger from onTXRecived... and onBlockRecived...
* removed unused imports
* removed logger from walletCallbacks
2022-08-12 12:09:58 -05:00
Chris Stewart
b0831f26a7
Refactor waiting for bitcoind lost blocks into helper method, add context ( #4602 )
2022-08-12 12:08:27 -05:00
Chris Stewart
9fd9cf1ee4
Update release notes again for 1.9.3 ( #4597 )
...
* Update release notes again
* Fix small nits
2022-08-12 06:29:06 -05:00
benthecarman
64bc1367c5
Add listPendingChannels to LND ( #4603 )
2022-08-12 06:23:04 -05:00
Chris Stewart
e413f04106
Remove the daemonUser/daemonUserId combination to make our docker images more portable ( #4601 )
2022-08-11 15:09:28 -05:00
Chris Stewart
46502496c1
Update DLCClientIntegrationTest to use the newest bitcoind ( #4596 )
2022-08-10 09:34:35 -05:00
Chris Stewart
a22e847e2e
Implement small optimization to not query for DLCDb twice ( #4592 )
...
* Implement small optimization to not query for DLCDb twice
* Optimize findDLCStatusAction to use a single db query to fetch offers,contracts
* Make findDLCStatusesAction to batch fetch statuses for a set of dlcDbs
* Add querying acceptDb to the sql query
* Implement sql query for getDLCOfferDataAction
2022-08-10 09:26:59 -05:00
benthecarman
26492d2449
Add descriptor for TaprootScriptPubKey ( #4595 )
2022-08-10 07:10:23 -05:00
Chris Stewart
326cb9845e
Implement listDLCs(state), use it in getWalletAccounting() ( #4591 )
2022-08-09 11:02:45 -05:00
Chris Stewart
95139bdc3d
Improve logging on getBlockchainInfo() ( #4590 )
2022-08-09 09:18:53 -05:00
benthecarman
ef3bfed1dc
Add ChainNotifier to LND ( #4589 )
2022-08-09 06:27:35 -05:00
rorp
d95d3db75c
Download arm64-apple-darwin
bitcoind binary on M1 Mac OS X ( #4588 )
2022-08-08 16:46:34 -05:00
benthecarman
b04a34ad02
Use FutureUtil.makeAsync where we are attmepting to create async Futures ( #4583 )
2022-08-08 15:22:32 -05:00
rorp
7b754138b8
Drop support for the experimental bitcoind version ( #4586 )
...
* Drop support for the experimental bitcoind version
* update docs
2022-08-08 14:48:33 -05:00
benthecarman
675b210333
Add PSBT database mapper ( #4584 )
2022-08-08 06:50:50 -05:00
Chris Stewart
c7e5317294
2022 08 06 1.9.3 release notes ( #4582 )
...
* Initial sorting of commits for 1.9.3
* Add summaries to each section
* 1.9.2 -> 1.9.3
* fix typo
2022-08-07 07:32:42 -05:00
Chris Stewart
c10f7beadb
Run yarn upgrade to update website deps ( #4581 )
2022-08-06 17:14:26 -05:00
benthecarman
6119a334fa
Make fundRawTransactionInternal use DBIOActions ( #4575 )
...
* Make fundRawTransactionInternal use DBIOActions
* Fix to correctly use callback
* Move reservedUTXOsCallbackF to FundRawTxHelper
2022-08-06 17:14:02 -05:00
rorp
cf22816003
Fix rescan batch boundary bug ( #4549 )
...
* Fix rescan batch boundary bug
* Make arguments for rescan required to avoid bugs
* WIP: Debug rescan batches
* Add forceGenerateSpks to fix one bug
* Remove addressCount != 0 check now that we have forceGenerateSpks
* Remove comment
Co-authored-by: Chris Stewart <stewart.chris1234@gmail.com>
2022-08-06 14:07:35 -05:00
rorp
0404cffe26
Embedded Pg v1.0.1 ( #4567 )
...
* Embedded Pg v1.0.1
* fix GitHub action evironment
* fix Windows CI tests
* test db-commons in different environments
* remove dbCommontTest from Windows and Mac Github actions
* cleanup
* configurable postgres startup wait
* Empty commit to run CI
* Bump default timeout to 60
* Empty commit
Co-authored-by: Chris Stewart <stewart.chris1234@gmail.com>
2022-08-06 07:30:26 -05:00
rorp
ed4e332cef
Dafalut to the latest Bitcoin Core version ( #4579 )
2022-08-06 07:08:24 -05:00
rorp
9f89ba9b7a
loadwallet
endpoint (#4417 )
...
* `loadwallet` endpoint
* Scala 2.12 compatibility
* remove `getwalletname`
* fix unit tests
* fix DbManagementTest
* fix wallet tests
* fix DbManagementTest
* fix RejectedExecutionException
* fix postgres tests
* fix password override
* update `loadwallet`
* Move WalletHolder into wallet module
* Kill use of null in WalletHolder
* Kill use of null in WalletHolder
* Refactor to use WalletAppConfig.DEFAULT_WALLET_NAME
* update cli and unit tests
* cleanup
* Refactors to get compatible with master
* Fix compile
* Distinguish between loadWalletNeutrino & loadWalletBitcoind
* Fix initialized bug with WalletHolder in loadWallet methods
* Refactor loadWalletBitcoindBackend/loadNeutrinoWallet to have a common helper method
* Introduce DLCWalletLoaderApi, refactor codebase to use it
* Fix dumb initialization bug
* Fix test:compile
* Cleanup
* Get loadwallet mostly working with neutrino wallet
* Fix compile
* scalafmt
* Move loadwallet into app-commons
* Remove {DLCWallet,Wallet}.stop()
* Implement LoadWallet json parsing unit test
* Implement stopping of NodeStreamManager callbacks
* Fix rebase, integrate setRescanState into WalletRoutes
* Fix import
* Fix unit tests
* Implement listwallets in ConsoleCli
* Fix imports
* Cleanup
* scalafmt
Co-authored-by: Chris Stewart <stewart.chris1234@gmail.com>
2022-08-05 17:34:14 -05:00
Chris Stewart
ad21a11254
Create BitcoindStreamUtil and refactor to use it ( #4578 )
...
* Create BitcoindStreamUtil and refactor to use it
* Fix BitcoindBackendTest bugs
* Fix handling of chainCallbacks
2022-08-05 15:31:00 -05:00
Chris Stewart
5acbba9377
Replace BoundedSourceQueueWithComplete
with SourceQueueWithComplete
( #4576 )
...
* Replace BoundedSourceQueueWithComplete with SourceQueueWithComplete so we can use the returned Future
* Recover the expected exceptions in CallBackUtilTest
2022-08-05 11:57:13 -05:00
benthecarman
f286b42c71
Retry lnd startup if it fails ( #4573 )
2022-08-04 16:43:09 -05:00
benthecarman
2fa7c39f64
Use DBIOActions to speed up processing transactions ( #4572 )
2022-08-04 14:40:31 -05:00