Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 1.72 KB

README.md

File metadata and controls

49 lines (33 loc) · 1.72 KB

BLOCKSET

The blockset application is a command line program that can store and retrieve data blocks using a content-dependent tree (CDT) hash function as a universal address of the blocks.

Articles:

Prerequisites

Installation

To install the latest stable version from crates.io, run:

cargo install blockset

To install the current version from the main branch, run:

cargo install --git https://github.com/datablockset/blockset

To unininstall the blockset, run:

cargo uninstall blockset

Command line interface.

For Developers

Internal documentation: https://blockset.pages.dev/.

Best practices

  • Make it simple.
  • Avoid unsafe code. Currently, we don't have unsafe code.
  • No I/O is allowed in a library. We have 100% code coverage.
  • Make const functions if possible.
  • Avoid using macros. Allowed macros: derive, cfg, test, assert.., wasm_bindgen_test.
  • Avoid using third-party dependencies, especially if they use I/O directly.