5

What increases a node's banscore? What factors contribute to the banscore? Does a node sending bad transactions increase its banscore? Does its using unnecessarily too much bandwidth also increase its banscore?

1 Answer 1

12

There are many facts that can increase a node's banscore. A node's banscore is updated in the Misbehaving function from main.cpp. Some of the reasons that trigger such update are:

Regarding transactions, it seems that they also may increase the banscore:

// Punish peer that gave us an invalid orphan tx

5
  • That's good that they're punished for sending invalid transactions, that way there can't be any lazy nodes out there.
    – Geremia
    Commented Jun 27, 2016 at 21:49
  • does broadcasting double spend transaction also increases the banscore ? thanks
    – user10603
    Commented Sep 4, 2017 at 7:58
  • No, it doesn't (see bitcoin.stackexchange.com/a/28159/3041)
    – cpsola
    Commented Sep 5, 2017 at 10:57
  • 1
    Could continuously re-broadcasting a transaction that is already in all nodes' mempools increase banscore?
    – deezy
    Commented Mar 3, 2021 at 15:38
  • @deezy iiuc all nodes are continually re-broadcasting the transactions in their mempools, in order to make sure that their mempools line up with the rest of the network
    – tjr226
    Commented May 3, 2021 at 16:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.