1
When a node receives an invalid transaction or block, as far as I know, it bans the sender for 24 hours. However, I didn't exactly get which sender is banned. Is it the neighbor node that provides the data to this node, or is it the creator of the data (transaction or block)?
A node is banned for 24 hours or forever? I checked Misbehaving() function which makes
– Önder Gürcan – 2017-05-30T15:25:00.177state->fShouldBan = true;. But I could not find any other function that makesstate->fShouldBan = false;. If it is forever, I guess the node also removes the misbehaving peer from its neighbor list, right?