How does Cryptocurrency mining work?

 Step 1: The first step of mining a block is to hash each transaction taken from the memory pool individually.

Step 2: The outputs are then sorted into pairs and hashed again and the process is repeated until “top of the tree” is reached.

Step 3: After every transaction is hashed, the hashes are then organized into something called a Merkle Tree or a hash tree, which is formed by organizing the various transaction hashes into pairs and then hashing them. 

Step 4: The mining method allows miners to keep hazing the block header over and over again, iterating through the nonce until one finally produces a correct block hash in the network miner. 

Step 5: Upon finding a correct hash, the founder node will transmit the block to the network. 

Step 6:All other nodes can search for validity of the hash and if so, add the block to their blockchain copy and move on to mining the next block.

Comments

Popular posts from this blog

What is Distributed ledger Technology?

When Should I Sell Bitcoin?

Best Programming language