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

#129 in #executor

Download history 188/week @ 2024-07-23 167/week @ 2024-07-30 179/week @ 2024-08-06 101/week @ 2024-08-13 221/week @ 2024-08-20 188/week @ 2024-08-27 195/week @ 2024-09-03 160/week @ 2024-09-10 136/week @ 2024-09-17 169/week @ 2024-09-24 84/week @ 2024-10-01 128/week @ 2024-10-08 220/week @ 2024-10-15 253/week @ 2024-10-22 156/week @ 2024-10-29 188/week @ 2024-11-05

849 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