Skip to content
This repository has been archived by the owner on Sep 25, 2023. It is now read-only.

Simple consensus engine for Hyperledger Sawtooth for developers

License

Notifications You must be signed in to change notification settings

blockchaintp/sawtooth-devmode

 
 

Hyperledger Sawtooth

Sawtooth Devmode

Sawtooth dev mode is a consensus engine for Hyperledger Sawtooth that offers a simplified random-leader algorithm. This method is intended for testing applications built on top of the Hyperledger Sawtooth platform. It is useful when developing transaction processors, smart contracts, or other components because of its high commit rate. Dev mode commits batches as fast as possible, in order to provide quick feedback to the developer.

Dev mode also demonstrates how to use the Sawtooth consensus engine API for a lottery-style consensus implementation. Developers interested in implementing a consensus engine can use the dev mode source code as an example.

Although the dev mode consensus engine can be used in a Sawtooth network, it has a very inefficient fork-resolution algorithm and makes no guarantees about crash fault tolerance. It should not be used in a production environment.

Documentation

Documentation for how to run and extend Sawtooth is available here: https://sawtooth.hyperledger.org/docs/

Project Status

This project is an active Hyperledger project. It was proposed to the community and documented here. Information on what Active entails can be found in the Hyperledger Project Lifecycle document.

License

Hyperledger Sawtooth software is licensed under the Apache License Version 2.0 software license.

Packages

No packages published

Languages

  • Python 41.1%
  • Rust 35.7%
  • Shell 17.1%
  • Dockerfile 6.1%