Bitcoin Forum
April 26, 2024, 03:36:09 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: No inbound connections after pruning  (Read 1015 times)
uchalkql (OP)
Jr. Member
*
Offline Offline

Activity: 49
Merit: 2


View Profile
May 07, 2017, 10:37:43 PM
Merited by ABCbits (1)
 #1

Hi,

Satoshi:0.14.0

I pruned to prune=4320

I checked in https://bitnodes.21.co/, and it is accepting connections.

Then I got 2 inbound connections yesterday, but it went to zero today.

My ping to most outbound connections are < 250ms.

Is it because of pruning? What can be the other factors?

Thank you.
1714145769
Hero Member
*
Offline Offline

Posts: 1714145769

View Profile Personal Message (Offline)

Ignore
1714145769
Reply with quote  #2

1714145769
Report to moderator
1714145769
Hero Member
*
Offline Offline

Posts: 1714145769

View Profile Personal Message (Offline)

Ignore
1714145769
Reply with quote  #2

1714145769
Report to moderator
1714145769
Hero Member
*
Offline Offline

Posts: 1714145769

View Profile Personal Message (Offline)

Ignore
1714145769
Reply with quote  #2

1714145769
Report to moderator
BitcoinCleanup.com: Learn why Bitcoin isn't bad for the environment
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714145769
Hero Member
*
Offline Offline

Posts: 1714145769

View Profile Personal Message (Offline)

Ignore
1714145769
Reply with quote  #2

1714145769
Report to moderator
1714145769
Hero Member
*
Offline Offline

Posts: 1714145769

View Profile Personal Message (Offline)

Ignore
1714145769
Reply with quote  #2

1714145769
Report to moderator
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3374
Merit: 6535


Just writing some code


View Profile WWW
May 07, 2017, 10:55:08 PM
Merited by ABCbits (2)
 #2

Pruning does affect your incoming connections. If you are pruned, you are no longer able to serve historical blocks, so nodes are less likely to connect to your node. When you prune, you also remove the NODE_NETWORK service (which indicates that you can serve historical blocks) so DNS seeders will no longer give out your node to nodes that need to connections.

uchalkql (OP)
Jr. Member
*
Offline Offline

Activity: 49
Merit: 2


View Profile
May 07, 2017, 11:34:39 PM
 #3

Thanks a lot achow101 Smiley

well, this is very bad. DNS seeders should not behave like that, because pruned nodes can still help a lot the network.

what should happen is that only the nodes that are making the initial download require NODE_NETWORK service.

Maybe it is not the case today, but most of the nodes will be pruned nodes. I run Bitcoin on an old notebook (<2009) and I was able to save a lot of GB.

Pruning does affect your incoming connections. If you are pruned, you are no longer able to serve historical blocks, so nodes are less likely to connect to your node. When you prune, you also remove the NODE_NETWORK service (which indicates that you can serve historical blocks) so DNS seeders will no longer give out your node to nodes that need to connections.
gmaxwell
Moderator
Legendary
*
expert
Offline Offline

Activity: 4158
Merit: 8382



View Profile WWW
May 08, 2017, 01:34:05 AM
Merited by ABCbits (1)
 #4

Thanks a lot achow101 Smiley

well, this is very bad. DNS seeders should not behave like that, because pruned nodes can still help a lot the network.
And you still will-- by relaying blocks to the nodes you connect out to.

Quote
what should happen is that only the nodes that are making the initial download require NODE_NETWORK service.
Right now there is no way to distinguish nodes that can serve blocks near the tip with ones that can't serve blocks at all.

And there are plenty of nodes that can serve everything, so adding more flags hasn't been the highest priority.  Though there has been recent progress on that.
uchalkql (OP)
Jr. Member
*
Offline Offline

Activity: 49
Merit: 2


View Profile
May 08, 2017, 01:58:55 AM
 #5

Thanks a lot gmaxwell!

I thought outbound meant that you only receive information ...

So the terms inbound and outbound are used only to differentiate who stablished connection, and the flow of information happens both ways no matter if it is inbound or outbound?


Thanks a lot achow101 Smiley

well, this is very bad. DNS seeders should not behave like that, because pruned nodes can still help a lot the network.
And you still will-- by relaying blocks to the nodes you connect out to.

Quote
what should happen is that only the nodes that are making the initial download require NODE_NETWORK service.
Right now there is no way to distinguish nodes that can serve blocks near the tip with ones that can't serve blocks at all.

And there are plenty of nodes that can serve everything, so adding more flags hasn't been the highest priority.  Though there has been recent progress on that.
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3374
Merit: 6535


Just writing some code


View Profile WWW
May 08, 2017, 02:02:54 AM
 #6

Thanks a lot gmaxwell!

I thought outbound meant that you only receive information ...

So the terms inbound and outbound are used only to differentiate who stablished connection, and the flow of information happens both ways no matter if it is inbound or outbound?
Yes.

uchalkql (OP)
Jr. Member
*
Offline Offline

Activity: 49
Merit: 2


View Profile
May 08, 2017, 02:04:41 AM
 #7

Thank you very much!  Cheesy

Thanks a lot gmaxwell!

I thought outbound meant that you only receive information ...

So the terms inbound and outbound are used only to differentiate who stablished connection, and the flow of information happens both ways no matter if it is inbound or outbound?
Yes.
TierNolan
Legendary
*
Offline Offline

Activity: 1232
Merit: 1083


View Profile
May 16, 2017, 12:51:19 PM
 #8

So the terms inbound and outbound are used only to differentiate who stablished connection, and the flow of information happens both ways no matter if it is inbound or outbound?

There are slight differences.  Outgoing connections are trusted more.  

The idea is that if you connect to a node, it is probably trustworthy.  Incoming connections could all be from the same person, using lots of different IPs, trying to attack you.

Address messages are only forwarded if they come from a node that you connected to.  I think addresses that come from nodes that connect to you are ignored (or maybe lower priority), when deciding who to connect to.

Your node reserves 8 slots to try to make sure it has 8 outbound connections.

1LxbG5cKXzTwZg9mjL3gaRE835uNQEteWF
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!