Bitcoin Forum
May 30, 2024, 11:02:19 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Is there a way of selecting peers by software version?  (Read 415 times)
The One (OP)
Legendary
*
Offline Offline

Activity: 924
Merit: 1000



View Profile
August 04, 2017, 06:02:27 PM
 #1

I have two chains in two directories, Bitcoin Core and Bitcoin Cash.

I want Bitcoin Core to connect to those using Core software and Bitcoin Cash to connect to those using Cash software.

How do i do that? Using ban/disconnect is so time consuming.

..C..
.....................
........What is C?.........
..............
...........ICO            Dec 1st – Dec 30th............
       ............Open            Dec 1st- Dec 30th............
...................ANN thread      Bounty....................

achow101
Moderator
Legendary
*
Offline Offline

Activity: 3402
Merit: 6659


Just writing some code


View Profile WWW
August 04, 2017, 07:06:19 PM
 #2

You can't. You could set up a script which checks the list of peers that you are connected to and then bans the ones that you don't want to connect to.

The One (OP)
Legendary
*
Offline Offline

Activity: 924
Merit: 1000



View Profile
August 04, 2017, 08:55:12 PM
 #3

Thank you. Is this worth developers' time to fix in the future?

..C..
.....................
........What is C?.........
..............
...........ICO            Dec 1st – Dec 30th............
       ............Open            Dec 1st- Dec 30th............
...................ANN thread      Bounty....................

achow101
Moderator
Legendary
*
Offline Offline

Activity: 3402
Merit: 6659


Just writing some code


View Profile WWW
August 07, 2017, 06:50:54 PM
 #4

Thank you. Is this worth developers' time to fix in the future?
There is currently an open PR which will have Core disconnect any Bitcoin Cash or Segwit2x peer as those are or will become altcoins in the future.

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!