9 votes
Accepted

What prevents a node from receiving a solved solution and claiming it as its own work?

Do you modify the block or do you not modify the block? If you don't modify the block, it still pays the mining reward to the same account. So you've just done what everyone wants you to do. If you ...
David Schwartz's user avatar
9 votes
Accepted

What is preventing negative balance?

if I have 1 BTC on my address, suppose I run a mining node, what prevents me from trying to mine a block in which I spend 1.2 BTC ? This is the specific set of code in Bitcoin Core that rejects ...
David A. Harding's user avatar
8 votes
Accepted

ip:port node list for testnet?

#!/bin/bash for i in testnet-seed.bitcoin.jonasschnelli.ch \ seed.tbtc.petertodd.org \ testnet-seed.bluematt.me \ testnet-seed.bitcoin.schildbach.de do nslookup $i 2>&1 | grep ...
Nick ODell's user avatar
  • 29.4k
8 votes

Historical Bitcoin full node counts

Everyone that ran a node has/had the ability to record lists of other Bitcoin nodes and their IP address with a "getaddr" request (assuming they allowed incoming connections). I am not aware of a ...
Hans Meyer's user avatar
8 votes
Accepted

Why doesn't each node store only a portion of the blockchain?

Your question is vague, but I assume your real question is why every node must store the full blockchain. The answer to that is that they don't. In fact, nodes can choose to not store any part of the ...
Pieter Wuille's user avatar
8 votes
Accepted

Does a 2009 node sync the whole bitcoin blockchain

In theory it can as the explicit consensus rules have not changed. However in practice, it will not be able to sync without some special modifications. First of all, the network version is so old ...
Ava Chow's user avatar
  • 70.4k
7 votes

What are the advantages to become a bitcoin node?

There benefit is that you operate a full node in the Bitcoin network. Yes, this is your premise but it's also the consequence of it. You merely seem to not understand what operating a full node means. ...
UTF-8's user avatar
  • 3,224
7 votes

Is there incentive for those who run lightning nodes?

Yes, but just running a lightning node is not enough. In order for your node to be able to earn fees, it has to have payments passing through it. For this you need to have a routing node, which has ...
Dalit Sairio's user avatar
7 votes
Accepted

Can a customized or non-bitcoin node be made to talk to a bitcoin node?

Of course. Bitcoin nodes are just software that implements the Bitcoin P2P protocol. There are many software packages out there that do so (including full nodes, standalone wallets, indexing software, ...
Pieter Wuille's user avatar
7 votes
Accepted

To run a full node, should I get a static IP address from my ISP?

To run a Bitcoin full node you don't need to have a static IP address as when your IP address changes you should still be able to find peers and connect to them. However, if you want to maintain the ...
Michael Folkson's user avatar
7 votes
Accepted

Why blockchain new node verify all transactions in blocks?

Bitcoin is designed to work in an antagonistic environment. If our node trusts what other nodes tell it blindly, it is trivial to lie to it. Instead, our node processes the complete blockchain itself ...
Murch's user avatar
  • 75.3k
7 votes
Accepted

What does an un-upgraded node see when new Taproot transactions are on chain?

Yet, if the transactions are valid, the old nodes have no idea where those coins got spent. Are they seen as lost coins? Old nodes do know where the coins are going, as the transaction format didn't ...
Pieter Wuille's user avatar
7 votes

What are the risks of running a pre-SegWit node (0.12.1)?

In addition to Michael's excellent answer, Bitcoin Core v12.1 doesn't include many performance improvements added over the years. Block verification is about twice as slow compared to v25.0 (according ...
Vojtěch Strnad's user avatar
6 votes
Accepted

Bitcoin node Decentralization

Yes, independently operated nodes help decentralization more than the same number of nodes operated by a single entity. That's basically the definition of "decentralization" in this context. That is ...
Jestin's user avatar
  • 8,812
6 votes

What is the reason for the recent drop in Bitcoin classic nodes?

there is indeed speculation that only a few people are running the majority of classic nodes via aws or similiar services. a user on reddit claimed to host 800 vps classic nodes alone on aws, see ...
stke's user avatar
  • 381
6 votes
Accepted

How do I still have connections without forwarding port 8333?

When your node is not accepting inbound connections (either because there's NAT in the way or because you passed -listen=0 to Bitcoin) it still makes "outbound connections." These are connections to ...
Nick ODell's user avatar
  • 29.4k
6 votes
Accepted

Is it possible to share blockchain data between multiple nodes?

I don't think this is possible; you'd have multiple node instances trying to read/write a single data directory. This is not the intended operation, you'd likely end up with corrupt data. If you ...
chytrik's user avatar
  • 18.3k
6 votes
Accepted

Can Bitcoin nodes vote to increase the money supply beyond 21 million?

The reward schedule is a consensus rule in the Bitcoin network. Consensus rules are enforced by each full node independently. Node operators choose which consensus rules they enforce per the Bitcoin ...
Murch's user avatar
  • 75.3k
6 votes
Accepted

If my node is connected to 7 nodes and 4 of those say that a block they transmitted to me is valid will i mark it as valid?

No, every node validates transactions and blocks independently according to a shared ruleset. It doesn't matter if someone creates a hundred nodes to connect to you and send you invalid transactions ...
Vojtěch Strnad's user avatar
6 votes

How does node discovery and miner discovery work?

I am wondering how nodes discover other nodes Nodes learn about other nodes through: DNS seeds (which run crawlers that maintain databases of network nodes) From their peers (nodes gossip IP ...
Pieter Wuille's user avatar
6 votes
Accepted

What are the risks of running a pre-SegWit node (0.12.1)?

Is it safe to assume that Bitcoin is not soft-fork backward compatible? The only benefit of a soft fork over say a hard fork is that old nodes aren't forked off the network if they fail to validate ...
Michael Folkson's user avatar
6 votes

What are the risks of running a pre-SegWit node (0.12.1)?

Pre-segwit nodes consider segwit transactions non-standard and will not accept them to their mempool and therefore also not forward them. They would only participate in relay of unconfirmed non-segwit ...
Murch's user avatar
  • 75.3k
5 votes
Accepted

TCP vs HTTP in Bitcoin

Http is a protocol that works on TCP. So if you have an http-server, it uses TCP to communicate anyway. The better question would be "Why should they use an http-server if they don't need it?". They ...
hardfork's user avatar
  • 2,117
5 votes

Does a Node connect to all the peers?

A node is only called a peer if you're connected to it. So by definition you are always connected to all your peers. I assume you're asking whether you're connected to every node in the network. The ...
Pieter Wuille's user avatar
5 votes

What is a txn? How can it be invalid?

"txn" is short for "transaction". The abbreviation "tx" is also often used. For an explanation of what makes a transaction (in)valid, see the links at How to know if a transaction is valid?
Nate Eldredge's user avatar
5 votes
Accepted

Bitcoind Node crashes after using -dbcache option

You are allocating far too much dbcache. If you allocate 4000 MB to the dbcache, you will use up all of your RAM and it will crash. Your operating system needs RAM, Bitcoin Core itself needs RAM ...
Ava Chow's user avatar
  • 70.4k
5 votes
Accepted

Do nodes or miners have ids

Neither nodes nor miners have unique ids at the protocol level, by design. Some miners however do voluntarily put messages in the blocks they produce, which allows identification (but, those could ...
Pieter Wuille's user avatar
5 votes
Accepted

Will the bitcoin blockchain eventually grow too large to be able to be run 'by anyone'?

There is a risk that the blockchain will continue to grow too quickly and become unwieldy, yes. However, if technology improvements continue at their current pace for several decades, and Bitcoin ...
Luke Dashjr's user avatar
  • 1,269
5 votes
Accepted

Can a node be maliciously programmed to validate all the transactions coming from a specific entity?

The number of nodes that perform validation is completely irrelevant, because there is no vote. Validating nodes validate everything independently; they all have their own mempool with transactions ...
Pieter Wuille's user avatar
5 votes

It only takes 20,000 computers to alter the Bitcoin blockchain?

The blockchain is not determined by a majority vote and does not necessarily change if a significant portion of nodes claim an alternative chain is the main chain. Rather the main chain is determined ...
Ava Chow's user avatar
  • 70.4k

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