Skip to content

Instantly share code, notes, and snippets.

@agrcrobles
Forked from dvf/blockchain.py
Created October 4, 2017 11:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save agrcrobles/36a6979dfdab9fe5a986c3d28ce6cff3 to your computer and use it in GitHub Desktop.
Save agrcrobles/36a6979dfdab9fe5a986c3d28ce6cff3 to your computer and use it in GitHub Desktop.
Blockchain: Step 2
block = {
'index': 1,
'timestamp': 1506057125.900785,
'transactions': [
{
'sender': "8527147fe1f5426f9dd545de4b27ee00",
'recipient': "a77f5cdfa2934df3954a5c7c7da5df1f",
'amount': 5,
}
],
'proof': 324984774000,
'previous_hash': "2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment