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

@liskhq/lisk-tree

Package Overview
Dependencies
Maintainers
3
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@liskhq/lisk-tree

Library containing Merkle tree implementations for use with Lisk-related software

  • 0.5.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
48
decreased by-65.96%
Maintainers
3
Weekly downloads
 
Created
Source

@liskhq/lisk-tree

@liskhq/lisk-tree is containing Merkle tree implementations for use with Lisk-related software

Installation

$ npm install --save @liskhq/lisk-tree

Benchmarking

Node version used: v12.14.1. Computer Spec: SSD, 6 Core, 16 GB RAM. No special configuration for Node.

Benchmark results for main lisk-tree functions:

Function1000 leaves10,000 leaves100,000 leaves
build45ms240ms2348ms
append3ms3ms4ms
generateProof (1 query)5ms5ms6ms
generateProof (100 queries)50ms125ms172ms
generateProof (1000 queries)56ms114ms168ms
generateProof (10000 queries)n/a7993ms14504ms
verifyProof (1 query)3ms5ms5ms
verifyProof (100 query)45ms106ms166ms
verifyProof (1000 query)539ms958ms1592ms
verifyProof (10000 query)n/a8632ms15909ms

License

Copyright 2016-2020 Lisk Foundation

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Keywords

FAQs

Package last updated on 06 Dec 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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