Vous êtes sur la page 1sur 14

Le mardi 05-09-2023

Sujet de thèse :
Intégration de la Blockchain aux applications de suivi de patient en
utilisant les plateformes IoT

Présentation de :

- Implémentation de PBFT sur :

Hyperledger Fabric
Hyperledger Sawtooth
Tendermint

Rabeb Ben Othmen


1. Hyperledger Fabric
2. Hyperledger sawtooth
3. Tendermit + cosmos

2
Hyperledger Fabric

• Plateforme de blockchain open source développée par la Fondation Linux.


• plateforme modulaire et flexible pour la conception, le développement et le déploiement de
réseaux blockchain privés et autorisés.

Caractéristiques Principales

• Permissioned architecture
• Highly modular
• Pluggable consensus

3
Architecture de Hyperledger Fabric

Éléments essentiels :

• Client
• Membership Service Provider(MSP) : Local MSP et channel
MSP
• Peer (Endorsing Peer, Committing Peer, Anchor Peer,
Leading Peer)
• Ordering-service-node or Orderer(Solo, kafka, Raft, BFT)
• Channels
• Identity
• Ledger
• Chaincode

4
Architecture de consensus dans Hyperledger Fabric

Le processus de consensus dans Hyperledger Fabric implique les étapes suivantes

Phase 1 (Endorsement) : Transaction Proposal and Endorsement


Phase2 (Ordering) : Transaction Submission and Ordering
Phase3 (Validation and Commitment) : Transaction Validation and Commitment

Mécanismes de consensus pris en charge


par Hyperledger Fabric

Solo
Kafka
Raft (crash fault tolerant (CFT) ordering
service)
BFT (v3.0) (Release v3.0.0-preview ·
hyperledger/fabric (github.com))

5
Mécanismes de consensus pris en charge par Hyperledger Fabric

BFT ordering service for Hyperledger Fabric (V3.0)

BFT-Smart is a Java open source BFT library that will be Fabric’s first Byzantine Fault Tolerant (BFT) consensus
algorithm

Article BFT-Smart Library: A Byzantine Fault-Tolerant Consensus Library for Hyperledger Fabric | IEEE Conference
Publication | IEEE Xplore

Article BFT-Smart ordering service : [1709.06921] A Byzantine Fault-Tolerant Ordering Service for the Hyperledger
Fabric Blockchain Platform (arxiv.org)

A. Barger, Y. Manevich, H. Meir and Y. Tock, "A Byzantine Fault-Tolerant Consensus Library for Hyperledger Fabric," 2021 IEEE International Conference on Blockchain and
Cryptocurrency (ICBC), Sydney, Australia, 2021, pp. 1-9, doi: 10.1109/ICBC51069.2021.9461099.

B. J. Sousa, A. Bessani and M. Vukolic, "A Byzantine Fault-Tolerant Ordering Service for the Hyperledger Fabric Blockchain Platform," 2018 48th Annual IEEE/IFIP International
Conference on Dependable Systems and Networks (DSN), Luxembourg, Luxembourg, 2018, pp. 51-58, doi: 10.1109/DSN.2018.00018. 6
Hyperledger Fabric (BFT-SMART state machine replication/consensus library)
bft-smart/library: BFT-SMaRt's project home page (github.com)

7
Hyperledger Fabric (BFT-SMART ordering service)
bft-smart/fabric-orderingservice: Byzantine fault-tolerant ordering service for Hyperledger Fabric
(github.com)
TheBFT-SMaRt module forFabric’s ordering service consists of an ordering cluster and a set of frontends.

8
Hyperledger sawtooth

Hyperledger Sawtooth est une plateforme open source de blockchain développée par la
Fondation Linux et faisant partie du projet Hyperledger.

Caractéristiques Clés :
• Architecture modulaire
• Prise en charge de plusieurs protocoles de consensus.
• Flexibilité de développement.

9
Hyperledger sawtooth

1. Clients
2. Rest API
3. Transaction Processors
4. Consensus engine
5. Validator

10
Hyperledger sawtooth (consensus engine)

Chaque nœud du réseau doit installer et exécuter le consensus PBFT


engine.
•Package : sawtooth-pbft-engine
•Exécutable: pbft-engine
•Service: sawtooth-pbft-engine.service

sawtooth-rfcs/text/0004-consensus-api.md at main · hyperledger/sawtooth-rfcs (github.com)

sawtooth-rfcs/text/0004-consensus-api.md at main · hyperledger/sawtooth-rfcs (github.com)

11
Différence entre Hyperledger sawtooth et Hyperledger Fabric

12
Tendermint + cosmos

Tendermint est un système de consensus BFT (Byzantine Fault Tolerant) open source conçu pour être utilisé
dans les réseaux blockchain

tendermint/tendermint: ⟁Tendermint Core (BFT Consensus) in Go (github.com)

Cosmos: the internet of blockchains


Cosmos est un écosystème de blockchain et une plateforme de chaînes de blocs

13
Tendermint + cosmos

Tendermint consensus code source : tendermint/tendermint: ⟁Tendermint Core


(BFT Consensus) in Go (github.com)

Différence entre PBFT et tendermint

14

Vous aimerez peut-être aussi