Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [network]

This tag should be used for questions related to the Bitcoin network and communication between different nodes on the Internet.

1
vote
0answers
22 views

Creating a tunneling (wormhole) service for bitcoin wallets

Zcash recently announced a new wallet and service to connect mobile devices to a node running on a private home network using a tunneling service they are calling "wormhole" (1). Basically it is ...
0
votes
0answers
12 views

Creating a bitcoin simulation

I want to create a bitcoin simulation where I can simulate information propagation similar to that of the real bitcoin network. I would then like to change how information propagation works in this ...
0
votes
1answer
13 views

Requesting a node's peers list

When joining the bitcoin network, you request a list of peers that a node has so that you are able to connect to those peers if you wanted to, in order to be better connected. Is there any way that ...
0
votes
0answers
11 views

public network in blockchain

I would like to ask about blockchain network from programmer point of view. How could I create P2P network that is public? What I need for that? I was able to create local network where I can send ...
1
vote
3answers
51 views

When joining the bitcoin network, why aren't we connected to the most geographically closest nodes?

Is this a safety/security reason or is it just convenience?
0
votes
0answers
12 views

CAN NOT OPEN COPAY APP

Since 22 days ago,I cannot open my copay wallet by NETWORK ERROR INDICATION. Please tell me the way to resolve this problem. App versionis 5.5.0。 Thank you.
0
votes
1answer
27 views

Is there a way to distinguish miner nodes from other nodes?

In the bitcoin network, there are many different types of nodes. One of these types are miners and in the bitcoin network, is there any way to distinguish a miner node from a non-mining node? I'm ...
0
votes
0answers
17 views

Bitcoin-Qt UI options for configuring Tor proxy: select one or both?

I have two questions that I can't seem to find answers for anywhere, probably because they are noob questions, so please bear with me. I don't want this to be redundant and will close the thread if ...
1
vote
1answer
38 views

Lightning Network: Is it creating 3 transactions instead of 2?

I'm watching this Lightning Network presentation by the original authors. At 9 minutes in, he notes that all the network sees will be a transaction to the multisig address and then a transaction to ...
4
votes
2answers
491 views

How are transactions propagated through the bitcoin network? (In-depth)

I know the general gossip protocol that occurs i.e transactions are sent to neighboring nodes who then send it to their peers etc. but I was trying to find a more in-depth answer on how transactions ...
1
vote
1answer
37 views

Any privacy considerations regarding allowing inbound connections for a Tor full node?

I wanted to know if there's any privacy considerations to take into account when opening the bitcoin ports on the router for a bitcoin node. I'm using -onlynet=onion in the bitcoin.conf file and I ...
0
votes
2answers
15 views

Is it possible to accurately map hashing power to network size?

Let's say we have a network with n nodes in it. Is it possible, when the hashing power of the network is calculated after a proof-of-work, to accurately estimate n with an algorithm taking the ...
0
votes
1answer
31 views

Blockchain endpoint working

I wanna clear this thing that how blocks are retrieved and created in from the nodes using an end point. The end point is basically centralized and have nothing to do with network if i'm not wrong. Is ...
1
vote
2answers
58 views

Transaction Relay and trickling in Bitcoin

If a node has 100 connections to other nodes and receives a new transaction using a getData request, it sends an inv message to it's 100 connecting peers correct? Does it also send the inv message to ...
1
vote
1answer
47 views

Possible better peer-to-peer protocols for Bitcoin?

As we know, bitcoin uses flooding in order to propagate blocks and transactions across all the nodes in the network. As it was launched in 2009, it's been almost 10 years since it's launch and I was ...
1
vote
2answers
31 views

Would bitcoin core work on a big endian system? Or even a system where C++'s `int` is not 32-bit?

Looking at the source code of bitcoin core, the serialization part, I see that there's no serialization abstraction layer that accounts for a possible different endianness or different binary layouts ...
2
votes
0answers
36 views

How to get multiple connections to the same node

I'm playing around with connecting my node to another one of my nodes to see how many incoming connections I can handle. Whenever I add node A from node B with bitcoin-cli addnode 1.1.1.1 add after ...
1
vote
2answers
49 views

Networking in cryptocurrency

I am learning and trying to implement my own cryptocurrency and I am thinking about how could I achieve the peer to peer connections. I read that bitcoin is using DNS seeds for discovering users. In ...
0
votes
1answer
44 views

Is it true that only one message can be sent at a time in Bitcoin Core?

I looked into Bitcoin Core client code, and it seems that there is a lock that allows only one thread to send data (Block, TX, etc.) at a given time point. If this is true, it means that transactions ...
6
votes
1answer
232 views

Improvements that could be made to how bitcoin propagates its transactions and blocks?

As of 2018 what are the known improvements that could be made to how bitcoin propagates its transactions and blocks?
0
votes
1answer
37 views

Is Bitcoin network an overlay application network?

Is Bitcoin network constructed with just Layers 1-4 of the OSI model? Or it's an overlay application network? Can someone please explain about structure of Bitcoin network? Thank you
-2
votes
2answers
108 views

Possibility of detecting MAC address spoofing in Bitcoin network?

The paper that has been published here: https://dl.acm.org/citation.cfm?id=3282283 proposes a consensus algorithm based on distributed voting process in which it claims that it would be possible to ...
3
votes
2answers
121 views

How do block explorers determine propagation through nodes/P2P protocol?

On several Bitcoin blockchain explorers, I have seen unconfirmed transactions given a dedicated "propagation" value that tells a user how much of the Bitcoin network has become aware of this ...
0
votes
1answer
29 views

how do bitcoin nodes know about the full network

partitions sometimes occur in a distributed network; when this happens, a node can only communicate to a subset of other nodes in the network and may use a different chain as the main chain; since ...
1
vote
0answers
20 views

When an IP address in *new* table is overwritten?

I'm reading the address management of Bitcoin core implementation. There is one thing I couldn't understand is in which condition an IP address in the new table of a node is overwritten? In ...
2
votes
2answers
70 views

How do mining pools connect to the Bitcoin network and miners connect to pool?

I couldn't find the answer anywhere so I start a thread. How do mining pools connect to the Bitcoin network to propagate transactions and blocks? Do they run their own full node? If yes, how many of ...
0
votes
1answer
110 views

What is the network topology used at the physical layer of the Bitcoin network?

I want to know about the performance of the Bitcoin Network under various network topology and for which it performs the best. Also what is the current topology being used?
3
votes
1answer
38 views

How is bitcoind “shy” when exchanging `version` packets?

This is more of a technical/programming question. I am referring to this line of code: https://github.com/bitcoin/bitcoin/blob/be992701b018f256db6d64786624be4cb60d8975/src/net_processing.cpp#L1699 ...
3
votes
0answers
70 views

addnode in bitcoin.conf doesn't work (Regtest mode)

I'm trying to make to nodes on the same computer communicate. I set up two bitcoin folder with two bitcoin.conf files. bitcoin.conf in the second node is the following: rpcuser=bitcoinrpc ...
1
vote
1answer
26 views

How a web-service like bitnode.earn can know each node's blockchain height?

How a web-service like bitnode.earn can know each node's blockchain height? We can get some information of each node in bitcoin network in this web-site: https://bitnodes.earn.com/nodes/ And, it is ...
0
votes
1answer
248 views

Can we estimate how many node has the Bitcoin network? [duplicate]

Is it possible to estimate the amount of nodes (hosts) are connected to the Bitcoin network in a given time? Note: Here node means host.
0
votes
1answer
28 views

Are sockets kept open when connections are made?

The bitcoin protocol says that any given node is connected to at least 8 other nodes. Does that mean that when a client connects to a node and learns about new peers... will the client keep the socket ...
0
votes
1answer
32 views

Is bitcoin running over a structured or unstructured overlay?

How nodes are being admitted to the system? Does each node have a sequential unique address? In other words, are bitcoin nodes considered structured or unstructured?
0
votes
2answers
210 views

Slow sync running Bitcon full node on Mac Mini OSX

It is Jul 2018, I need help after several attempts to sync a full node running on a Mac Mini. I have tried several times and Bitcoin-qt starts pretty well for the initial sync, downloading with ...
0
votes
1answer
171 views

Can't specify rpcport for testnet

Was there a recent change where it is no longer possible to specify rpcport? I noticed these two warnings: Warning: Config setting for -addnode only applied on test network when in [test] section. ...
1
vote
1answer
33 views

Bitcoin CPFP transaction with zero fee

tx1 - I want to first create tx with 0 fee On the next I am going to add tx1 as input and add necessary fees into it the issue is tx1 gets rejected by full node why is that cant I broadcast a 0 ...
0
votes
0answers
79 views

Which light wallets actually connect to nodes?

AFAIK, most light wallets are not members of the P2P network, but rather connect to a centralized server run by the wallet developers, which broadcast users' transactions to the actual network. Which ...
0
votes
1answer
37 views

Is a peer connection maintained for the life of the node, or is it recreated on every request?

Lets assume we have 2 bitcoin nodes, A and B. A is already up, and B is now coming up. B lists A as a peer node and attempts to establish a connection. A accepts, a handshake is completed and they ...
3
votes
1answer
121 views

Obtaining Lightning network graph data

I was wondering if it is possible for me to obtain data about the Lightning network mainnet, particularly the nodes and the edges (channels) in the network. I know that the graph is visualized in ...
2
votes
1answer
53 views

How would a governmental Bitcoin ban work in practice?

How does a potantial Bitcoin ban work in practice in a regime that a.) at least partially allows access to the Internet, and b.) has at least one payment system that is not closely monitored by the ...
0
votes
1answer
162 views

How do bandwidth requirements for running a full node grow with blocksize?

I know they increase. I'm looking for something more precise than that.
0
votes
1answer
101 views

When ipv6 is enabled my ipv4 address does not appear in getnetworkinfo localaddresses

After enabling ipv6 (Google WiFi/Ubuntu 16.04) I noticed that my node's upload bandwidth dropped a lot. Investigating showed: ifconfig lists one ipv4 address and three ipv6 addresses. bitcoin-cli ...
1
vote
1answer
698 views

How can I use Bitcoin privately with the Electrum wallet and Tor?

I do not want to run a full node like Bitcoin Core but still want privacy running an SPV node like Electrum wallet to use Bitcoin. How can I setup to run Electrum privately with Tor?
1
vote
1answer
220 views

Error connecting to json rpc server

For testing purposes, I need to connect from a web page in my shared hosting account (on the public internet) to my json rpc server which is running on my laptop . So bitcoind is running on my laptop, ...
1
vote
1answer
63 views

Does Bitcoin limit the number of parallel connections from the same IP?

Is there a measure in place to prevent an adversary from connecting to a Bitcoin node many times in parallel, thus saturating its open connection slots?
0
votes
1answer
36 views

Requesting Blocks

I've been thinking about this for a while and can't seem to understand part of the network. Lets assume that I'm a node that has been offline for 5 months and I want to retrieve the new blocks. When ...
0
votes
1answer
48 views

How does blockchain ensure that a closed loop in network is not formed?

Suppose there are 9 nodes and each node can connect to 8 other nodes. All these 9 nodes connect to the 8 others. Then when a new node comes where does it connect to in this case? All the current nodes ...
0
votes
0answers
31 views

After IP sent from A to B, can it be sent through same connection from B to A?

The paper "Deanonymisation of clients in Bitcoin P2P network" describes a method for learning a set of immediate connections ("entry nodes") for a Bitcoin node. The naive approach ("which IPs relayed ...
0
votes
0answers
38 views

Teredo IPv6 nodes: duplicates?

I am doing some research which involves crawling the network for reachable peers (similar to what Bitnodes does). I get more or less the same results as Bitnodes (see their latest snapshots), but with ...
0
votes
1answer
40 views

What is the purpose of addr_from and addr_recv in version message?

I understand from this answer the semantics of addr_from and addr_recv. It is not clear to me though what is their purpose. Don't we assume that the transport layer protocol takes care of, well, ...