@polkadot/trie-db-old
This is an implementation of the modified merkle patricia tree as speficed in Ethereum's yellow paper, adpated for Polkadot.
Last updated 2 years ago by jacogr .
MPL-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @polkadot/trie-db-old 
SYNC missed versions from official npm registry.

polkadotjs mpl-2 style npm travis maintainability coverage dependency devDependency

@polkadot/trie-db

An Implementation of the Ethereum Merkle Patricia Tree that uses Blake2 for hashing.

Adapted from Ethereum

The has been adapted from the original EthereumJs implementation with the following changes -

  • Introduce TypeScript into the mix
  • ES6-ify as applicable (Classes, self -> this, function() {} -> () => {})
  • Moves to a Promise-based interface (as applicable)
  • Support only Uint8Array key/values (Buffer/String in the original)
  • Use utilities from @polkadot/util
  • Supports blake2 hashing (sha3 in the original), aligning with the Polkadot tech stack)
  • Updated the build steps with sources moved to src/
  • Tests updated to use Jest
  • Upgrade interfaces to latest levelup
  • Removed the secure interface (not applicable for Substrate chains)

... well at least the above is the idea behind the fork ...

Current Tags

  • 0.29.5                                ...           latest (2 years ago)

5 Versions

  • 0.29.5                                ...           2 years ago
  • 0.29.4                                ...           2 years ago
  • 0.29.3                                ...           2 years ago
  • 0.29.2                                ...           2 years ago
  • 0.29.1                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (13)
Dev Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |