Bitcoin Forum
April 26, 2024, 03:03:57 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Keeping a Connection open between 2 Nodes.  (Read 165 times)
calkob (OP)
Hero Member
*****
Offline Offline

Activity: 1092
Merit: 520


View Profile
October 15, 2019, 07:13:16 AM
 #1

I have 2 node on the same network, one is 0.18.1 and the other is older 0.12.0.  I want to get 0.12 to stay connected to 0.18.1 permanently as its only connection for information whats the best way to go about that.

currently i can get them to connect simply by addnode in Conf but after a few minutes 0.18.1 is dropping the connection with 0.12.   Undecided  also how do i stop from connecting to any other node.
1714143837
Hero Member
*
Offline Offline

Posts: 1714143837

View Profile Personal Message (Offline)

Ignore
1714143837
Reply with quote  #2

1714143837
Report to moderator
1714143837
Hero Member
*
Offline Offline

Posts: 1714143837

View Profile Personal Message (Offline)

Ignore
1714143837
Reply with quote  #2

1714143837
Report to moderator
In order to get the maximum amount of activity points possible, you just need to post once per day on average. Skipping days is OK as long as you maintain the average.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714143837
Hero Member
*
Offline Offline

Posts: 1714143837

View Profile Personal Message (Offline)

Ignore
1714143837
Reply with quote  #2

1714143837
Report to moderator
1714143837
Hero Member
*
Offline Offline

Posts: 1714143837

View Profile Personal Message (Offline)

Ignore
1714143837
Reply with quote  #2

1714143837
Report to moderator
1714143837
Hero Member
*
Offline Offline

Posts: 1714143837

View Profile Personal Message (Offline)

Ignore
1714143837
Reply with quote  #2

1714143837
Report to moderator
nc50lc
Legendary
*
Offline Offline

Activity: 2394
Merit: 5538


Self-proclaimed Genius


View Profile
October 15, 2019, 11:43:58 AM
Merited by Jet Cash (2), ABCbits (1)
 #2

I'm not confident with networking settings in bitcoin.conf but try to use these settings.

Connect to this node exclusively (use instead of addnode):
Code:
connect=(node IP)
Maybe it's disconnecting because the old version is misbehaving, try any of these:
Code:
whitelist=(IP)
bantime=5

Also, make sure that bitcoind isn't running in the background while editing your config file.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
ABCbits
Legendary
*
Offline Offline

Activity: 2856
Merit: 7406


Crypto Swap Exchange


View Profile
October 15, 2019, 04:28:18 PM
Merited by Jet Cash (2)
 #3

This sounds like XY problem, do you have any particular reason to stay use Bitcoin Core 0.12.0 which is outdated? If there aren't any, i suggest you to upgrade your Bitcoin Core.

AFAIK nc50lc suggestion should fix the problem, but if it's not, then try to share your debug.log file

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
calkob (OP)
Hero Member
*****
Offline Offline

Activity: 1092
Merit: 520


View Profile
October 16, 2019, 08:06:04 PM
 #4

I'm not confident with networking settings in bitcoin.conf but try to use these settings.

Connect to this node exclusively (use instead of addnode):
Code:
connect=(node IP)
Maybe it's disconnecting because the old version is misbehaving, try any of these:
Code:
whitelist=(IP)
bantime=5

Also, make sure that bitcoind isn't running in the background while editing your config file.

Thanks for that working a treat now.

This sounds like XY problem, do you have any particular reason to stay use Bitcoin Core 0.12.0 which is outdated? If there aren't any, i suggest you to upgrade your Bitcoin Core.

AFAIK nc50lc suggestion should fix the problem, but if it's not, then try to share your debug.log file

I think it is important that Bitcoin maintains its backward compatability and i want to see that older nodes can always stay connected to the network.
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!