Commit graph

4725 commits

Author SHA1 Message Date
Scala Steward
916507ad00
Update sbt-ci-release to 1.9.2 (#5817) 2024-12-21 16:58:49 -06:00
Chris Stewart
97f807444a
server: Deduplicate wrapping callbacks in steams (#5815) 2024-12-19 07:30:03 -06:00
Scala Steward
3d16dfbc97
Update guava to 33.4.0-jre (#5814) 2024-12-17 10:48:20 -06:00
Scala Steward
881a15f518
Update sbt-bloop to 2.0.6 (#5813) 2024-12-17 10:16:31 -06:00
Chris Stewart
54ef1bd0a5
chain: Add invariant that we have at least 1 header in Blockchain (#5810)
* chain: Add invariant that we have at least 1 header in Blockchain

* Add invariant to check heights in BlockHeaderDAO.getBlockchainFrom()
2024-12-13 13:07:35 -06:00
Scala Steward
b709a58715
Update flyway-core, ... to 11.1.0 (#5808) 2024-12-13 12:09:25 -06:00
Chris Stewart
812f735110
node: Update DNS seeds, optimize PeerFinder.start() to start querying… (#5807)
* node: Update DNS seeds, optimize PeerFinder.start() to start querying dns seeds as early as possible

* Add new seeds, disable bad seeds

* scalafmt
2024-12-13 11:41:54 -06:00
Chris Stewart
d29dad4472
2024 12 11 issue 5625 (#5803)
* wallet: Get UTXOHandlingApi.listUtxos() to be account specific

* wallet: Add UTXOHandlingApi.{getBalance(), getUnconfirmedBalance(), getConfirmedBalance(), getBalance(account), getUnconfirmedBalance(account), getConfirmedBalance(account)}

* wallet: Remove listDefaultAccountUtxos(), use listUtxos() instead
2024-12-11 14:26:22 -06:00
Chris Stewart
eb6edab240
Add NodeState.NoPeers, cache network messages (#5800)
* Add NodeState.NoPeers, cache network messages that need to be sent when we establish a connection with a peer

* Cleanup

* Bump maxTries to avoid spurious timeout

* Empty commit to re-run CI
2024-12-09 13:30:13 -06:00
Scala Steward
4df0a7bc4e
Update flyway-core, ... to 11.0.1 (#5799) 2024-12-08 11:15:22 -06:00
Scala Steward
06db0aa4b2
Update sbt, scripted-plugin to 1.10.6 (#5798) 2024-12-08 10:34:53 -06:00
Chris Stewart
e2a0617d67
wallet: Don't cache TransactionProcessing now that it doesn't have internal state (#5797) 2024-11-30 09:05:02 -06:00
Chris Stewart
f280f35431
Replace Future[Wallet] -> Wallet parameter in {BitcoinSWalletTest, BitcoindRpcBackendUtil} (#5796) 2024-11-30 09:04:14 -06:00
Chris Stewart
04757f9039
wallet: Remove TransactionProcessing.blockProcessingSignals (#5795)
* wallet: Remove TransactionProcessing.blockProcessingSignals in favor of using ActorSystem event bus

* Kill actor after the promise is completed

* Add WalletAppConfig.materializer
2024-11-30 07:16:49 -06:00
Chris Stewart
e5ff1a5018
wallet: Fix noisy log, only log when we have an output to search for (#5794) 2024-11-28 11:48:12 -06:00
Chris Stewart
98e89a6e93
2024 11 27 processtransaction flaky test (#5793)
* Fix TxUtil.isValidFeeRange()

* Make fee checks exclusive
2024-11-28 10:58:31 -06:00
Chris Stewart
6f13f263ee
wallet: Remove duplicate implementations of SendFundsHandlingHandling.sendFromOutpoints() (#5792)
* wallet: Remove duplicate implementations of SendFundsHandlingHandling.sendFromOutpoints()

* Improve error message

* Revert WalletSendingTest

* Add invariant to check that we aren't sending from 0 outpoints
2024-11-28 09:52:14 -06:00
Scala Steward
960b172d26
Update metrics-core, metrics-healthchecks, ... to 4.2.29 (#5790) 2024-11-27 14:34:07 -06:00
Scala Steward
7867d258e6
Update sqlite-jdbc to 3.47.1.0 (#5791) 2024-11-27 14:01:12 -06:00
Chris Stewart
dbdad48413
wallet: Remove unused wallet configurations (#5789) 2024-11-26 15:20:13 -06:00
Scala Steward
e852b11dbc
Update flyway-core, ... to 11.0.0 (#5782) 2024-11-26 11:39:26 -06:00
Chris Stewart
d1618a2277
Add unit test for RescanState to test recursive rescans correctly (#5786) 2024-11-26 11:13:06 -06:00
Chris Stewart
d5a77a2297
wallet: Batch database actions in processBlockCachedUtxos() (#5788) 2024-11-26 10:35:08 -06:00
Chris Stewart
ba8dd75312
refactor: DRY for DLCWalletLoaderApi.loadWallet() (#5787)
* refactor: DRY for DLCWalletLoaderApi.loadWallet()

* Make loadWallet() private

* fix
2024-11-25 12:45:29 -06:00
Chris Stewart
c6917b296b
config: Rename config option bitcoin-s.wallet.defaultAccountType -> bitcoin-s.wallet.purpose (#5783) 2024-11-24 08:16:18 -06:00
Chris Stewart
dbe1e7b686
tests: Make NeutrinoNodeWalletTest more robust against spurious failures (#5784)
* tests: Make NeutrinoNodeWalletTest more robust against spurious failures

* Revert things
2024-11-23 16:40:40 -06:00
Chris Stewart
f6f01f333a
wallet: Cleanup RescanHandlingTest (#5781) 2024-11-22 11:07:22 -06:00
Chris Stewart
345ab017e5
testkit: Randomize defaultAccountType (purpose) in tests (#5775)
* testkit: Randomize defaultAccountType (purpose) in tests

* Remove redundant defaultAccountType settings

* scalafmt

* Fix ProcessBlockTest for nested-segwit purposes

* Fix dlcWalletTest
2024-11-22 11:07:13 -06:00
Scala Steward
795def555c
Update flyway-core, ... to 10.22.0 (#5779) 2024-11-22 09:24:58 -06:00
Scala Steward
e680c9d643
Update pekko-http, pekko-http-testkit to 1.1.0 (#5778) 2024-11-22 09:02:09 -06:00
Chris Stewart
fb318efe5e
core: Fix bug where we weren't checking for valid hash types in TaprootKeyPath.isValid() (#5780)
* core: Fix bug where we weren't checking for valid hash types in TaprootKeyPath.isValid()

* Fix TaprootWitness generator to use valid taproot hash types
2024-11-21 11:42:18 -06:00
Chris Stewart
b6cc97a663
2024 11 20 prevoutmap ordering (#5776)
* Add test case and add invariant to RawTxSigner.sign()

* Add InputInfo.sortPreviousOutputMap()

* Fix bug where we were sorting prevoutputmap when it didn't need to be sorted
2024-11-21 08:59:15 -06:00
Chris Stewart
d8ad023254
wallet: Implement taproot keypath handling in the wallet (#5772) 2024-11-20 11:16:27 -06:00
Chris Stewart
67bb3ceabd
2024 10 31 taproot signing (#5767)
* core: Implement TaprootKeyPath signing

* core: Rebase, remove isDummySignature

* Empty commit to run CI
2024-11-18 09:43:29 -06:00
Chris Stewart
80be2f5989
2024 11 15 partialsig typeparam (#5770)
* Add DigitalSignature type param to PartialSignature

* Remove isDummySignature
2024-11-18 09:15:33 -06:00
Chris Stewart
bb0e40f05b
2024 11 16 rm isdummysig (#5771)
* WIP: Remove isDummySignature

* Add ECDigitalSignature.LOW_R_SIZE, use it in ECDigitalSignature.dummyLowR

* Regenerated dlc_test.json and dlc_tx_test.json to add hash type to dummy ecdsa signatures in static test vectors

* Regenerated dlc_test.json and dlc_tx_test.json to add hash type to dummy ecdsa signatures in static test vectors

* Fix InputInfoTest maxWitnessLengths checks to be >=

* Fix docs
2024-11-17 07:45:24 -06:00
Chris Stewart
fc4802d4b0
core: Implement BIP86 (#5768)
* core: Implement BIP86

* Fix HDUtil.getXprivVersion()

* Fix WalletUnitTest
2024-11-14 11:16:25 -06:00
Chris Stewart
cccaa582bd
Add Sign.{schnorrSign(),schnorrSignWithNonce()} to Sign interface (#5754)
* Add Sign.{schnorrSign(),schnorrSignWithNonce} to Sign interface

* Add schnorrSignWithHashType()
2024-11-13 10:42:45 -06:00
Chris Stewart
c5d57de618
core: Fix divergence in behavior between TransactionSignatureSerializer.hashForSignature() methods (#5765) 2024-11-13 10:03:40 -06:00
Chris Stewart
17f965fd45
2024 11 09 schnorrsig hashtype (#5764)
* Add SchnorrDigitalSignature.hashTypeOpt, add DigitalSignature.{hashTypeOpt,appendHashType}

* Remove TaprootKeyPath.hashTypeOpt param
2024-11-09 12:52:45 -06:00
Scala Steward
35fdb07e2d
Update sbt-buildinfo to 0.13.1 (#5763) 2024-11-09 09:36:40 -06:00
Scala Steward
340edc85b0
Update sbt-bloop to 2.0.5 (#5762) 2024-11-09 09:16:19 -06:00
Chris Stewart
d255914765
refactor: Use ECDigitalSignature.appendHashType() throughout codebase (#5761) 2024-11-09 09:15:37 -06:00
Scala Steward
39e23c2a09
Update flyway-core, ... to 10.21.0 (#5759) 2024-11-07 09:07:54 -06:00
Chris Stewart
4e8d5ecc7f
Add Sign.{signWithHashType(),signLowRWithHashType} (#5757)
* Add Sign.{signWithHashType(),signLowRWithHashType}, integrate it throughout the codebase

* Remove deprecated SignerUtils.doSign()
2024-11-07 09:07:41 -06:00
Scala Steward
21dd6fee80
Update sbt-bloop to 2.0.4 (#5758) 2024-11-07 08:49:00 -06:00
Scala Steward
3569f51870
Update sbt, scripted-plugin to 1.10.5 (#5756) 2024-11-05 14:16:25 -06:00
Scala Steward
aafac07491
Update sbt-buildinfo to 0.13.0 (#5755) 2024-11-05 11:39:07 -06:00
Chris Stewart
e69e1e5ad1
2024 10 31 digitalsignature (#5752)
* Add DigitalSignature, extend it with ECDigitaSignature,SchnorrDigitalSignature

* WIP: Remove EmptyDigitalSignature case object in favor of val

* Fix byte representation of ECDigitalSignature.emptyDigitalSignature

* Simplify names to ECDigitalSignature.{empty, dummy, dummyLowR}

* Fix docs
2024-11-01 11:46:26 -05:00
Oleg
e45860af90
Docs: README (#5751)
Hello. Made some changes in the test documentation
2024-10-31 11:11:43 -05:00