Author

Topic: No inbound connections after pruning (Read 1027 times)

legendary
Activity: 1232
Merit: 1094
May 16, 2017, 08:51:19 AM
#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.
jr. member
Activity: 49
Merit: 2
May 07, 2017, 10:04:41 PM
#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.
staff
Activity: 3458
Merit: 6793
Just writing some code
May 07, 2017, 10:02:54 PM
#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.
jr. member
Activity: 49
Merit: 2
May 07, 2017, 09:58:55 PM
#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.
staff
Activity: 4242
Merit: 8672
May 07, 2017, 09:34:05 PM
#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.
jr. member
Activity: 49
Merit: 2
May 07, 2017, 07: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.
staff
Activity: 3458
Merit: 6793
Just writing some code
May 07, 2017, 06:55:08 PM
#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.
jr. member
Activity: 49
Merit: 2
May 07, 2017, 06:37:43 PM
#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.
Jump to: