Bitcoin Forum
June 24, 2024, 03:02:31 AM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Node Config Question: Any way to force incoming peers to be updated peers?  (Read 244 times)
Whammo (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
November 16, 2017, 11:53:23 PM
 #1

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!

 Grin

edit - looking for configuration file code!
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3430
Merit: 6720


Just writing some code


View Profile WWW
November 17, 2017, 01:47:31 AM
 #2

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.

Whammo (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
November 17, 2017, 01:53:06 AM
 #3

Cool. Thanks. I'll write something. I thought I was missing something when no searches turned up.

 Smiley
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!