13
votes
Bitcoin is not connected in regtest mode
Although I believe Fred Tingey's answer is complete, it has the following attributes:
it depends on a config file.
it provides examples for bitcoin-qt on the windows platform, and the OP was asking ...
11
votes
Bitcoin is not connected in regtest mode
In order to run multiple nodes in regtest mode on a single machine you will need to sandbox each node.
In this example I have three nodes, they are named Alice, Bob and Cory. Since Bitcoin is a Peer/...
10
votes
Accepted
Bitcoin is not connected in regtest mode
You need to run more than one node on your machine (you can do that if you give each node a different -port and -rpcport). And you need to tell them how to find each other (using -connect=127.0.0.1:...
10
votes
What exactly does the scary option "Allow incoming connections" do in Bitcoin Core?
There are two ways by which bitcoind connects to peers.
The default is purely outbound connections - the node will use DNS seeds, as well as its own database of previously seen peers, and attempt to ...
9
votes
List transactions *relayed* by my full node?
Blockchain.info lists the first IP address it sees a new transaction from.
If you aren't the one creating the transaction, and aren't accidentally the node right in between the node that does and ...
8
votes
Accepted
Is there a connections limit on bitcoind?
By default, bitcoin-core allows up to 125 connections to different peers, 8 of which are outbound. You can therefore, have at most 117 inbound connections.
I think there is no need to handhold ...
6
votes
Allowing Incoming Connection on Bitcoin Core
I had the same problem. The port was open, but the test at bitnodes.21.co would fail. However after my Bitcoin client downloaded the entire BlockChain everything worked. I used about 144 hours to ...
5
votes
Accepted
Is 8 the maximum number of incoming peer connections?
The reference here for running the bitcoin daemon does not really clarify what maxconnections mean.
Furthermore, that maxconnections only controls the number of inbound connections and not outbound. ...
5
votes
Accepted
Is Bitcoin a fully decentralized network, or how do clients connect to the network?
The various approaches the core client takes are described in some detail on the Bitcoin wiki. Once you're connected to the network, your peers can tell you about more peers, so the big question is, ...
5
votes
Are nodes that don't accept inbound connections necessarily leechers?
An outbound connection is functionally equivalent to an inbound connection except in the respect that you initiated it. An outbound only node provides the same resources to the network except that it ...
5
votes
With peerblockfilters=1 hundreds of "btcwire 0.5.0/neutrino" connections are downloading TB from my Bitcoin node
It appears that btcwire is the Bitcoin p2p module of btcd and neutrino is Lightning Labs's implementation of BIP157/158 (compact client-side block filters (CBF)). I suspect that the agent identifier ...
4
votes
Accepted
Does bitcoin-core software/client connects with only same version number nodes?
You can see from the Debug Window ("Peers" tab) that the Bitcoin Core client connects with multiple clients not only with different versions but different implementations.
So to answer your question: ...
4
votes
Accepted
Bitcoin V0.1 Not Connected
You cannot.
There have been both changes to the P2P protocol that prevent this, and changes to the way that nodes are discovered.
The method which 0.1.0 discovered new nodes was by joining the #...
3
votes
Bitcoin is not connected in regtest mode
I would like to make an addition to above answers.
Instead of -connect=ip the correct option to use is -addnode=ip. -connect lets a node connect only to one node and whereas '-addnode' attempts at ...
3
votes
How to make bitcoind connect to more nodes?
Bitcoind will never make more than 8 outgoing connections. By default, it will allow up to 128 connections (see -maxconnections), but that includes incoming ones.
Available connection slots of fully ...
3
votes
Accepted
What is the difference between inbound and outbound connections?
If your node initiated the connection, it's outbound, otherwise it's inbound. Nodes will send and receive data from both types of connections exactly the same way.
maxconnections sets a limit on the ...
3
votes
Accepted
How to trigger port for Bitcoin client (e.g. 8333)
Bitcoin Core doesn't seem to have an option to specify the source port for outgoing connections, so you probably can't assume anything about the source port.
However, if possible, you could configure ...
3
votes
How does one attain 1,000+ connections like blockchain.info?
As nobody seems to have mentioned it I'll chip in for future reference. If your bitcoind node is behind a router/NAT then you can only connect to others, they cannot connect to you. Let's assume most ...
3
votes
Accepted
Hypothetical situation: the Internet gets split in two, what happens with Bitcoin?
Any of the "pirates" with nodes on both networks and who have unspent coins in the blockchain before the split would be able to spend those on both networks, for as long as the network is split.
...
3
votes
Sybil attack countermeasure
When you are buying servers you can order multiple IP per one server, typically in the same /8 or /16 subnet. So 1 server can serve as 100 or even 1000 Bitcoin nodes.
Ordering lots of IPs in lots of ...
3
votes
How does blockchain ensure that a closed loop in network is not formed?
Nodes have more than 8 connection slots, by default they have 125 maximum connections. There are 8 outbound connections, but can still have incoming connections from other nodes when all 8 outbound ...
2
votes
How to resolve "no block source available"?
I was having this problem. I updated my client to the newest version (https://bitcoin.org/en/download) and it solved itself. I think the clients might stop communicating with other clients who don't ...
2
votes
0 connections now, but I had been using Bitcoin QT for a while without problems
By using process of elimination , I would do something like this.
First, I would reinstall your Bitcoin wallet and see if it works. If it works properly, there was probably a Bitcoind configuration ...
Community wiki
2
votes
Accepted
Slush's Pool Worker Offline?
A GPU miner does not have sufficient speed to satisfy the minimum difficulty requirements of pooled mining today (which is why it shows as offline). GPUs have been completely obsoleted since 2013, ...
2
votes
What does this mean? RPC_CLIENT_NOT_CONNECTED = -9, // Bitcoin is not connected
What does this mean? I'm running the command on the same machine where the daemon is running, so no remote connection needed.
It's not talking about the connection between your command line and the ...
2
votes
How does one node connect to other nodes
There is no centralised server required.
1.
If you start a node the first time, it will try to load a bunch of other nodes IPs via the build in list of available DNS seeds (there are ~5 seeds ...
2
votes
Accepted
Does having a pruned node reduce its network score?
What's the meaning of the score in getnetworkinfo?
When you look up getnetworkinfo in the Bitcoin Developer Reference, it says about score:
The number of incoming connections during the uptime of ...
2
votes
Accepted
Is a peer connection maintained for the life of the node, or is it recreated on every request?
Or is the connection persisted for the life time of the application?
Persistent. Subsequent messages will be transmitted across the same connection.
If it is persisted, what prevents a well known ...
2
votes
Accepted
Can I connect to a node as read-only?
It is important to note that your Electrum wallets connect to Electrum servers which speak a different protocol than the Bitcoin P2P network. Electrum servers are full nodes with additional software ...
1
vote
Redirection to pool
I'm in the same case, I'm mining at my lab.
The simple way :
If your mining computer is under Linux, and you have an VPS, simply do that on your mining computer :
ssh user@yourvpsip -C -L 123:...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
connection × 74bitcoind × 19
network × 19
bitcoin-core × 17
nodes × 10
peers × 10
peer-discovery × 8
json-rpc × 6
port × 6
blockchain × 5
mining-pools × 4
litecoin × 4
full-node × 4
tor × 4
client × 3
error × 3
fallback-nodes × 3
transactions × 2
protocol × 2
synchronization × 2
miner-configuration × 2
multibit × 2
php × 2
regtest × 2
mining-software × 2