Bitcoin Forum
April 23, 2024, 04:46:59 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: getconnectioncount  (Read 179 times)
GodlyWizard (OP)
Newbie
*
Offline Offline

Activity: 11
Merit: 5


View Profile
April 14, 2018, 05:14:49 PM
Merited by ABCbits (1)
 #1

Code:
bitcoin-cli getconnectioncount
Gives me an amount of 86 connections, my node has been running for a couple of months with 100% uptime. educational purposes

Is this a high number of connections? How many does your node have?
I would also like to know if your node is visible on https://bitnodes.earn.com/ or not, mine shows up there around 9/10 times I check.

The same site also says:

Quote
The crawler maintained by Bitnodes connects from these IP addresses: 136.243.139.96, 136.243.139.120, 2a01:4f8:212:3b1f::2

Are these IP addresses usable with the
Code:
-addnode=<ip>
configuration?
1713890819
Hero Member
*
Offline Offline

Posts: 1713890819

View Profile Personal Message (Offline)

Ignore
1713890819
Reply with quote  #2

1713890819
Report to moderator
1713890819
Hero Member
*
Offline Offline

Posts: 1713890819

View Profile Personal Message (Offline)

Ignore
1713890819
Reply with quote  #2

1713890819
Report to moderator
1713890819
Hero Member
*
Offline Offline

Posts: 1713890819

View Profile Personal Message (Offline)

Ignore
1713890819
Reply with quote  #2

1713890819
Report to moderator
The grue lurks in the darkest places of the earth. Its favorite diet is adventurers, but its insatiable appetite is tempered by its fear of light. No grue has ever been seen by the light of day, and few have survived its fearsome jaws to tell the tale.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
starmyc
Full Member
***
Offline Offline

Activity: 198
Merit: 130

Some random software engineer


View Profile
April 14, 2018, 07:23:41 PM
Last edit: April 14, 2018, 09:26:55 PM by starmyc
 #2

Code:
bitcoin-cli getconnectioncount
Gives me an amount of 86 connections, my node has been running for a couple of months with 100% uptime. educational purposes

Is this a high number of connections? How many does your node have?

86 connections is an OK number. By default, bitcoind limits the connection count to 125 (source). You can change that limit.

Mine:

Code:
$ bin/bitcoin/bin/bitcoin-cli getconnectioncount
117


I would also like to know if your node is visible on https://bitnodes.earn.com/ or not, mine shows up there around 9/10 times I check.

Yes.

The same site also says:

Quote
The crawler maintained by Bitnodes connects from these IP addresses: 136.243.139.96, 136.243.139.120, 2a01:4f8:212:3b1f::2

Are these IP addresses usable with the
Code:
-addnode=<ip>
configuration?

Well, the 8333 port is open, but I think this must be a custom software that will connect to nodes to retrieve other hosts using the getaddr call on other nodes, and doing this recursively, periodically checking if nodes it found were still alive. But maybe I'm wrong and this is a full node as well. Only them knows.

Hi, I'm just some random software engineer.
You can check my projects: Bitcoin & altcoin balances/addresses listing dumps: https://balances.crypto-nerdz.org/
aleksej996
Sr. Member
****
Offline Offline

Activity: 490
Merit: 389


Do not trust the government


View Profile
April 14, 2018, 07:59:45 PM
Merited by ABCbits (1)
 #3

86 is pretty good in my opinion. My node gets around 30, I think, probably due to low network bandwidth.

It is always visible on the bitnodes.earn.com when I check.
You can enable email notifications to tell you when it is down, if you want.

As for adding them directly, I don't know. It is probably unnecessary. You might even be slowing them down or limiting them in some way by doing so.
GodlyWizard (OP)
Newbie
*
Offline Offline

Activity: 11
Merit: 5


View Profile
April 17, 2018, 10:18:00 AM
Last edit: April 17, 2018, 10:31:01 AM by GodlyWizard
 #4

Thank you for the answers!

According to their own feature the first address seems to be a full node. However, the second and third (IPv6) addresses return no info.

https://bitnodes.earn.com/nodes/136.243.139.96-8333/ <-- works

https://bitnodes.earn.com/nodes/136.243.139.120-8333/ <-- does not work

https://bitnodes.earn.com/nodes/2a01:4f8:212:3b1f::2-8333/ <-- does not work

My connection amount seems to vary quite a bit, within a couple of refreshes it changed from 86 to 92 and then to 93 and back to 92.
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!