Skip to content

Instantly share code, notes, and snippets.

@gabrocheleau
Created June 20, 2020 02:52
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 gabrocheleau/e622cd1ed96ddfaf8f5314d3ae35d39d to your computer and use it in GitHub Desktop.
Save gabrocheleau/e622cd1ed96ddfaf8f5314d3ae35d39d to your computer and use it in GitHub Desktop.
Markdium-Ethereum's Merkle Patricia Trees
console.log('Our computed hash: ', keccak256(rlp.encode(node2.raw())))
console.log('The extension node hash: ', node1.node._branches[3])
// RESULT
Our computed hash:
The extension node hash:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment