Newbie Inbound connections? Am I running a complete node

12 replies 25 views
stack100Member
Posts: 1 · Reputation: 72
#1Apr 3, 2020, 08:40 PM
So, I'm a total newbie here... I'm trying to set up a full bitcoin node, but I’m not really sure if it’s working perfectly. Here’s what I got: - I've got version 25.0 running - My Network Traffic window shows increasing totals for "Received" and "Sent" - In the Peers window, I see 10 peers, all showing "Direction" as Outbound (no Inbound connections) - And in the Information window, it says: Number of connections: 10 (In:0 / Out:10) I came across a document online that mentions needing at least one inbound connection. So, am I actually running a full node? Also, on another note: the online documents I've found are kinda old and hard to understand. Any recommendations?
2 Reply Quote Share
moon_2019Full Member
Posts: 26 · Reputation: 280
#2Apr 3, 2020, 10:33 PM
Hello Prepper33, you can follow this guide : https://bitcoin.org/en/full-node#port-forwarding
4 Reply Quote Share
silentchainHero Member
Posts: 473 · Reputation: 2317
#3Apr 4, 2020, 01:32 AM
Strictly speaking the full node  is a node that allows incoming connection on port 8333. In your case this port seems to be closed. Thus open it via relevant  firewall rule if you really want to run the full node.  Bear in mind that even having this port closed your node is  still capable to receive&validate  blocks and transactions. Do you really need  your node to be regarded as full? P.S. Mine is not full, port 8333 is closed on my machine, however, my bitcoins don’t suffer from it.
4 Reply Quote Share
paul.stakeHero Member
Posts: 651 · Reputation: 3798
#4Apr 4, 2020, 05:45 AM
You should be downloading blocks, yes. Do you use Bitcoin-QT (the GUI of Bitcoin Core) or bitcoind (the daemon)? If it's the former, does it seem like synchronizing? If it's the latter, does the terminal contain progress, cache, UpdateTip, new best etc.? "Full" refers to verification, and both incoming accepting and outgoing only nodes verify everything. Nodes that allow incoming connections are just more helpful in terms of bandwidth.
1 Reply Quote Share
just_wizardFull Member
Posts: 85 · Reputation: 583
#5Apr 4, 2020, 07:48 AM
According to the definition on bitcoin.org, you're running a full node as long as it validates every block and transaction it downloads (need to download the whole blockchain) even if it doesn't accept inbound connections. As BlackHatCoiner pointed out, disallowing inbound connections can be helpful in case you have a limited bandwidth. However, you won't be really helping the network and your node serves more as a wallet than a network node. By allowing inbound connections, your node will be able to relay validated blocks and transactions to the other nodes and/or spv wallets which are connected to it.
2 Reply Quote Share
gr3g.0rbitHero Member
Posts: 1025 · Reputation: 2646
#6Apr 4, 2020, 01:43 PM
These are pointing to the same information. As the name implies, it's just the direction in which your node found those peers, 10 outbound means that your node is the one initiated the connection. You can think of those as peers that "you found". Inbound on the other hand, are peers that "found you". Since you have no inbound connections, other nodes cannot initiate connections to your node due to it being undiscoverable. However, that doesn't mean that you not connected to the Bitcoin Network, you've got 10 peers still. Follow the guide in the first reply or enable UPnP in both your router and Bitcoin Core settings to be able to open the necessary port. The latter is less secure for your network. After Initial Block Download (IBD), yes.
2 Reply Quote Share
silentchainHero Member
Posts: 473 · Reputation: 2317
#7Apr 4, 2020, 04:48 PM
That is loose rather than strict  interpretation. "Full" ( in strict definition)   refers to node which is able to perform all assigned duties including relay. Thus, node with port 8333 closed can not be  regarded as "full". Closing this port on all available nodes would result in    network halting.
5 Reply Quote Share
jake.chainSenior Member
Posts: 280 · Reputation: 1307
#8Apr 4, 2020, 07:37 PM
Literally the only difference between an inbound and an outbound connection is which node initiated it. Once the connection is made, they function identically. His node will still relay all transactions and blocks to the nodes he initiated an outbound connection with.
2 Reply Quote Share
paul.stakeHero Member
Posts: 651 · Reputation: 3798
#9Apr 4, 2020, 10:16 PM
Full nodes make a full verification against consensus rules. Pruned nodes, for example, are full nodes. I don't know where you've got this "strict" definition. I use the bitcoin wiki. Also, non-incoming accepting full nodes do relay everything normally. Another difference is that by allowing incoming connections, you get to establish up to 125 connections by default, whereas with listen=0, up to 11.
3 Reply Quote Share
silentchainHero Member
Posts: 473 · Reputation: 2317
#10Apr 4, 2020, 11:12 PM
Definitely yes if pruned node doesn't prevent  both incoming and outgoing connections.   Pruning has to do solely to blockchain storage technique used by node. I’ve come across this definition somewhere, and it seems to me be a logical one. If I find a link, I’ll share.
4 Reply Quote Share
hash_bossLegendary
Posts: 1166 · Reputation: 5261
#11Apr 5, 2020, 03:37 AM
In addition, it doesn't have to be port 8333. And talking about firewall, OP should also check firewall on their router and configure port forwarding on the router if needed. It should be 10, not 11.
2 Reply Quote Share
gr3g.0rbitHero Member
Posts: 1025 · Reputation: 2646
#12Apr 5, 2020, 08:06 AM
BlackHatCoiner is correct, 11 is the maximum possible outbound peers. Here's Bitcoin's current "net.h": github.com/bitcoin/bitcoin/blob/master/src/net.h The lines MAX_OUTBOUND_FULL_RELAY_CONNECTIONS, MAX_BLOCK_RELAY_ONLY_CONNECTIONS and MAX_FEELER_CONNECTIONS all count toward the maximum outbound connections.
2 Reply Quote Share
hash_bossLegendary
Posts: 1166 · Reputation: 5261
#13Apr 5, 2020, 12:44 PM
Thanks for the correction with source code reference, i totally forget about feeler connection. Although FWIW it's primarily used not to relay TX/block[1]. [1] https://bitcoin.stackexchange.com/a/112248
0 Reply Quote Share

Related topics