Commit graph

4803 commits

Author SHA1 Message Date
Chris Stewart
16e2ea2e92
core: Check if P2SHScriptSignature is push only when type checking (#5920) 2025-02-08 12:31:32 -06:00
Chris Stewart
c96df6a5eb
core: Optimize WitnessCommitment.isValidAsm() (#5918)
* core: Optimize WitnessCommitment.isValidAsm()

* scalafmt
2025-02-08 12:18:07 -06:00
Chris Stewart
db06873634
crypto: Cache ECPublicKeyApi.isFullyValid (#5916) 2025-02-08 11:52:39 -06:00
Chris Stewart
6511addcf3
lnUrl: Remove LnUrl module (#5917) 2025-02-08 10:36:45 -06:00
Scala Steward
64a3abaa1e
Update scalamock to 6.2.0 (#5911) 2025-02-07 15:33:08 -06:00
Scala Steward
62a6a750ce
Update sqlite-jdbc to 3.49.0.0 (#5912) 2025-02-07 15:32:55 -06:00
Chris Stewart
74d8b59c9b
crypto: Avoid recomputing ECPublicKey by caching it (#5915) 2025-02-07 15:03:17 -06:00
Chris Stewart
618338b636
core: Use ByteVector.concat() to create transaction serialization (#5910)
Fix bug

scalafmt
2025-02-06 14:44:57 -06:00
Chris Stewart
752a7580b9
core: Make BytesUtil.writeCmpctSizeUInt() faster by avoiding BigInt allocations in CompactSizeUInt (#5909)
* core: Make BytesUtil.writeCmpctSizeUInt() faster by avoiding BitInt allocations in CompactSizeUInt

* Add invariant that CompactSizeUInt from long cannot be negative
2025-02-06 14:44:48 -06:00
Chris Stewart
4547052111
core: Optimize writing of block headers to avoid unncessay array copies (#5908) 2025-02-06 14:44:38 -06:00
Scala Steward
58d9021963
Update flyway-core, ... to 11.3.1 (#5907) 2025-02-06 09:58:58 -06:00
Scala Steward
acddc9caab
Update sbt-mdoc to 2.6.3 (#5904) 2025-02-06 09:58:42 -06:00
Scala Steward
c175128593
Update scala-collection-compat to 2.13.0 (#5903) 2025-02-06 09:57:05 -06:00
Scala Steward
f40b7eea1d
Update client3:core, ... to 3.10.3 (#5906) 2025-02-06 09:56:33 -06:00
Scala Steward
7f5684d344
Update gson to 2.12.1 (#5901) 2025-02-06 09:56:11 -06:00
Scala Steward
17c48facbd
Update sbt-native-packager to 1.11.1 (#5905) 2025-02-06 09:56:00 -06:00
Chris Stewart
6f9efafa91
core: Add ScriptNumber check in P2SHScriptSignature.isRedeemScript() (#5900) 2025-02-03 10:30:54 -06:00
Chris Stewart
73cf14d03e
core: Optimize ScriptParser.parseOperationByte() (#5899) 2025-02-01 13:21:18 -06:00
Chris Stewart
bf3fc65db3
scripts: Update logback.xml (#5898) 2025-02-01 10:57:54 -06:00
Chris Stewart
cda49a1fe4
Upgrade eclair to 0.11.0 (#5894)
* Upgrade eclair to 0.11.0

* Fix getinfo RPC call

* Remove Future parameters from EclairRpctestUtil.openAndConfirmChannel()

* Fix docs

* fix lnd hash
2025-01-29 07:06:04 -06:00
Chris Stewart
8331c6d10e
lndRpc: Upgrade lnd to 0.18.4 (#5895)
* lndRpc: Upgrade lnd to 0.18.4

* fix hashes

* Fix hash
2025-01-28 14:04:22 -06:00
Chris Stewart
7eef13efa0
Update bitcoind to 28.1/27.2 (#5893)
* Update bitcoind to 28.1/27.2

* Fix hashes
2025-01-28 10:40:31 -06:00
Maxim Evtush
af36b068f8
Update LICENSE (#5892) 2025-01-28 08:52:00 -06:00
Scala Steward
6c54c01e2e
Update sbt-coveralls to 1.3.15 (#5891) 2025-01-28 08:17:18 -06:00
Chris Stewart
c30856fe33
2025 01 09 release notes 1.9.10 (#5889)
* Begin 1.9.10 release notes

* Sort deps

* Sort commits upto 6af79f9ed5

* Sort commits upto  ce868801ce

* Add release notes section blurbs

* add section about RPC rename from listreservedutxos -> getreservedutxos
2025-01-25 09:40:28 -06:00
Chris Stewart
d6799df122
Update versions to 1.9.10 (#5888)
* Update versions to 1.9.10

* fix version
2025-01-25 09:13:11 -06:00
Scala Steward
ce868801ce
Update sbt-scalajs, scalajs-compiler, ... to 1.18.2 (#5886) 2025-01-24 11:33:39 -06:00
Chris Stewart
52040da386
node: Fix bug where we we could have more connections than allowed by bitcoin-s.node.maxConnectedPeers (#5885)
* node: Fix bug where we we could have more connections than allowed by bitcoin-s.node.maxConnectedPeers

* node: Add log to indiciate if we are initializing disconnect
2025-01-24 11:15:45 -06:00
Chris Stewart
6a51b7c103
node: Limit initial stack push in PeerFinder.start() to maxSearchCount^2 (#5882)
* node: Limit initial stack push in PeerFinder.start() to maxSearchCount^2

* Shuffle peers to get a randomized list of peers to connect to

* Add Random.shuffle()

* Call .take() before adding socks5ProxyParams

* Add pattern match network for hardcoded-peers.txt which are mainnet peers

* Revert logback-test.xml
2025-01-24 08:59:08 -06:00
Chris Stewart
baa4ddf166
2025 01 23 issue 5878 (#5883)
* node: Remove offer to queue calling connectPeer() inside PeerManager stream

* node: When disconnecting peers don't offer to queue to avoid deadlock

* node: When shutting down node don't offer to queue to avoid deadlock

* cleanup
2025-01-23 17:39:50 -06:00
Chris Stewart
57860d74d0
wallet: Batch requests for blocks during rescan (#5866)
* wallet: Batch requests for blocks during rescan

* Revert node/

* Revert node/

* Try reintroducing backpressure into Node.downloadBlocks()

* Revert wallet/
2025-01-22 17:05:30 -06:00
Chris Stewart
40fef6e508
node: Add invariant we have peerServices when we cann PeerManager.handleConnect() (#5880) 2025-01-22 16:59:29 -06:00
Scala Steward
84dcc8f916
Update sbt-bloop to 2.0.8 (#5881) 2025-01-22 14:40:19 -06:00
Chris Stewart
fa4c2868ee
node: Update hardcoded-peers.txt with whats in bitcoin/contrib/seeds/nodes_main.txt (#5877)
* node: Update hardcoded-peers.txt with whats in bitcoin/contrib/seeds/nodes_main.txt

* Fix parsing of network address comments in hardcoded-peers.txt
2025-01-21 14:51:27 -06:00
Chris Stewart
2315f50075
appServer: Disable tor by default (#5876) 2025-01-20 17:08:27 -06:00
Chris Stewart
9adbd88f69
node: Only query p2p seeds if we have no peers in our database (#5875) 2025-01-20 16:00:08 -06:00
Chris Stewart
3bf7e6a39e
node: Use approprate ServiceIdentifer throughout node/ module (#5874) 2025-01-20 15:43:30 -06:00
Scala Steward
4b01abe064
Update flyway-core, ... to 11.2.0 (#5870) 2025-01-20 15:22:23 -06:00
Scala Steward
093598ab7f
Update sbt-assembly to 2.3.1 (#5873) 2025-01-20 13:22:51 -06:00
Chris Stewart
7ee8895853
testkit: Make sure channel is in NORMAL state for both peers in openAndConfirmChannel() (#5868)
* testkit: Make sure channel is in NORMAL state for both peers in openAndConfirmChannel()

* Empty commit to re-run CI

* Empty commit to re-run CI
2025-01-17 15:03:32 -06:00
Chris Stewart
85cc536cd5
node: Rename PeerData.stop() -> PeerData.disconnect() (#5867) 2025-01-17 12:45:29 -06:00
Scala Steward
a911d53eae
Update sbt-mdoc to 2.6.2 (#5809) 2025-01-17 09:17:07 -06:00
Scala Steward
9aca249eb6
Update pekko-grpc-runtime, ... to 1.1.1 (#5766)
* Update pekko-grpc-runtime, ... to 1.1.1

* deps: Bump pekkoV to 1.1.3

---------

Co-authored-by: Chris Stewart <stewart.chris1234@gmail.com>
2025-01-17 08:29:13 -06:00
Chris Stewart
e55e832932
2025 01 16 Upgrade download/upload artifact to v4 (#5864)
* ci: Upgrade to upload-artifact@v4

* ci: Upgrade to download-artifact@v4

* ci: Remove feature branch from release.yml
2025-01-17 08:26:58 -06:00
Scala Steward
09d7f7a7aa
Update scala-library to 2.13.16 (#5862)
* Update scala-library to 2.13.16

* deps: Bump scoverage to 2.3.0

---------

Co-authored-by: Chris Stewart <stewart.chris1234@gmail.com>
2025-01-16 15:35:51 -06:00
Scala Steward
2ef1eec88b
Update sqlite-jdbc to 3.48.0.0 (#5863) 2025-01-16 15:13:51 -06:00
Scala Steward
0a376afc99
Update bcprov-jdk18on to 1.80 (#5860)
Co-authored-by: Chris Stewart <stewart.chris1234@gmail.com>
2025-01-16 15:13:12 -06:00
Scala Steward
b9510776bc
Update postgresql to 42.7.5 (#5861) 2025-01-16 12:47:09 -06:00
Chris Stewart
425fb234e2
wallet: Try to avoid spurious failures on WalletSendingTest double spending test (#5846)
* wallet: Try to avoid spurious failures on WalletSendingTest double spend utxos unit test

* Rework test case to avoid failures

* Empty commit to re-run CI
2025-01-16 12:46:23 -06:00
Scala Steward
d5083feda6
Update metrics-core, metrics-healthchecks, ... to 4.2.30 (#5859) 2025-01-16 12:27:31 -06:00