Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: Whammo on November 16, 2017, 11:53:23 PM



Title: Node Config Question: Any way to force incoming peers to be updated peers?
Post by: Whammo on November 16, 2017, 11:53:23 PM
Node is up running like a champ!

My question is: I'm running /Satoshi:0.15.1/

Anyway to require incoming nodes to be only Satoshi 0.15+? I realize they are backwards compatible and TOR is diff.

Just wanted to ensure my node only supports Bitcoin Core.

Thanks in advance!

 ;D

edit - looking for configuration file code!


Title: Re: Node Config Question: Any way to force incoming peers to be updated peers?
Post by: achow101 on November 17, 2017, 01:47:31 AM
No, there is no way to force peers be a certain version. However you can write a script which checks the list of connected peers and bans any peer which is not a certain version. Note that the user agent string which announces the version number can be faked, so it is not necessarily reliable to trust that.


Title: Re: Node Config Question: Any way to force incoming peers to be updated peers?
Post by: Whammo on November 17, 2017, 01:53:06 AM
Cool. Thanks. I'll write something. I thought I was missing something when no searches turned up.

 :)