https://github.com/tn606024/simplepbft
the golang code of simple pbft consensus implementation
https://github.com/tn606024/simplepbft
blockchain golang pbft
Last synced: 3 months ago
JSON representation
the golang code of simple pbft consensus implementation
- Host: GitHub
- URL: https://github.com/tn606024/simplepbft
- Owner: tn606024
- Created: 2020-08-26T08:37:57.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-26T08:38:23.000Z (almost 6 years ago)
- Last Synced: 2025-04-25T08:11:22.587Z (about 1 year ago)
- Topics: blockchain, golang, pbft
- Language: Go
- Homepage:
- Size: 6.84 KB
- Stars: 12
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
Simple PBFT
------
This repository contains the golang code of simple pbft consensus implementation.
How to run
------
## Build
```shell script
go build
```
### Start four pbft node
```shell script
./simplePBFT pbft node -id 0
./simplePBFT pbft node -id 1
./simplePBFT pbft node -id 2
./simplePBFT pbft node -id 3
```
### Start pbft client to send message
```shell script
./simplePBFT pbft client
```
### Reference
- https://www.jianshu.com/p/78e2b3d3af62