brb 1.0.5

BRB: a Byzantine Fault Tolerant (BFT) system for achieving network agreement over eventually consistent data-type algorithms such as CRDTs
Documentation
# BRB: Byzantine Reliable Broadcast

[MaidSafe website]http://maidsafe.net | [Safe Network Forum]https://safenetforum.org/
:-------------------------------------: | :---------------------------------------------:

## About

BRB is a Byzantine Fault Tolerant (BFT) system for achieving network agreement over eventually consistent data-type algorithms such as CRDTs.

For an overview how BRB works, please see these slides. ([pdf]doc/BRB.pdf?raw=true | [odp]doc/BRB.odp?raw=true).

This crate and its related crates (`brb_*`) implement a loosely-coupled Byzantine Fault Tolerant (BFT) system for achieving network agreement over eventually consistent data-type algorithms such as CRDTs.

## BRB Crates

As of this writing, the crates are:

|crate|description|
|-----|-----------|
|[brb]https://github.com/maidsafe/brb   |this crate. provides BRB implementation and BRBDataType trait that brb_dt_* crates implement|
|[brb_membership]https://github.com/maidsafe/brb_membership|BRB dynamic membership: support for peers joining and leaving a BRB group|
|[brb_dt_at2]https://github.com/maidsafe/brb_dt_at2|An implementation of the [AT2 algorithm]https://arxiv.org/pdf/1812.10844.pdf in a BRB DataType wrapper|
|[brb_dt_orswot]https://github.com/maidsafe/brb_dt_orswot|A BRB DataType wrapper for the Orswot CRDT algorithm in [rust-crdt]https://github.com/rust-crdt/rust-crdt/|
|[brb_dt_tree]https://github.com/maidsafe/brb_dt_tree|A BRB DataType wrapper for the Tree CRDT algorithm in [crdt_tree]https://github.com/maidsafe/crdt_tree/|
|[brb_node_qp2p]https://github.com/maidsafe/brb_node_qp2p|Interactive P2P node (CLI) for using BRB over Quic protocol via [qp2p]https://github.com/maidsafe/qp2p|

Each `brb_dt_*` crate provides a particular data-type with its own operations that are wrapped in such a way that it can be transferred via BRB.  At present AT2 and CRDT data types are well suited for this.  We intend to wrap many such data types, with each wrapper in its own crate.

## Traits

trait | description
----- | -----------
|[BRBDataType]src/brb_data_type.rs| Data types to be secured should implement this|

## Prior Work

This crate and its sibling have been broken out of the original [bft-crdts](https://github.com/davidrusu/bft-crdts/) crate.  Additional documentation and source code can be found there.


## License

This Safe Network software is dual-licensed under the Modified BSD (<LICENSE-BSD> <https://opensource.org/licenses/BSD-3-Clause>) or the MIT license (<LICENSE-MIT> <https://opensource.org/licenses/MIT>) at your option.

## Contributing

Want to contribute? Great :tada:

There are many ways to give back to the project, whether it be writing new code, fixing bugs, or just reporting errors. All forms of contributions are encouraged!

For instructions on how to contribute, see our [Guide to contributing](https://github.com/maidsafe/QA/blob/master/CONTRIBUTING.md).