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
1answer
20 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
31 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
202 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
29 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
88 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
105 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
22 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
14 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
34 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
28 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
37 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 ...
2
votes
0answers
28 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
18 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
77 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
24 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
25 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
0answers
32 views

How is the network topology of peers ensured to be whole via bitcoin peering?

Say the entire bitcoin network topology looked this: A -- B -- C | D -- E -- F Then I bring up bitcoin clients on all nodes at the same time and the minimum number of bitcoin peers was only 2. ...
0
votes
2answers
111 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
57 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
21 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
47 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
30 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
78 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
48 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
118 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
62 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
361 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
169 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
56 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
28 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
42 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
26 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
25 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
36 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, ...
0
votes
1answer
30 views

Portability of Bitcoin Wallets: What If The Power Or Network Is Out?

My understanding is that the blockchain is public and contains balances (or the monetary value) and that a private key, or a wallet, enables one to control or spend bitcoin. If my wallet (private key)...
0
votes
1answer
23 views

Where do transactions get sent?

Related: how do transactions get to miners, but I'm looking for a slightly (and only slightly) more technical discussion. Say I download a lightweight bitcoin client and set up a wallet on machine A. ...
0
votes
0answers
24 views

Network usage when mining

I'm interested in how active a user is on the network when they're mining for new bitcoin via a full node (not internet based pool or something). I know there's an initial syncing period to catch up ...
1
vote
2answers
93 views

What cryptocurrencies are there with a financial incentive to run a node?

I have a very naive question: Are there any distributed cryptocurrencies with a financial incentive to run a node? I know that cardano ada has financial incentives to run nodes, as they pay a part of ...
2
votes
1answer
218 views

what is nMinimumChainWork?

I was trying to run my own private bitcoin network, so I downloaded the source and compiled it, then I started two bitcoind instances in two docker contains, and I made sure they did not connect to ...
0
votes
0answers
51 views

2 nodes connected to eachother only showing outbound?

After setting up 2 separate VPS' (Ubuntu 16.04) I can't seem to connected them succesfully. They see each other, ports are open, but when running altcoin-cli getaddednodeinfo or getpeerinfo, they ...
0
votes
1answer
19 views

Can we predict about bitcoin network? [closed]

What will happen to the bitcoin network once all 21M of bitcoins have been mined? The bitcoin network will cease to exist? or the bitcoin network will continue to function the same way with miners ...
2
votes
1answer
112 views

Regtest automated peer discovery

I want to test peer discovery in regtest mode of bitcoin core, running in Docker. However, I noticed in the source code of bitcoin core that there is a check if the address is routable before ...
10
votes
1answer
2k views

How can I setup Bitcoin to be anonymous with Tor?

Bitcoin is billed as many things, among them its anonymity is highly regarded. While it is true that a transaction does not identify a user or wallet, recent news shows that there is the potential for ...
0
votes
2answers
42 views

Can cryptocurrencies never be fully decentralized because finding peers is centralized?

When initially running a cryptocurrency client, it needs to fetch peers from a centralized source. If an attacker gains control of all of a client's default peers servers, they would be able to ...
1
vote
1answer
539 views

bitcoin core node cannot route to peers

I'm trying to sync a new full node in the cloud, however it's syncing a lot slower than I am used to: I am roughly at 70,000 blocks after about 12 hours. It doesn't seem to be slow IO, iotop shows ...
0
votes
0answers
285 views

Bitcoin full node

I installed a full node using this image on my ubuntu docker installation https://github.com/kylemanna/docker-bitcoind my setup is like this FIREWALL/VPN(8333 port forwarded) -> ubuntu(host) -> ...
0
votes
1answer
227 views

Who maintains list of bitcoin nodes and aren't they a weak link in the security of the system?

I understand that between the people who run Bitcoin nodes, and therefore the Bitcoin protocol, the system is trust-less and secure. However, there seems to be a weak link - the official list of ...
0
votes
1answer
131 views

Complete definition of 'tx_witness' data structure used in 'tx' data structure

I'm reading the Protocol Documentation page for the 'tx' data structure and cannot find a completely clear definition of the 'tx_witness' data structure. After the 'tx_out' table, there is short ...
0
votes
1answer
411 views

How can GDAX pay no fees while transfering Bitcoin between wallets?

How is that possible that using GDAX you don't pay network fees (than can go up to 30 USD) to move bitcoins between wallets? How can GDAX pay all these transactions fee for you?
0
votes
3answers
4k views

Trying to transfer BTC from Coinbase to Binance, commission 13 USD?

So basically I bought the equivalent of 100EUR in BTC with CoinBase (they took 3 EUR for this operation) Now I would like to buy other currencies with binance, but if I try to send my BTC to my ...