Bitcoin Forum
November 13, 2024, 04:38:08 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: what is the difference between nodes and miners?  (Read 146 times)
udayantha11 (OP)
Member
**
Offline Offline

Activity: 798
Merit: 17

2023 would most likely be as bearish as 2022


View Profile WWW
October 02, 2022, 03:29:54 PM
 #1

Please explain what ius the differance between nodes and miners? do they same

we all need universal power and cyclist of Everything
-2023 would most likely be as bearish as 2022-
=BTC will make it, but might be a long winter=

Stronger the storm, brighter the rainbow
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
October 02, 2022, 04:32:16 PM
 #2

Miners = find blocks and claim block rewards by repeatedly changing variables within the block until it's hash is below the target nonce set by the network.

Nodes = accept blocks, impose consensus rules individually and propagate (share) transactions that haven't yet been confirmed and blocks that other nodes don't yet have (they also share these transactions with miners and share the identities of other nodes to support other nodes' connectivity).
udayantha11 (OP)
Member
**
Offline Offline

Activity: 798
Merit: 17

2023 would most likely be as bearish as 2022


View Profile WWW
October 02, 2022, 05:06:19 PM
 #3

Miners = find blocks and claim block rewards by repeatedly changing variables within the block until it's hash is below the target nonce set by the network.

Nodes = accept blocks, impose consensus rules individually and propagate (share) transactions that haven't yet been confirmed and blocks that other nodes don't yet have (they also share these transactions with miners and share the identities of other nodes to support other nodes' connectivity).



Thanks... Very much for the explanation. i am little confused cause its hard to understand. can you explain by simple words

we all need universal power and cyclist of Everything
-2023 would most likely be as bearish as 2022-
=BTC will make it, but might be a long winter=

Stronger the storm, brighter the rainbow
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
October 02, 2022, 05:49:56 PM
Merited by DdmrDdmr (3), ABCbits (1)
 #4

Thanks... Very much for the explanation. i am little confused cause its hard to understand. can you explain by simple words

In what ways? Is there something you're more familiar with I could use?

Whenever someone wants to spend bitcoin they must generate a transaction and share it with nodes (most miners then collect information from nodes to mine them and confirm the transaction).

Hashing is performed on the transaction to get a txid (which you might be familiar with). A hash is a form of compression algorithm - you could imagine it like a remainder function if you don't want to go on a deep dive through the workings of the algorithm (sha256).

Once this transaction is made it must be shared with others, these others are nodes that act as the backbone of the network as they facilitate data sharing.

Miners then collect these transactions together in "blocks" and form merkle trees. The root of this tree with other information like a timestamp is then hashed to make the blockhash which is then tested to see if it's below a certain number. (finding a diagram of a merkle root tree or an explanation is likely better than me explaining it).

The mining target is hard to work out because of the way the algorithm works. If you needed to find a number close to 2 and the function was 256667 % 59 (where % is the remainder function, 59 is a coefficient and 256667 as a number set by the algorithm - this might be a bad example as a remainder function is still fairly linear but it's easier to explain than sha256). Most of this is done by ASICs (algorithm specific integrated circuits) as sha256 is an algorithm that can be programmed onto a chip.

Once these blocks are found they're sent to a node where they're then distributed to other nodes. All nodes need to share with each other is their current block height and the hash of the last block to see if there's anything new they need to listen out for.

There are other messages nodes send to others such as a list of peers they're connected to so the other node is able to connect to them.

Nodes have their own consensus rules too that can be modified by whoever is running them (or the node itself algorithmically - this is done for things like mining difficulty which is set as an average of the hashrate over the past 2 weeks worth of blocks: every 2016 blocks).

Blocks are targeted to be found at an average interval of 10 minutes but it works as an average as sometimes it can take over an hour for a block to be found and at other times two blocks can be found fairly close together. As the nature of how a block is found is random (meaning it's hard to predict when it will be found) and spontaneous (meaning it can't be predicted who finds it) there are no advantages for doing things like finding empty blocks vs full blocks (except full blocks have higher rewards due to incorporating transactions and taking their fees).

Transaction fees and block rewards are both paid to the miners of a block. Pools function as a large collection of miners and share their reward when they find one (the pool operator also takes a fee from this though).
BlackHatCoiner
Legendary
*
Offline Offline

Activity: 1694
Merit: 8336


Fiatheist


View Profile WWW
October 02, 2022, 06:13:11 PM
 #5

Nodes are the computers that constitute the peer-to-peer network. A Bitcoin node does two things:


Transactions are consisted of two parts. In one part, the owner must provide a cryptographic proof of the ownership of the coin. In the other part, the owner must provide destination of the coin. However, the system can't work as is, because there are two problems that need to be addressed.

One problem is double-spending. The second problem is the way the money supply will be distributed across the network in a decentralized fashion. Both problems can be solved with mining, wherein spending of computational power can be easily verified.

Continue reading here: New to Bitcoin? Start here!

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
odolvlobo
Legendary
*
Offline Offline

Activity: 4494
Merit: 3417



View Profile
October 03, 2022, 09:30:52 PM
 #6

Originally, a node and a miner were the same thing because the node software also contained the mining functionality. However, now the two are generally distinct.

The function of a node is to communicate with other nodes, exchanging information about transactions and blocks. Nodes form the "Bitcoin network". A node validates all transactions and blocks it receives and will not propagate invalid blocks and transactions. All Bitcoin software (including wallets and miners) connect to the Bitcoin network through a node.

The function of a miner is to extend the block chain by constructing new blocks from transactions and publishing the blocks to the nodes.

Join an anti-signature campaign: Click ignore on the members of signature campaigns.
PGP Fingerprint: 6B6BC26599EC24EF7E29A405EAF050539D0B2925 Signing address: 13GAVJo8YaAuenj6keiEykwxWUZ7jMoSLt
BitcoinBarrel
Legendary
*
Online Online

Activity: 2030
Merit: 1035


Fill Your Barrel with Bitcoins!


View Profile WWW
October 05, 2022, 08:30:53 PM
 #7

You can be a Node without mining and you can mine without being a node.

You can also be a Node and Mine at the same time.

Nodes support the network, miners solve blocks.



        ▄▄▄▄▄▄▄▄▄▄
     ▄██████████████▄
   ▄█████████████████▌
  ▐███████████████████▌
 ▄█████████████████████▄
 ███████████████████████
▐███████████████████████
▐███████████████████████
▐███████████████████████
▐███████████████████████
 ██████████████████████▀
 ▀████████████████████▀
  ▀██████████████████
    ▀▀████████████▀▀
.
.....
.....
.....
.....
.....
.....





Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!