merkle-patricia-tree
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -687,2 +687,11 @@ var assert = require('assert'), | ||
//creates a new trie with a shared cache | ||
internals.Trie.prototype.copy = function (){ | ||
var trie = new internals.Trie({db:this.db}); | ||
trie.isCheckpoint = this.isCheckpoint; | ||
trie.isImmutable = this.isImmutable; | ||
trie._cache = this._cache; | ||
return trie; | ||
}; | ||
internals.Trie.prototype._getCheckpointTrie = function () { | ||
@@ -689,0 +698,0 @@ if (this.isCheckpoint) { |
{ | ||
"name": "merkle-patricia-tree", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"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", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
443162
2439
0