Commit Graph

4676 Commits

Author SHA1 Message Date
Oleg
e45860af90
Docs: README (#5751)
Hello. Made some changes in the test documentation
2024-10-31 11:11:43 -05:00
Chris Stewart
5187eee42a
core: Terminate rescan early when RescanStarted.stop() is called rather than wait for the rescan to complete (#5749)
Add checks if recursiveRescanP is completed before attempting to fail the Future

Fix potential deadlock in RescanStarted.stop(), add RescanState test

Add unit test to make sure we propagate exceptions correctly

Move RescanStateTest to jvm only

Link completeRescanEarlyP and blocksMatchedF together in RescanStateTest

Revert DLCWalletLoaderApi.scala
2024-10-30 16:47:39 -05:00
Scala Steward
18c74c1351
Update bcprov-jdk18on to 1.79 (#5750) 2024-10-30 16:35:06 -05:00
Chris Stewart
471c063532
Remove rescan specific threadpool (#5746) 2024-10-30 10:10:55 -05:00
Chris Stewart
835c98e5b9
Fix race condition in WebsocketTests (#5748)
* Try bumping timeout of 'receive updates when an address is generated' to avoid spurious failures on CI

* Set logging to DEBUG

* Add more logging

* Empty commit to re-run CI

* More println

* Fix race conditions in WebsocketTests

* remove println
2024-10-30 08:42:08 -05:00
Chris Stewart
3ae69b6ab5
wallet: Get processBlockCachedUtxos() using DBIOAction (#5740)
* wallet: Get processBlockCachedUtxos() using DBIOAction

* Remove unused val
2024-10-29 06:00:57 -05:00
Scala Steward
2366b80c70
Update sbt, scripted-plugin to 1.10.4 (#5743) 2024-10-28 14:52:00 -05:00
Chris Stewart
f75a52b521
Refactor TransactionProcessing.processTransaction() to use BlockHashWithConfs (#5744)
* Refactor TransactionProcessing.processTransaction() to use BlockHashWithConfs

Create WalletUtil.getBlockHashWithConfs(), use it in various places through the codebase

* Fix docs
2024-10-28 12:52:53 -05:00
Chris Stewart
2521c5da0e
Fix noisy log in TransactionProcessing (#5742) 2024-10-28 08:42:09 -05:00
Scala Steward
91b3fc1e45
Update logback-classic to 1.5.12 (#5741) 2024-10-26 10:00:45 -05:00
Chris Stewart
fe8acbb42f
2024 10 25 Get TransactionProcessing.processTransactionImpl() using a single database transaction (#5739)
* Get TransactionProcessing.processTransactionImpl() using a single database transaction

Revert BlockHashWithConfs.scala

Get TransactionProcessing.processTransactionImpl() using a single DBIOAction to encapsulate our wallet's processing of a bitcoin transaction into a single database transaction

* Fix WalletCallbacksTest

* Revert logback-test.xml
2024-10-26 08:08:56 -05:00
Chris Stewart
8917188220
wallet: Rework where we fetch the number of block confirmations for a tx in the wallet (#5738)
* wallet: Rework where we fetch the number of block confirmations for a tx in the wallet

* fix reserve handling
2024-10-26 06:57:44 -05:00
Chris Stewart
30663fe622
Remove scala version speicfic build code (#5737) 2024-10-24 11:44:10 -05:00
Scala Steward
387bcfdeb8
Update flyway-core, ... to 10.20.1 (#5735) 2024-10-24 11:43:35 -05:00
Scala Steward
ff459b674c
Update sqlite-jdbc to 3.47.0.0 (#5736) 2024-10-24 11:17:18 -05:00
Chris Stewart
29f10d046c
Turn on -Xlint (#5728)
Get entire codebase compiling

Fix DLCDAO

Revert .jvmopts

Finish rebase
2024-10-24 06:59:50 -05:00
Chris Stewart
e419b18d9c
2024 10 23 merkle vector (#5734)
* Rework MerkleBlock/PartialMerkleTree data structures to use Vector

* Fix base case for Merkle.build()
2024-10-23 16:14:33 -05:00
Chris Stewart
07f17cfedf
Rework Block and Transaction data structures to use Vector rather than Seq (#5733) 2024-10-23 14:27:07 -05:00
Chris Stewart
65e67287f8
2024 10 21 Replace Future.sequence() usage with Future.traverse() (#5732)
* Use more Future.traverse()

* More Future.traverse()
2024-10-22 16:57:23 -05:00
Scala Steward
528ceae9d4
Update sbt-ci-release to 1.9.0 (#5731) 2024-10-22 15:19:52 -05:00
Chris Stewart
88125a3575
Remove .jvmopts file comments, they do not work on ubuntu (#5730) 2024-10-22 06:25:50 -05:00
Chris Stewart
28001af35e
Add .jvmopts, conslidate JVM options there (#5729) 2024-10-21 12:45:19 -05:00
Scala Steward
ed7a152a51
Update sbt, scripted-plugin to 1.10.3 (#5726) 2024-10-20 17:26:09 -05:00
Elias Rad
04b9e6e75f
Docs fix spelling issues (#5723)
* Update cli.md

* Update server.md

* Update chain.md
2024-10-19 15:13:22 -05:00
Chris Stewart
dca2146647
2024 10 19 rm generic btree (#5725)
* Remove BinaryTree.scala

* Enable -Xlint:type-parameter-shadow

* Remove implicit usage in BinaryTreeDoubleSha256Digest
2024-10-19 15:13:01 -05:00
Chris Stewart
5f47fbe9ac
Use BinaryTreeDoubleSha256Digest inside of Merkle.scala rather than BinaryTree[DoubleSha256Digest] (#5724) 2024-10-19 08:33:12 -05:00
Chris Stewart
613e19c281
Pull over docs/ from #5713 (#5722) 2024-10-18 13:11:12 -05:00
Scala Steward
9e61e9bab7
Update flyway-core, ... to 10.20.0 (#5717)
* Update flyway-core, ... to 10.20.0

* Add guava as a transitive dep for flyway 10.20.0

---------

Co-authored-by: Chris Stewart <stewart.chris1234@gmail.com>
2024-10-18 06:05:47 -05:00
Chris Stewart
7c07aa0355
Pull over simple syntax changes for {cli,oracleServer,bench,dlcNode,dlcOracle,dlcOracleTest,eclairRpc,lndRpc,lndRpcTest} from #5713 (#5721) 2024-10-17 15:41:43 -05:00
Chris Stewart
602725174f
Pull over simple syntax changes for scala3 pt2 (#5720)
* Pull over simple syntax changes for {nodeTest,keyManager,keyManagerTest,chainTest,bitcoind,bitcoindRpcTest,appServer,appServerTest,tor,zmq} from #5713

* Fix tor/compile
2024-10-17 14:14:32 -05:00
Chris Stewart
ab6d3f5cb7
Pull over simple syntax changes for scala3 libraries (#5719)
* Pull over simple syntax changes for {cryptTest,coreTest,testkitCore,appCommons} from #5713

* Fix case analysis in Picklers.scala
2024-10-17 13:00:33 -05:00
Chris Stewart
90203b295b
Use default play-json json serialization macros for bitcoind json classes that cause issues with scala3 (#5718) 2024-10-16 16:38:00 -05:00
omahs
982090ed21
Fix typos (#5714)
* fix typo

* fix typo

* fix typo

* fix typo
2024-10-16 14:05:12 -05:00
Scala Steward
b22e3d4aee
Update client3:core, ... to 3.10.1 (#5716) 2024-10-16 13:40:26 -05:00
Scala Steward
a0d6ecf50d
Update logback-classic to 1.5.11 (#5715) 2024-10-16 11:08:03 -05:00
Chris Stewart
271da3ccea
Upgrade upickle to 4.0.2 (#5710)
* Upgrade upickle to 3.3.1

* Upgrade upickle to 4.0.2
2024-10-15 14:22:09 -05:00
Chris Stewart
84aba7e349
Remove test case specific fixture setup in chainTest, revert to just using test suite specific fixtures (#5712) 2024-10-15 14:07:30 -05:00
Chris Stewart
00b1c85e65
Remove TableAutoInc[T] type parameter, its unnecessary and causes issues (#5711) 2024-10-15 07:31:26 -05:00
Scala Steward
3ef88ecdc2
Update sbt-ci-release to 1.8.0 (#5709) 2024-10-14 12:12:42 -05:00
Chris Stewart
1e7e48d546
update flyway dependency to 10.19.0 (#5708)
* update flyway dependency to 10.19.0

* Add flyway-database-postgresql dependency

* Add org.flywaydb.core.internal.configuration -> org.apache.commons.text.similarity to jlinkIgnore
2024-10-14 11:46:55 -05:00
Chris Stewart
f85953e527
2024 10 13 rm bitcoind v25 support (#5707)
* Remove support for bitcoind v25

* Remove bitcoind-rpc.sbt support for v25
2024-10-13 11:07:46 -05:00
Chris Stewart
38f0f4d692
2024 10 07 v28 bitcoind (#5696)
* Update to bitcoind v28

* Add macOS arm64 hash

* Add 28.0 version for windows

* Fix windows hash

* Replace 'port' with 'bind' in bitcoin.conf

* Fix BitcoindConfig.bind, add -deprecatedrpc=warnings

* Add version specific warnings handling for V28

* Add pattern matching based on version to support new json format for warnings fields in Info RPCs

* Fix pattern match on V28

* Remove infinite loop w/ 'getnetworkinfo' when determing the version of a BitcoindRpcClient

* Pin lndRpcTest to bitcoind v27 until v28 is supported

* Add mempoolconflicts to 'gettransaction' RPC

* init 'gethdkeys' rpc

* WIP: createwalletdescriptor

* Get createwalletdescriptor test passing

* Revert files
2024-10-13 09:05:14 -05:00
Scala Steward
7dc58666b9
Update logback-classic to 1.5.10 (#5706) 2024-10-12 09:49:53 -05:00
Chris Stewart
4471f74ccf
Add error field toImportDescriptorResult, move BitcoindException to app-commons (#5705)
* Add error field to ImportDescriptorResult, move BitcoindException to app-commons

* Fix docs
2024-10-12 09:49:42 -05:00
Chris Stewart
2d87129978
Reduce BitcoindRpcTestUtil.awaitConnection() interval from 10.second -> 1.second (#5703) 2024-10-10 14:40:26 -05:00
Chris Stewart
46d6256e39
Switch distrubution to temurin, use full semver (21.0.4) (#5704) 2024-10-10 13:59:07 -05:00
Scala Steward
919789add2
Update sbt-assembly to 2.3.0 (#5697) 2024-10-10 10:19:12 -05:00
Scala Steward
c7dce64718
Update sbt-ci-release to 1.7.0 (#5698) 2024-10-10 10:19:02 -05:00
Scala Steward
5c73183046
Update logback-classic to 1.5.9 (#5700) 2024-10-10 10:18:53 -05:00
Chris Stewart
0843d7ecb5
Remove -port and -rpcport settings for bitcoind on startup for tests (#5702)
* Remove -port and -rpcport settings for bitcoind on startup for tests

* Revert logback-test.xml
2024-10-10 10:18:42 -05:00