Advertisement
Guest User

Untitled

a guest
Feb 24th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. class Block {
  2. constructor(index, previousHash, timestamp, data, hash) {
  3. this.index = index;
  4. this.previousHash = previousHash.toString();
  5. this.timestamp = timestamp;
  6. this.data = data;
  7. this.hash = hash.toString();
  8. }
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement