Skip to content

splintercommunity/sawtooth-pbft

Repository files navigation

Sawtooth PBFT

This repository contains an implementation of the Practical Byzantine Fault Tolerant (PBFT) consensus algorithm for Sawtooth.

About PBFT

PBFT is designed to tolerate the failure of nodes in a distributed network, as well as nodes sending incorrect messages to other nodes, as long as fewer than one-third of the nodes are considered faulty. PBFT networks need a minimum of four nodes to be Byzantine fault tolerant.

Sawtooth PBFT is based on the algorithm described in Practical Byzantine Fault Tolerance, and is adapted for use in Sawtooth.

For more information, see the Sawtooth PBFT documentation.

Using Sawtooth PBFT Consensus

To configure a Sawtooth network with PBFT consensus, see the Sawtooth documentation:

Motivation

PBFT was chosen as a Sawtooth consensus algorithm in order to provide Byzantine fault tolerant consensus for a system without a Trusted Execution Environment (TEE). (PoET-SGX consensus requires a TEE.)

The proposal to include PBFT in Sawtooth is located in Sawtooth RFC 0019-pbft-consensus.md.

Sawtooth PBFT uses the Sawtooth consensus API that is described by Sawtooth RFC 0004-consensus-api.md.

Documentation

License

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