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 ...
user avatar
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/...
user avatar
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:...
user avatar
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 ...
user avatar
  • 16.4k
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 ...
user avatar
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 ...
user avatar
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 ...
user avatar
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. ...
user avatar
  • 28.6k
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, ...
user avatar
  • 4,327
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 ...
user avatar
  • 7,429
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 ...
user avatar
  • 62.3k
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: ...
user avatar
  • 153
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 #...
user avatar
  • 60.4k
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 ...
user avatar
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 ...
user avatar
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 ...
user avatar
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 ...
user avatar
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 ...
user avatar
  • 616
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. ...
user avatar
  • 181
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 ...
user avatar
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 ...
user avatar
  • 60.4k
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 ...
user avatar
  • 13.7k
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 ...
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, ...
user avatar
  • 15k
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 ...
user avatar
  • 28.6k
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 ...
user avatar
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 ...
user avatar
  • 62.3k
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 ...
user avatar
  • 2,378
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 ...
user avatar
  • 60.4k
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:...
user avatar
  • 11

Only top scored, non community-wiki answers of a minimum length are eligible