Title: Keeping a Connection open between 2 Nodes. Post by: calkob on October 15, 2019, 07:13:16 AM 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. :-\ also how do i stop from connecting to any other node. Title: Re: Keeping a Connection open between 2 Nodes. Post by: nc50lc on October 15, 2019, 11:43:58 AM 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) Code: whitelist=(IP) Also, make sure that bitcoind isn't running in the background while editing your config file. Title: Re: Keeping a Connection open between 2 Nodes. Post by: ABCbits on October 15, 2019, 04:28:18 PM 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 Title: Re: Keeping a Connection open between 2 Nodes. Post by: calkob on October 16, 2019, 08:06:04 PM 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) Code: whitelist=(IP) 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. |