Author

Topic: How do peers of bitcoin type confirm transactions? (Read 168 times)

legendary
Activity: 2870
Merit: 7490
Crypto Swap Exchange
Nodes have to be connected to the internet but you can do it with VPN or Tor if you wish.

Not "have to be ...", but "usually is ...". For example, you could use Blockstream satellite which doesn't use internet protocol[1]. And it's worth to mention some full node software such as Bitcoin Core also support I2P[2] (which is alternative of Tor),

[1] https://blockstream.com/satellite/.
[2] https://bitcoin.stackexchange.com/a/103403
legendary
Activity: 2268
Merit: 18711
When transactions are made it has to compare them to to other nodes.
This does not happen. When a transaction is broadcast to a node, a node will attempt to verify it against its own code and protocols. If it is successfully verified, then the node will broadcast it to other nodes. These other nodes will perform the same internal verification before broadcast it on. At no point does a node compare the transaction to other nodes and ask for their feedback.

It has to broadcast new transactions to other nodes as well as its most recently downloaded blocks to ensure that it has the same copy as other nodes.
Again, nodes don't compare their recent blocks to other nodes. They simply receive a new block, attempt to verify it, and if it verifies successfully then add it to their chain. This is how chain splits can happen when 2 or more equally valid blocks are mined at the same height. If nodes compared their chains to each other then there would have to be some mechanism for resolving the split before the next block is mined, which there isn't (and indeed, can't be in a decentralized system).
sr. member
Activity: 467
Merit: 578
-What duties must a node perform in order to be regarded a complete network node?
It has to have a copy of the complete Blockchain up to date which it will send and recieve from other nodes to make sure that it is exactly the same this verifies that the Blockchain is consistent and there is no one exploiting to trying to change the consensus. When transactions are made it has to compare them to to other nodes. It has to broadcast new transactions to other nodes as well as its most recently downloaded blocks to ensure that it has the same copy as other nodes. Any thing less then this means it is a partial node. Nodes have to be connected to the internet but you can do it with VPN or Tor if you wish.

-How do nodes pass information or communicate with each other across the bitcoin network.
They send information directly to other nodes and not to a centralized server so your node needs to allow sending data to other nodes and receive other date. It then validates them.
legendary
Activity: 2268
Merit: 18711
when the block is mined, the miners add all the unconfirmed transactions in the mempool with a total that does not exceed max block size
There is no requirement for miners to add as many unconfirmed transactions as they can fit in to their block, and indeed, there is no requirement for miners to add any transactions at all other than the coinbase transaction to their block. It is not that rare to see empty blocks being mined which contain only the coinbase transaction and nothing else. There have been two such blocks within the last 24 hours - 778,469 and 778,448.

Usually this happens when a miner finds a block very soon after receiving the previous block. They have not yet fully verified the previous block, so rather than have their equipment sitting idle they simply attempt to mine an empty block for a few seconds until they have verified the previous block and updated their UTXO sets.
hero member
Activity: 406
Merit: 443
-What duties must a node perform in order to be regarded a complete network node?
you can run full node software on any hardware but running it on weak hardware, may cuz some problems, so you need Minimum HW requirements and stable internet connection.
you may find more here https://github.com/bitcoinbook/bitcoinbook/blob/develop/ch03.asciidoc

Regarding the question in the title, when the block is mined, the miners add all the unconfirmed transactions in the mempool with a total that does not exceed max block size and thus you get one confirmation. Mining more blocks above it increases the number and so on.
hero member
Activity: 658
Merit: 545
Every bitcoin transaction's history is recorded in a ledger. Maintaining a copy of the blockchain and routinely scanning for new transactions and blocks to validate are required by a node.
-What duties must a node perform in order to be regarded a complete network node?
-How do nodes pass information or communicate with each other across the bitcoin network.
-Also need assistance in understanding how peers of the bitcoin type are able to confirm transactions without keeping a complete copy of the bitcoin ledger.
Jump to: