Mining rewards & transactions – Blockchain in Javascript (part 3)

Blockchain
Implementing miner rewards and basic transactions in our Javascript based blockchain.

Mining rewards steadily introduce new coins into the system.

OOPS, I made a small mistake! In the minePendingTransactions() method, you have to pass the hash of the previous block when you’re creating a new Block() instance. This was fixed on GitHub:

► Source code
Available on GitHub:
https://github.com/SavjeeTutorials/SavjeeCoin

►►► Buying Bitcoin or Ethereum
Get $10 for free when buying through my affiliate link (thanks!):
https://goo.gl/G9NQsu

🌍 Social
Twitter: https://twitter.com/Savjee
Facebook: https://facebook.com/Savjee
Blog: https://savjee.be

❤️ Become a Simply Explained member: https://www.youtube.com/channel/UCnxrdFPXJMeHru_b4Q_vTPQ/join

Products You May Like

Articles You May Like

🔴 BITCOIN LIVE 🔴 BTC Divergence Played Out! – Crypto Technical Analysis
BITCOIN PUMP!! WARNING: Watch Out For This MOVE NEXT! (Cryptocurrency Trading Price Analysis + News)
HUGE BITCOIN NEWS – THIS HASN’T HAPPENED TO BITCOIN IN THREE YEARS!
Expert in Cryptocurrency, Complete Course Part01 Introduction to Cryptonary cryptocurrency
BREAKING: ETH 2.0 LAUNCH!!! 🚀 $9000 ETHEREUM PRICE PREDICTION!!!

Leave a Reply

Your email address will not be published. Required fields are marked *