-
-
Save azamsharp/5046c13f2caa231a5691876bb68205d4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Block { | |
constructor() { | |
this.index = 0 | |
this.previousHash = "" | |
this.hash = "" | |
this.nonce = 0 | |
this.transactions = [] | |
} | |
} | |
module.exports = Block |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment