Commit Graph

4668 Commits

Author SHA1 Message Date
Scala Steward
4377b082e3
Update scalamock to 6.0.0 (#5514) 2024-04-08 10:11:37 -05:00
Chris Stewart
302110cb56
Bump max connected peers default to 2 (#5515) 2024-04-08 09:14:28 -05:00
Scala Steward
4bb1724080
Update sbt-bloop to 1.5.17 (#5510) 2024-04-08 08:46:32 -05:00
Scala Steward
790708daa6
Update junixsocket-core to 2.9.1 (#5511) 2024-04-08 08:46:20 -05:00
Scala Steward
9b93a5a1ef
Update bcprov-jdk18on to 1.78 (#5513) 2024-04-08 08:46:09 -05:00
Chris Stewart
790327639a
Tighten P2WSHWitnessSPKV0.apply() to only take RawScriptPubKey (#5509) 2024-04-06 16:57:21 -05:00
Chris Stewart
4ae9067083
Add invariant to P2WPKHWitnessSPKV0.apply() to make sure ECPublicKey is compressed now that we have #5502 (#5508) 2024-04-06 13:15:35 -05:00
Chris Stewart
c2cbaae88f
Add invariant to make sure we can't have p2sh(p2sh()) (#5507) 2024-04-06 12:57:18 -05:00
Scala Steward
c747f1482a
Update play-json to 3.0.2 (#5359) 2024-04-05 15:45:18 -05:00
Chris Stewart
41c835761c
Make ECPublicKey return bytes that were passed as a parameter (#5502)
* Make ECPublicKey return bytes that were passed as a parameter rather than always returning compressed byte representation

Cleanup, add invariant

Use proper generator for isCompressed flag in BouncyCastleSecp256k1Test

* Try doing docs last to see if something fails in cryptoTestJVM/coreTestJVM

* Fix BouncyCastleUtil.computePubKey() where we weren't passing isCompressed
2024-04-05 09:21:53 -05:00
Chris Stewart
dc16ddfc2d
Migrate from setup-scala github action to setup-java github action in release.yml (#5504)
* Try migrating from setup-scala github action to setup-java github action in release.yml

* Remove custom branch
2024-04-05 07:46:21 -05:00
Chris Stewart
723e2f6a31
Bump java-version from 17 -> 21 on CI (#5503) 2024-04-04 17:09:45 -05:00
Chris Stewart
99c1292ddc
Add xor operator as NumberType.{^,xor()} (#5500)
* Add xor operator as NumberType.{^,xor()}

* Cleanup

* Consolidate number test suites

* Fix missing asserts
2024-03-28 15:21:59 -05:00
Scala Steward
dae7b0517b
Update sbt-bloop to 1.5.16 (#5499) 2024-03-28 14:19:56 -05:00
Chris Stewart
2b67999ad8
Bump docker base image to eclipse-temurin:21 (#5497) 2024-03-27 11:29:05 -05:00
Chris Stewart
2cb358fa4c
Run yarn upgrade to update website deps (#5495)
* Run yarn upgrade to update website deps

* update menu section
2024-03-26 14:35:27 -05:00
Chris Stewart
d162242a39
2024 03 24 v21 rpc refactor (#5494)
* WIP: Consolidate V19FilterRpc into BlockchainRpc

* Implement ChainApi.getFilterHeader() with bitcoind

* Make {BitcoindV22RpcClient,BitcoindV23RpcClient,BitcoindV24RpcClient} extend BitcoindRpcClient directly

* Fix MiningRpcTest

* Remove cast in BitcoindBackendTest
2024-03-26 13:04:26 -05:00
Chris Stewart
00b969b058
init 1.9.8 release notes (#5281)
* init 1.9.8 release notes

* Sort logs upto f8143f3e02

* Sort logs upto 177542a13c

* Sort logs upto 0bd59789e3

* Add commentary

* Add last commit
2024-03-25 09:10:25 -05:00
Chris Stewart
6b21a900ce
Bump versions to 1.9.8, add 1.9.8 version of website (#5280)
* Bump versions to 1.9.8, add 1.9.8 version of website

* Update website version
2024-03-25 09:06:31 -05:00
Chris Stewart
4501e138a4
Stop BitcoinSAppConfig last in BitcoinSServerMain.stop() (#5493) 2024-03-24 14:59:32 -05:00
Chris Stewart
0bd59789e3
Remove neutrino.suredbits.com:8333 from docker-compose.yml (#5492) 2024-03-24 11:03:39 -05:00
Chris Stewart
b25cc8a8a5
Fix start rescan race condition, previously we would attempt to fetch blocks before our NodeApi had any peers (#5491) 2024-03-24 07:10:56 -05:00
Chris Stewart
9fef2c505c
Add bitcoin-s.node.connection-attempt-cool-down-period (#5489)
* Add bitcoin-s.node.connection-attempt-cool-down-period

Add bitcoin-s.node.connection-attempt-cool-down-period

* Re-add shuffling
2024-03-22 13:16:45 -05:00
Chris Stewart
7e2a4c97e6
Reduce requesting next cfheaders log level to DEBUG (#5490) 2024-03-22 11:42:01 -05:00
Scala Steward
c51c6a8f39
Update sbt-buildinfo to 0.12.0 (#5486) 2024-03-20 14:56:14 -05:00
Scala Steward
a2b354c694
Update client3:core, ... to 3.9.5 (#5487) 2024-03-20 11:13:56 -05:00
Scala Steward
1e0cd1bed3
Update sbt-scalajs, scalajs-compiler, ... to 1.16.0 (#5488) 2024-03-20 11:09:49 -05:00
Chris Stewart
58adf4c6fd
Fix build warnings for --compress flag in jlink (#5485) 2024-03-20 11:09:41 -05:00
Chris Stewart
47c7680d8c
Refactor Node.chainApiFromDb() to return ChainApi (#5484)
* Refactor Node.chainApiFromDb() to return ChainApi

* Adjust log level for ignoring p2p messages to DEBUG
2024-03-20 08:56:50 -05:00
Chris Stewart
3cfe700fad
Reduce stream failure log to DEBUG to avoid tor spam (#5483) 2024-03-19 11:30:34 -05:00
Chris Stewart
177542a13c
Remove grizzled.sl4fj was its no longer maintained (#5482) 2024-03-18 16:48:58 -05:00
Chris Stewart
a875f08d2e
Reduce log level of PeerConnection logs to DEBUG (#5481) 2024-03-18 16:03:49 -05:00
Chris Stewart
af342dd6c1
2024 03 18 rm unused configs (#5480)
* Remove bitcoin-s.node.connection-timout setting as it wasn't used

* Remove bitcoin-s.node.peer-discovery-timeout
2024-03-18 15:26:31 -05:00
Chris Stewart
d44344f07b
Check if peer is waitingForDisconnection when receiving InitializeDisconnect() message (#5479) 2024-03-18 14:20:35 -05:00
Scala Steward
d1ba4737d6
Update sbt-assembly to 2.2.0 (#5473) 2024-03-18 09:24:02 -05:00
Chris Stewart
f7dd69bec3
refactor: Use 'peerWithServicesDataMap' name consistently across NodeState and PeerManager (#5478) 2024-03-17 16:30:52 -05:00
Chris Stewart
db64a6d136
Reduce various log levels to DEBUG (#5477) 2024-03-17 07:59:53 -05:00
Scala Steward
270f3cf624
Update postgresql to 42.7.3 (#5475) 2024-03-17 05:44:55 -05:00
Chris Stewart
5c247e65a5
Reduce 'Attempting to connect' log to DEBUG (#5476) 2024-03-17 05:44:34 -05:00
Scala Steward
b7d7baaa20
Update sqlite-jdbc to 3.45.2.0 (#5474) 2024-03-16 07:12:19 -05:00
Chris Stewart
9a71a96fb8
2024 03 11 Remove filtersync job (#5471)
* Rework DataMessageHandler to consider syncing filterheaders if we receive a headers message with 0 block headers

* scalafmt

* Remove syncfilter job

* Cleanup

* Reduce received headers log to DEBUG

* Rework SyncNodeState.toString()

* Call PeerManager.startFilterSync() in DataMessageHandler

* Don't test MTP in unrelated test
2024-03-12 15:05:54 -05:00
Chris Stewart
23337b7137
2024 03 11 PeerFinder.getPeersFromDnsSeeds async (#5472)
* WIP: Make getPeersFromDns async

* Get things compiling

* Comment out slow seeds
2024-03-12 12:14:01 -05:00
Chris Stewart
708ce41f24
Re-implement bitcoin-s.node.query-wait-time (#5470)
* Add sentQuery Instant to SyncNodeState subclasses, add logic in DataMessageHandler.handlePayload() to detect if a query has timed out

* Refactor to use NodeTestUtil.disconnectNode()

* Cleanup comments
2024-03-11 09:54:44 -05:00
Chris Stewart
54a356b300
Don't unnecessarily create new NodeState objects, use helper methods to state transition (#5469) 2024-03-10 15:41:06 -05:00
Chris Stewart
fa6cb1ba3a
Send p2p messages to syncPeer when we are in and a specific peer is not set in SendToPeer (#5468) 2024-03-09 22:19:56 -06:00
Chris Stewart
9e50c5fd12
Fix bug where we weren't checking if isFiltersSynced is true before sending our next getcfilters to our peer (#5466) 2024-03-09 16:24:28 -06:00
Chris Stewart
16aeb56df5
Remove implicit NodeAppConfig from PeerMessageSender (#5465) 2024-03-09 15:00:58 -06:00
Chris Stewart
567c2400ca
Small refactors to use RunningNodeState methods, improve logs (#5463) 2024-03-09 09:25:34 -06:00
Scala Steward
dcb177b4a7
Update slick, slick-hikaricp to 3.5.0 (#5461)
* Update slick, slick-hikaricp to 3.5.0

* Fix compile

---------

Co-authored-by: Chris Stewart <stewart.chris1234@gmail.com>
2024-03-08 10:14:20 -06:00
Scala Steward
c2fb5d2657
Update client3:core, ... to 3.9.4 (#5460) 2024-03-08 10:14:11 -06:00