Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [banscore]

Bitcoin Core uses a scoring system to track when nodes are not following rules of the protocol.

1
vote
1answer
51 views

Without IP address, are there any other identities considered for banning nodes

Does a node only ban the IP address of a malicious node? or, there are other identities included. I mean, if a malicious user can generate multiple IP addresses to send fake tx, what will be the ...
2
votes
0answers
236 views

Under what circumstances does bitcoin-qt ban a peer? [duplicate]

Under What Circumstances Will Bitcoin-qt Ban A Peer? In my bitcoin-qt wallet, I am noticing that often there are a lot of banned peers. Sometimes I have as many as 10 peers banned within the wallet, ...
2
votes
2answers
261 views

What is the duration of a ban?

I read somewhere that a node is banned for 24 hours. However I found the Misbehaving() function which makes state->fShouldBan = true;. But I could not find any other function that makes state->...
1
vote
1answer
29 views

Which sender is banned in case of nvalid transactions or blocks?

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 ...
2
votes
0answers
55 views

Banned bitcoinj node ip

I've created many raw transactions today and after an hour I found out that my bitcoin node is only connected to 3 peers (testnet). Is it possible that my node has been banned due to wrong or double ...
5
votes
1answer
718 views

What increases a node's banscore?

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 ...
1
vote
1answer
966 views

How can I get my peer's ban score for my node?

If I call getpeerinfo through RPC on one of my nodes, it gives me a list of info about my peers, including my peer's "banscore" for each of its peers. I would like to do the reverse. Can I get my ...
5
votes
1answer
1k views

What is the “misbehaving” log message?

I was looking my bitcoind log and I saw this message: Misbehaving: 91.230.200.131:8333 (90 -> 100) BAN THRESHOLD EXCEEDED In which cases this message is shown and why? It just a curiosity.
5
votes
2answers
208 views

Double spend transactions flag the node as “bad”?

I'm playing with raw transactions. It's easy to send two signed valid transactions at the same time from the same output to different addresses (making a double-spend attack). My doubt is: if I make ...
2
votes
0answers
86 views

Debug bitcoin protocol implementation

When I'm trying to send a "VERSION" message with my custom bitcoin client, I get: Warning: Local node 127.0.0.1:56425 misbehaving (delta: 1)! What does it mean? How do I know what exactly is wrong ...
9
votes
1answer
1k views

Does the main Bitcoin client blacklist addresses?

Does the main Bitcoin client blacklist any addresses that send too many erroneous messages? If so, how can one whitelist a particular address? I am developing an app that will be communicating with ...