38 releases (8 breaking)

0.9.2 Aug 7, 2019
0.8.1 May 31, 2019
0.3.1 Mar 9, 2019
0.2.0 Oct 5, 2017
0.1.0 Jul 3, 2017

#137 in #executor

Download history 237/week @ 2024-03-24 184/week @ 2024-03-31 151/week @ 2024-04-07 341/week @ 2024-04-14 278/week @ 2024-04-21 166/week @ 2024-04-28 260/week @ 2024-05-05 195/week @ 2024-05-12 191/week @ 2024-05-19 108/week @ 2024-05-26 97/week @ 2024-06-02 58/week @ 2024-06-09 123/week @ 2024-06-16 154/week @ 2024-06-23 106/week @ 2024-06-30 45/week @ 2024-07-07

433 downloads per month
Used in 39 crates (5 directly)

GPL-3.0 license

34KB
932 lines

Rust Blockchain

crates.io Documentation

Rust Blockchain is an unopinioned blockchain framework that helps you to develop a blockchain project.

Chain

The chain module handles block import and state storage. Assumptions we have in this module:

  • We have Block, which consists of a hash, and has a parent block. It forms a chain.
  • At each Block there is a corresponding State.
  • An executor that takes a block, and parent block's state. Executing it should get the current block's state.

lib.rs:

General block framework.

Dependencies