Last active
May 25, 2018 01:02
-
-
Save bradford-hamilton/ae4499d396a6462100e7cc2e03aa6e69 to your computer and use it in GitHub Desktop.
This file contains 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
def create(index, timestamp, data, prev_hash) | |
block = { | |
index: index, | |
timestamp: timestamp, | |
data: data, | |
prev_hash: prev_hash | |
difficulty: self.difficulty, | |
nonce: "" | |
} | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment