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?


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

  • That's good that they're punished for sending invalid transactions, that way there can't be any lazy nodes out there.
    – Geremia
    Jun 27 '16 at 21:49
  • does broadcasting double spend transaction also increases the banscore ? thanks
    – user10603
    Sep 4 '17 at 7:58
  • No, it doesn't (see bitcoin.stackexchange.com/a/28159/3041)
    – cpsola
    Sep 5 '17 at 10:57
  • 1
    Could continuously re-broadcasting a transaction that is already in all nodes' mempools increase banscore?
    – deezy
    Mar 3 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
    May 3 at 16:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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