Commit Graph

4055 Commits

Author SHA1 Message Date
Chris Stewart
de0e892b3e
2023 02 27 Fix bug where duplicate filters caused node not to sync (#5008)
* WIP

* Modify DataMessageHandler to use Set for filter batch, fix test case

* revert log level

* Remove duplicate filters test

* Re-add test to make sure we don't throw an exception when processing a filter we've seen before

* Empty commit to re-run CI

* Empty commit to re-run CI

* Empty commit to re-run CI

* Fix NeutrinoNodeTest

* Empty commit to re-run CI

* Empty commit to re-run CI
2023-03-02 06:46:08 -06:00
Scala Steward
b444a192b0
Update sbt-native-packager to 1.9.16 (#4998) 2023-02-28 12:40:05 -06:00
Scala Steward
cea5dee58b
Update scodec-bits to 1.1.37 (#5006) 2023-02-28 12:39:18 -06:00
Scala Steward
ccb3b27fb3
Update sqlite-jdbc to 3.41.0.0 (#5001) 2023-02-26 08:49:06 -06:00
Scala Steward
4b5659d740
Update scodec-bits to 1.1.36 (#5004) 2023-02-26 08:46:31 -06:00
Chris Stewart
7f08458a55
Check compact filter headers if we have already stored them in the database (#5003)
* Check compact filter headers if we have already stored them in the database

* revert node-test
2023-02-25 12:55:51 -06:00
benthecarman
c92f2ed009
Add db mapper for ECDigitalSignature (#5002) 2023-02-25 10:41:28 -06:00
Chris Stewart
0577b8c1fe
Improve Inventory toString messages (#4997)
* Improve Inventory toString messages

* Add individual counts rather than showing each service identifier

* Add peer= prefix to peer
2023-02-23 14:12:53 -06:00
benthecarman
915af37ac9
Add ability to add arbitrary query string params for lnurl pays (#4995) 2023-02-22 16:22:23 -06:00
Scala Steward
c192ede1d8
Update postgresql to 42.5.4 (#4993) 2023-02-20 09:39:11 -06:00
Chris Stewart
3db663a387
Remove v20 bitcoind support (#4992)
* Remove v20 bitcoind support

* Remove v20 bitcoind from downloadBitcoind task

* Remove duplicate test
2023-02-19 13:28:46 -06:00
Chris Stewart
af349d2179
Remove support for v19 of bitcoind (#4991)
* Remove support for v19 of bitcoind

* Remove downloading v19 bitcoind inside of bitcoind-rpc.sbt

* Clean up docs

* Move unit tests in BitcoindV19RpcClientTest into other test files so we don't remove them, these rpcs are supported in future versions of bitcoind
2023-02-16 10:27:56 -06:00
Scala Steward
a9e17684fe
Update sbt-native-packager to 1.9.15 (#4989) 2023-02-14 15:58:40 -06:00
Scala Steward
46dc3ed14e
Update metrics-core, metrics-healthchecks, ... to 4.2.16 (#4990) 2023-02-14 15:52:54 -06:00
Scala Steward
80d0bd2560
Update sbt-scoverage to 2.0.7 (#4982) 2023-02-14 12:09:04 -06:00
benthecarman
57b4421f8a
Add nostr zaps params for lnurl (#4988) 2023-02-13 16:31:15 -06:00
Chris Stewart
ff8376ceb6
Call syncwithvalidationinterfacequeue inside of {generatetoaddress,generateblock} (#4987)
* Call syncwithvalidationinterfacequeue inside of generatetoaddress,generateblock to guarantee that bitcoind is internally consistent before we do other things against it

* Empty commit

* Empty commit to re-run CI
2023-02-13 15:04:42 -06:00
Scala Steward
46d3079e5b
Update scodec-bits to 1.1.35 (#4979)
* Update scodec-bits to 1.1.35

* Revert commit(s) 5073b33ce

* Update scodec-bits to 1.1.35
2023-02-13 10:11:33 -06:00
Chris Stewart
58fbcf41e3
Bump timeout in P2PClientActorTest (#4985) 2023-02-12 17:20:21 -06:00
Chris Stewart
9a80644509
Fix UTXORpcTest flakiness (#4986) 2023-02-12 15:54:30 -06:00
Scala Steward
6903db941d
Update org.osgi.service.jdbc to 1.1.0 (#4929) 2023-02-12 08:50:55 -06:00
Scala Steward
567f75df18
Update jna to 5.13.0 (#4951) 2023-02-12 08:50:36 -06:00
Scala Steward
90549a68ab
Update sbt-scalajs, scalajs-compiler, ... to 1.13.0 (#4963) 2023-02-11 23:02:57 -06:00
Scala Steward
473664f932
Update junixsocket-core to 2.6.2 (#4981) 2023-02-11 21:59:30 -06:00
Chris Stewart
56ae02918c
2022 12 05 issue 4904 (#4917)
* Switch newest version to v24

* Turn off logging

* Empty commit

* Remove comment

* Empty commit

* Empty commit
2023-02-11 17:21:13 -06:00
Chris Stewart
b329c3670e
Add rpc for syncwithvalidationinterfacequeue, use it in NodeUnitTest.syncNeutrinoNode (#4983) 2023-02-11 14:32:59 -06:00
Scala Steward
0ff1370bf9
Update postgresql to 42.5.3 (#4972) 2023-02-10 15:06:42 -06:00
Scala Steward
2445e4fa8b
Update sqlite-jdbc to 3.40.1.0 (#4969) 2023-02-10 15:06:07 -06:00
Scala Steward
0848cb6478
Update client3:core to 3.8.11 (#4977) 2023-02-10 14:58:08 -06:00
Scala Steward
79476a6231
Update scalapb-runtime to 0.11.13 (#4978) 2023-02-10 14:57:19 -06:00
Scala Steward
7d749f271b
Update sbt-native-packager to 1.9.14 (#4980) 2023-02-10 14:55:55 -06:00
Chris Stewart
c7febc1ef0
Segregate P2PClientTest and P2PClientActorTest (#4974)
* Segregate P2PClientTest and P2PClientActorTest to make it easier to test the actor

* Fix cleanup code

* Clean up tables for postgres test case

* Fix BitcoinSAppConfigBitcoinFixtureStarted.afterAll()

* Empty commit

* Add forceNamedWallet parameter to for postgres test cases where we need multiple wallets. This prevents them from writing to the same postgres schema by making unique wallet names

* Cleanup:

* Empty commit
2023-02-06 15:07:18 -06:00
Chris Stewart
7e346e58fe
Refactor NodeTestUtil.awaitBestHash() to take a reference to bitcoind (#4973)
* Refactor NodeTestUtil.awaitBestHash() to take a reference to bitcoind

* Empty commit
2023-02-05 08:59:09 -06:00
Chris Stewart
1391c9497e
Segregate handling of exceptions in fixtures (#4971)
* Segregate handling of exceptions being thrown in test cases vs fixture setup code

* Add log message
2023-02-04 11:56:23 -06:00
Chris Stewart
f6207b1c9f
Add check we have more than 1 peer before we try to syncFromNewPeer() (#4966)
* Add check we have more than 1 peer before we try to syncFromNewPeer()

* Empty commit

* Return failed Future rather than just logging an error
2023-02-03 15:46:24 -06:00
Chris Stewart
76fc3cdc41
Refactor to not throw an exception is node is already syncing (#4970)
* Refactor to not throw an exception is node is already syncing

* Refactor method name
2023-02-03 12:57:19 -06:00
Chris Stewart
3bc89c680f
Fix case where syncCompactFilters is called but filters but no sync peer is set (#4965) 2023-01-31 06:42:55 -06:00
Scala Steward
7043c95800
Update play-json to 2.9.4 (#4959) 2023-01-30 11:44:45 -06:00
Scala Steward
853bd2387e
Update sbt-mdoc to 2.3.7 (#4964) 2023-01-30 11:44:26 -06:00
Chris Stewart
c5983730bb
2023 01 10 refactor peermanager (#4950)
* Make PeerManager.finder private

* Make PeerManager.supervisor private

* Write unit test to see if default peer is added to PeerManager

* Use withNeutrinoNodeUnstarted fixture

* Get unit tests passing

* Add println to try and debug CI

* Add more println

* more println

* Adjust nodeTest / parallelExecution = false

* Try to make error logged to figure out why failure is happening on CI

* Adjust log level to ERROR

* Add catch to try and log failure messages

* Add log for sending messages to peers

* Try to increase threadpool size to see if we are deadlocking

* Add more logs

* Add another log to detect where failure is

* Try using Actor.tell() with explicit ActorRef.noSender

* Very detailed logging

* Remove duplicate method from rebase

* Revert things

* Revert build.sbt

* Empty commit

* Bump timeout

* Empty commit to run CI

* Revert more files
2023-01-27 10:43:50 -06:00
Chris Stewart
60907a7c17
2023 01 25 mv handling network received msg (#4961)
* Move handle network received message into awaitNetworkRequest() context

* Fix bug where I wasn't wrapping in NetworkMessageReceived

* revert logging

* remove more uncessary logs

* Empty commit
2023-01-25 13:38:39 -06:00
Chris Stewart
dd08dedb41
2023 01 24 small changes from pr 4950 (#4958)
* Pull things over from 4950 that shouldn't cause issues to reduce size of 4950

* Reduce timeout for processing a batch of messages from 1000 seconds -> 60 seconds

* scalafmt

* Empty commit
2023-01-25 08:31:57 -06:00
Chris Stewart
dfe92d2ba4
Remove expectTimeout Await.result() (#4957) 2023-01-23 12:30:36 -06:00
Chris Stewart
4e4c6d03f1
Remove Await.result() in initializationTimeoutCancellable (#4956) 2023-01-23 09:00:38 -06:00
Scala Steward
a544ce0287
Update sbt-native-packager to 1.9.13 (#4953) 2023-01-19 17:16:23 -06:00
Scala Steward
4b4f6c8b9f
Update sbt-native-packager to 1.9.12 (#4952) 2023-01-17 11:20:49 -06:00
benthecarman
8bd10d0f40
Correctly handle witness v1+ spks in fallback addresses (#4949) 2023-01-12 11:39:56 -06:00
Scala Steward
bfb7469209
Update client3:core to 3.8.8 (#4948) 2023-01-11 09:52:11 -06:00
Scala Steward
06a8e15e79
Update gson to 2.10.1 (#4945) 2023-01-09 14:35:29 -06:00
Scala Steward
642fad6fe4
Update client3:core to 3.8.7 (#4946) 2023-01-09 14:35:17 -06:00