bitcoin running a full node versus mining Archives - Anuj Varma, Hands-On Technology Architect, Clean Air Activist https://www.anujvarma.com/tag/bitcoin-running-a-full-node-versus-mining/ Production Grade Technical Solutions | Data Encryption and Public Cloud Expert Fri, 16 Feb 2018 03:47:47 +0000 en-US hourly 1 https://wordpress.org/?v=6.9.4 https://www.anujvarma.com/wp-content/uploads/anujtech.png bitcoin running a full node versus mining Archives - Anuj Varma, Hands-On Technology Architect, Clean Air Activist https://www.anujvarma.com/tag/bitcoin-running-a-full-node-versus-mining/ 32 32 Running a full node (BookKeeping) versus Mining https://www.anujvarma.com/running-a-full-node-bookkeeping-versus-mining/ https://www.anujvarma.com/running-a-full-node-bookkeeping-versus-mining/#respond Fri, 16 Feb 2018 03:45:00 +0000 http://www.anujvarma.com/?p=5109 Running a Full Node Running a node is just listening for other nodes to pass you data, checking that its valid, and passing it in further.   So a peer […]

The post Running a full node (BookKeeping) versus Mining appeared first on Anuj Varma, Hands-On Technology Architect, Clean Air Activist.

]]>
Running a Full Node

Running a node is just listening for other nodes to pass you data, checking that its valid, and passing it in further.

  So a peer will tell you “block 12345573 has parent x, is at height y, has transactions a,b,and c, its nonce is 73626 and its hash is a6h54fwj”. When you run a node, your job is to just check that those details are valid and that the hash lines up and to pass that data onto anyone else that might not know it yet.

Mining

  When you’re mining, you’re listening for new transactions, so some random peer will tell you “x wants to send y btc to z, here’s his signature “. And as a miner your job is to collect a few if these, add in the other data above (parent block), and randomly append millions of possible nonces until the resulting hash follows the rules of the bitcoin network. Once you have that hash, you transmit that block back to regular nodes to further distribute around the network.

The post Running a full node (BookKeeping) versus Mining appeared first on Anuj Varma, Hands-On Technology Architect, Clean Air Activist.

]]>
https://www.anujvarma.com/running-a-full-node-bookkeeping-versus-mining/feed/ 0