NoobChain-Tutorial-Part-1
NoobChain-Tutorial-Part-1 copied to clipboard
Made hash and previousHash variables private and added the correspond…
…ing getter methods. Improved general readability.
Considering this change, though I wanted to keep the code here as similar to the article post as possible. Using private variables and getters are 100% the way to do it, However that would require larger code blocks in the article.