You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have two btcd instances running on separate machines in a LAN. I point them at each other using addpeer, and in one of them the following logs appear:
2022-09-18 06:34:33.891 [WRN] PEER: Misbehaving peer 10.42.0.1:8333 (outbound): 0 transactions not found -- ban score increased to 190
2022-09-18 06:34:33.923 [WRN] PEER: Misbehaving peer 10.42.0.1:8333 (outbound) -- banning and disconnecting
2022-09-18 06:34:33.923 [INF] SRVR: Banned peer 10.42.0.1 (outbound) for 24h0m0s
2022-09-18 08:41:04.777 [WRN] PEER: Misbehaving peer 10.42.0.1:37126 (inbound): 0 transactions not found -- ban score increased to 90
2022-09-18 10:17:19.555 [WRN] PEER: Misbehaving peer 10.42.0.1:48844 (inbound): 0 transactions not found -- ban score increased to 84
2022-09-18 10:17:29.546 [WRN] PEER: Misbehaving peer 10.42.0.1:48844 (inbound): getdata -- ban score is 75, it was not increased this time
2022-09-18 10:17:39.547 [WRN] PEER: Misbehaving peer 10.42.0.1:48844 (inbound): getdata -- ban score is 67, it was not increased this time
2022-09-18 10:17:59.546 [WRN] PEER: Misbehaving peer 10.42.0.1:48844 (inbound): getdata -- ban score is 53, it was not increased this time
2022-09-18 15:27:36.927 [WRN] PEER: Misbehaving peer 10.42.0.1:48844 (inbound): 0 transactions not found -- ban score increased to 70
2022-09-18 15:27:37.188 [WRN] PEER: Misbehaving peer 10.42.0.1:48844 (inbound): 0 transaction not found -- ban score increased to 79
2022-09-18 15:27:39.551 [WRN] PEER: Misbehaving peer 10.42.0.1:48844 (inbound): getdata -- ban score is 77, it was not increased this time
2022-09-18 16:18:59.560 [WRN] PEER: Misbehaving peer 10.42.0.1:48844 (inbound): 0 transactions not found -- ban score increased to 70
2022-09-18 16:19:19.639 [WRN] PEER: Misbehaving peer 10.42.0.1:48844 (inbound): getdata -- ban score is 55, it was not increased this time
2022-09-18 17:03:43.963 [WRN] PEER: Misbehaving peer 10.42.0.1:48844 (inbound): 0 transactions not found -- ban score increased to 60
2022-09-18 17:17:55.915 [WRN] PEER: Misbehaving peer 10.42.0.1:48844 (inbound): 0 transactions not found -- ban score increased to 60
2022-09-18 17:17:56.971 [WRN] PEER: Misbehaving peer 10.42.0.1:48844 (inbound): 0 transactions not found -- ban score increased to 99
2022-09-18 17:17:57.274 [WRN] PEER: Misbehaving peer 10.42.0.1:48844 (inbound): 0 transactions not found -- ban score increased to 118
2022-09-18 17:17:57.274 [WRN] PEER: Misbehaving peer 10.42.0.1:48844 (inbound) -- banning and disconnecting
2022-09-18 20:12:24.873 [WRN] PEER: Misbehaving peer 10.42.0.1:40056 (inbound): 0 transaction not found -- ban score increased to 59
Should be a simple fix. I'm working on a fork for separate reasons but I don't think I need to make a PR for this.
I think there is a deeper bug here, as in, why are two btcd instances "misbehaving" towards each other, or being seen as misbehaving (the latter, I think), this is just clearly an incorrect error text using the wrong variable to give a value.
The text was updated successfully, but these errors were encountered:
I have two btcd instances running on separate machines in a LAN. I point them at each other using addpeer, and in one of them the following logs appear:
The reason for this seems pretty obvious.
./server.go
That is a mistake, should be
numTxns
Should be a simple fix. I'm working on a fork for separate reasons but I don't think I need to make a PR for this.
I think there is a deeper bug here, as in, why are two
btcd
instances "misbehaving" towards each other, or being seen as misbehaving (the latter, I think), this is just clearly an incorrect error text using the wrong variable to give a value.The text was updated successfully, but these errors were encountered: