Questions tagged [peers]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
10 views

How does bitcoin core establish a peer to peer network

I've tried to look for an answer to this online and haven't found any. My question is: how does bitcoin establish a peer to peer network. Establishing a centralized network with a server in the middle ...
2
votes
1answer
35 views

How does having a large mempool and allowing a greater transaction ancestry set change the interaction with your peers?

Bitcoin Core by default allows up to 300 MiB of mempool data, and restricts unconfirmed transaction trees to an ancestry set of at most 25 transactions and 101 kvB of transaction data. Since these are ...
1
vote
1answer
43 views

Number of bitcoind peers drops precipitously every 30 days or so

I run bitcoind headless on a linux box with maxconnections=256 and port 8333 open on the router. Using Bitcoin Node Manager I monitor node status occasionally. Peer count of course starts at 8 and ...
4
votes
1answer
39 views

What happens to transactions in the mempool when their parent transaction expires?

I was just reading the Coin Metrics Newsletter #53, and it included a section about the recent mempool congestion. After mentioning transactions that got evicted due to the network's queue of ...
0
votes
1answer
24 views

Can full node with only IPv4 connect to another full node with only IPv6?

As far as I know, IPv4 and IPv6 are two different protocols and direct connection between an IPv4 and IPv6 cannot be established. If I run a full node with only IPv4, can my node connect to another ...
1
vote
3answers
717 views

How to run multiple node in same machine?

I have created an altcoin base on litecoin source code. I want to test it in multiple node to test peers of each node weather each node can connect to each other. So I try to run "mycoind" in multiple ...
0
votes
1answer
131 views

Unable to find peers when connecting through tor proxy

I have tor running as a service on my computer and start bitcoind with -proxy=127.0.0.1:9050 but it fails to find any seeds through DNS or anything during startup, and even after leaving it on for ...
2
votes
1answer
143 views

Multibit HD only sees one peer

Multibit HD is only connecting with one peer. This issue randomly started a few weeks ago. Initially, I had to keep restoring my wallet to a previous date since my balance kept reverting to ...
0
votes
0answers
27 views

How to achieve fast mempool synchronization at startup?

I just started my 'occasional' full-node and I am watching the size of the mempool grow after full block synchronization - watch -n 3 'bitcoin-cli getrawmempool true |jq "length"' - it has around 4000 ...
3
votes
1answer
36 views

What kind of node connects to your full node and doesn't share blocks with you?

When running getpeerinfo I can see that a number of connected nodes return a synced_blocks of -1. Some of these have been connected for days, so: Is it correct to assume that these nodes are never ...
0
votes
1answer
26 views

How to determine the peer/node that created a transaction?

You're running your node and you receive a transaction from a peer, how do you determine if that peer created the transaction or if it is simply relaying the transaction. In other words, can you map ...
2
votes
1answer
30 views

Transaction propagation criteria vs mempool inclusion cirteria

Do Bitcoin nodes propagate every transaction or only transactions that meet certain criteria? For instance, a transaction with a fee of 0 won't necessarily get included into a block and it might even ...
0
votes
2answers
56 views

bitcoin back-end blockchain storage

bitcoin uses blockchain so blockchain is peer to peer, every peer stores the data so I wonder where does the data of all the bitcoins is stored? who is peer in case of bitcoin? so that peer gets ...
1
vote
1answer
86 views

The result of bitcoin-cli getpeerinfo command

When I type bitcoin-cli getpeerinfo in shell, conspicuous property of the result are addr and addrlocal addrbind. 14.xx is my address and others are peer's address. I know that Bitcoin client can do ...
1
vote
1answer
20 views

Bitcoin network resources requirement

Supposing we are alone, could it be possible to run the whole bitcoin network and full capacity of it (maximum transaction per second by different peer) on a low end computer, and how can someone ...
1
vote
0answers
30 views

Why not connect to all (huge amount of) nodes?

If you mine, a good network propagation time is important in case of mining-forks. I read that bitcoin only connects to 8 nodes. I would connect to many nodes as I can support to minimize my block ...
4
votes
3answers
76 views

Bitcoin core full node - Should I choose my peers or it's fine to use the hardcoded ones?

I have a full node v 0.17.1 running 12-14 hrs/day and I was wondering if it's helpful, for privacy or for whatever reason, to add peers (maybe from https://bitnodes.earn.com/nodes/leaderboard/) with ...
0
votes
1answer
48 views

Can I connect to a node as read-only?

In my Electrum wallet I can open the Network Window and view Nodes I'm connected to. Here's an example: electrum4101870.fullhealth.net. I can also find public nodes at https://bitnodes.earn.com/nodes/...
0
votes
1answer
57 views

P2P getHeaders message - how to get block locator hashes

I'm trying to build my own block explorer So that I need to use p2p bitcoin protocol. For that I'm using btcd (golang) lib. According to bitcoin book I have to send version message (and receive ...
0
votes
1answer
115 views

Why are some of my peers rejecting this CSV transaction?

The CSV-redeeming TX I broadcast: https://www.blocktrail.com/tBTC/tx/807d464fff227ce98cfb5f1292069e2793e99f21b0539a1729cc460af32add77 The locktime was set for ten minutes, and the redeeming tx (...
3
votes
2answers
142 views

How to confirm how many peers a node has?

When a node requests one of it's neighbours for a list of it's peers, that node responds with a list of all of it's neighbours. I'm just wondering is there a way to confirm that those nodes are ...
1
vote
1answer
61 views

Why connected node count have dropped since august 1st?

before 1st august i used to connect to 55+ nodes on my bitcoin-core, even if i kept the bitcoin-core running for 12 hours. but after 1st of august, the connected nodes count is not going above 15-23 ...
1
vote
0answers
131 views

It's October 2018. ./bitcoin-qt -reindex-chainstate takes forever. Is there a way to speed this up?

Current version: Bitcoin Core 0.16.3 I think I have a corrupted blockchain download as my VM box was shut down in the middle of syncing. Which is why I'm doing a -reindex-chainstate I have the ...
1
vote
0answers
37 views

How to set up a gateway node?

I have two nodes running in my local machine. one public facing and another connected ONLY to the public facing node. I ensure they are whitelisted and in different ports. the nodes connect just fine, ...
11
votes
4answers
3k views

Why doesn’t Bitcoin use UDP to do Blockpropagation?

Bitcoin uses TCP for P2P but why is UDP not used? Modern day internet has relatively low packet loss rate so UDP is reliable. Even if some packets are dropped the peers can always request for the ...
2
votes
0answers
25 views

Setting up node, no connection when announce ip address to peers [closed]

I want to announce my host name when running node. When I set nxt.myAddress=hostname or IPaddress, there are no connection to peers. But when I keep it empty everything is fine.
1
vote
1answer
66 views

structure of communicating with bitcoin DNSs to get list of nodes

I want to communicate with bitcoin DNSs to get list of bitcoin nodes. for now I want some example and structure of messages between I and bitcoin DNS. I found two DNS names: dnsseed.bluematt.me ...
0
votes
1answer
104 views

Unwanted peers connecting to Altcoin

I am building an altcoin using the litecoin source code. I have removed all of the Emplace Seed calls in chainparams.cpp for DNS seeding, changed my default node communication port to port 421 and ...
1
vote
2answers
173 views

Should port forwarding for running bitcoin be done also on the ISP's router?

Follow up question on What is the NAT traversal technique used by bitcoin. The network architecture described here https://superuser.com/questions/1109859/2-routers-connected-in-series-and-port-...
0
votes
1answer
45 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 ...
8
votes
5answers
3k views

How blocks are created and broadcast?

Followings are some of my understandings about how bitcoin blockchain works, and want to confirm. Appreciate your comments and thoughts. In the blockchain, every peer receives both transactions and ...
1
vote
1answer
425 views

Bitcoin core: connect to specific peers from file

I want to launch Bitcoin core connecting to a specific list of peers. I can do this using connect: bitcoind -connect=<IP1> -connect=<IP2> Is there a way I can put the peers I want to ...
2
votes
1answer
56 views

On a low level, how are long chains kept secret and later broadcast during 51% attacks?

I've been reading about the vulnerabilities of PoW crypto, and there's a part of it that I don't understand. Suppose I wanted to stage a 51% attack on Bitcoin (not really feasible, but bear with me). ...
2
votes
1answer
190 views

How Do Peers Choose Which Peer To Trust?

So the way I understand how the blockchain works is that each new block uses the previous block's hash, which means if my block[100].hash != someone_elses_block[100].hash that means that either I ...
1
vote
1answer
80 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?
2
votes
2answers
3k views

Finding IP addresses of all bitcoin miners

I understand that the transactions don't have any IP info in them but I am curious to know if it is possible to enumerate over list of all the IP addresses involved in mining?
1
vote
1answer
1k 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
2answers
47 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
135 views

Sending RPC-JSON Commands to Bitcoin Peers

Is it possible to send some commands to Bitcoin Peers? for example decoderawtransaction command?
1
vote
0answers
313 views

Bitcoin ABC stucked on connect to peer [closed]

So i have a testnet bitcoin cash that i just put txindex=1 (because a api requires this) and it stuck on block 1155875 and I restart the core and even follow the step in this thread: https://www....
2
votes
0answers
415 views

Under what circumstances does bitcoin-qt ban a peer? [duplicate]

Under What Circumstances Will Bitcoin-qt Ban A Peer? In my bitcoin-qt wallet, I am noticing that often there are a lot of banned peers. Sometimes I have as many as 10 peers banned within the wallet, ...
1
vote
2answers
395 views

How bitcoin is peer to peer?

Bitcoin's whitepaper says that "A purely peer-to-peer version of electronic cash would allow online payments to be sent directly from one party to another without going through a financial institution"...
0
votes
1answer
478 views

How to reset node information in Bitcoin Core?

I think I've just put the wrong node IPs through console and I forgot all the IPs. I would like to reset all the node information to the initial. Should I just delete peers.dat?
2
votes
1answer
281 views

Can malicious peer hack freshly installed bitcoin-core node

I'm considering two scenarios of hacking freshly installed bitcoin core node. Does freshly installed bitcoin-core node have genesis block included in the installation? This fresh node contacts some ...
2
votes
1answer
663 views

What is the NAT traversal technique used by bitcoin

https://bitcointalk.org/index.php?topic=30947.msg23736281#msg23736281 says that incoming port can be opened or UPnP enabled. Is this incoming port opened on the NAT device so that all incoming ...
1
vote
0answers
126 views

How many peers does bitcoind try to connect to?

Let's say a new node try to connect to the network. Since it doesn't have any node in its peers.dat it makes a request to the DNS seeder and receives a list of addresses. Now, how many of these ...
1
vote
0answers
21 views

What is the minimum amount of network messaging needed to get the latest block hash from a node?

Reference: https://en.bitcoin.it/wiki/Protocol_documentation#inv I want to be able to write the simplest possible script that is able to contact a Bitcoin full node (given it's IP and port) and get ...
1
vote
1answer
123 views

How to make more than 1 nodes of mine connect each other?

Lets say i have 5 nodes running. each node is on its dedicated server and is upto date. and its connected to available peers on the network. How can i make them to connect each other and not to BAN ...
0
votes
1answer
88 views

What happens when tx is broadcasted whose input is not yet received by mempool or are unknown?

lets say, there are 2 transactions tx1 address1 -> address2 tx2 address2 -> address3 our mempool doesnt have the tx1 yet, but i try to create a tx2 and broadcast it. what will happen ? ...
0
votes
1answer
571 views

Why there is only 8 peers in bitcoind?

I set maxconnections=125 in bitcoin.conf but still has only 8 connections in nodelist. Please tell why?