Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

merkle-patricia-tree

Package Overview
Dependencies
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

merkle-patricia-tree - npm Package Compare versions

Comparing version 2.0.3 to 2.1.0

6

baseTrie.js

@@ -180,3 +180,3 @@ const assert = require('assert')

* Writes a value directly to the underlining db
* @method putRaw
* @mremoveListenethod putRaw
* @param {Buffer} key

@@ -695,5 +695,5 @@ * @param {Buffer} key

root = ethUtil.toBuffer(root)
this._lookupNode(root, function (err, value) {
cb(err, !!value)
this._lookupNode(root, function (value) {
cb(null, !!value)
})
}
{
"name": "merkle-patricia-tree",
"version": "2.0.3",
"version": "2.1.0",
"description": "This is an implementation of the modified merkle patricia tree as speficed in the Ethereum's yellow paper.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -93,3 +93,3 @@ # SYNOPSIS

#### `trie.batch(operations)`
#### `trie.batch(operations, cb)`
Give an hash of operation adds them to the DB

@@ -96,0 +96,0 @@ - `operations` a hash of `key`/`values` to add to the trie.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc