├── .DS_Store ├── .idea ├── .gitignore ├── PaxiBFT.iml ├── misc.xml ├── modules.xml └── vcs.xml ├── HotStuff ├── hotstuff.go ├── msg.go └── replica.go ├── HotStuffBFT ├── hotstuff.go ├── msg.go └── replica.go ├── HotStuff_SL ├── Roundreplica.go ├── hotstuff.go ├── msg.go └── replica.go ├── README.md ├── ballot.go ├── ballot_test.go ├── benchmark.go ├── benchmark_test.go ├── bin ├── .DS_Store ├── build.sh ├── config.json ├── del.sh ├── master.sh ├── simulation.sh ├── start.sh ├── stat.py ├── stop.sh └── test.sh ├── checker.go ├── checker └── checker.go ├── checker_test.go ├── client.go ├── client └── client.go ├── cmd └── cmd.go ├── codec.go ├── codec_test.go ├── config.go ├── db.go ├── go.mod ├── go.sum ├── history.go ├── http.go ├── http_test.go ├── id.go ├── init.go ├── lib ├── cmap.go ├── cset.go ├── graph.go ├── graph_scc.go ├── graph_test.go ├── hash_ring.go ├── hash_ring_test.go ├── mmap.go ├── queue.go ├── set.go ├── set_test.go ├── stack.go └── stack_test.go ├── log └── log.go ├── master └── master.go ├── message.go ├── node.go ├── operation.go ├── paxos ├── client.go ├── msg.go ├── paxos.go ├── paxos_test.go └── replica.go ├── pbft ├── msg.go ├── pbft.go └── replica.go ├── pbftBFT ├── msg.go ├── pbft.go └── replica.go ├── peerset.go ├── pkg └── mod │ └── cache │ └── lock ├── policy.go ├── policy_test.go ├── quorum.go ├── rate.go ├── rate_test.go ├── server └── server.go ├── socket.go ├── socket_test.go ├── stat.go ├── state_machine.go ├── streamlet ├── msg.go ├── replica.go └── streamlet.go ├── streamletBFT ├── msg.go ├── replica.go └── streamlet.go ├── tendStar ├── msg.go ├── replica.go └── tendermint.go ├── tendermint ├── msg.go ├── replica.go └── tendermint.go ├── tendermintBFT ├── msg.go ├── replica.go └── tendermint.go ├── transport.go ├── transport_test.go ├── util.go └── view.go /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/.DS_Store -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | # Default ignored files 3 | /workspace.xml -------------------------------------------------------------------------------- /.idea/PaxiBFT.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/.idea/PaxiBFT.iml -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/.idea/misc.xml -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/.idea/modules.xml -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/.idea/vcs.xml -------------------------------------------------------------------------------- /HotStuff/hotstuff.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/HotStuff/hotstuff.go -------------------------------------------------------------------------------- /HotStuff/msg.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/HotStuff/msg.go -------------------------------------------------------------------------------- /HotStuff/replica.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/HotStuff/replica.go -------------------------------------------------------------------------------- /HotStuffBFT/hotstuff.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/HotStuffBFT/hotstuff.go -------------------------------------------------------------------------------- /HotStuffBFT/msg.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/HotStuffBFT/msg.go -------------------------------------------------------------------------------- /HotStuffBFT/replica.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/HotStuffBFT/replica.go -------------------------------------------------------------------------------- /HotStuff_SL/Roundreplica.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/HotStuff_SL/Roundreplica.go -------------------------------------------------------------------------------- /HotStuff_SL/hotstuff.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/HotStuff_SL/hotstuff.go -------------------------------------------------------------------------------- /HotStuff_SL/msg.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/HotStuff_SL/msg.go -------------------------------------------------------------------------------- /HotStuff_SL/replica.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/HotStuff_SL/replica.go -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/README.md -------------------------------------------------------------------------------- /ballot.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/ballot.go -------------------------------------------------------------------------------- /ballot_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/ballot_test.go -------------------------------------------------------------------------------- /benchmark.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/benchmark.go -------------------------------------------------------------------------------- /benchmark_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/benchmark_test.go -------------------------------------------------------------------------------- /bin/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/bin/.DS_Store -------------------------------------------------------------------------------- /bin/build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/bin/build.sh -------------------------------------------------------------------------------- /bin/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/bin/config.json -------------------------------------------------------------------------------- /bin/del.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/bin/del.sh -------------------------------------------------------------------------------- /bin/master.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/bin/master.sh -------------------------------------------------------------------------------- /bin/simulation.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/bin/simulation.sh -------------------------------------------------------------------------------- /bin/start.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/bin/start.sh -------------------------------------------------------------------------------- /bin/stat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/bin/stat.py -------------------------------------------------------------------------------- /bin/stop.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/bin/stop.sh -------------------------------------------------------------------------------- /bin/test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/bin/test.sh -------------------------------------------------------------------------------- /checker.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/checker.go -------------------------------------------------------------------------------- /checker/checker.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/checker/checker.go -------------------------------------------------------------------------------- /checker_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/checker_test.go -------------------------------------------------------------------------------- /client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/client.go -------------------------------------------------------------------------------- /client/client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/client/client.go -------------------------------------------------------------------------------- /cmd/cmd.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/cmd/cmd.go -------------------------------------------------------------------------------- /codec.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/codec.go -------------------------------------------------------------------------------- /codec_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/codec_test.go -------------------------------------------------------------------------------- /config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/config.go -------------------------------------------------------------------------------- /db.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/db.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- 1 | module github.com/salemmohammed/PaxiBFT 2 | 3 | go 1.15 4 | -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- 1 | github.com/salemmohammed/BigBFT v0.0.0-20210424031626-bb2a005bbd55 h1:MYXUiWntCQB6e+ucwgYyCAMAN7cj9I3YUC9SKoSXld4= 2 | -------------------------------------------------------------------------------- /history.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/history.go -------------------------------------------------------------------------------- /http.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/http.go -------------------------------------------------------------------------------- /http_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/http_test.go -------------------------------------------------------------------------------- /id.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/id.go -------------------------------------------------------------------------------- /init.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/init.go -------------------------------------------------------------------------------- /lib/cmap.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/lib/cmap.go -------------------------------------------------------------------------------- /lib/cset.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/lib/cset.go -------------------------------------------------------------------------------- /lib/graph.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/lib/graph.go -------------------------------------------------------------------------------- /lib/graph_scc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/lib/graph_scc.go -------------------------------------------------------------------------------- /lib/graph_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/lib/graph_test.go -------------------------------------------------------------------------------- /lib/hash_ring.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/lib/hash_ring.go -------------------------------------------------------------------------------- /lib/hash_ring_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/lib/hash_ring_test.go -------------------------------------------------------------------------------- /lib/mmap.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/lib/mmap.go -------------------------------------------------------------------------------- /lib/queue.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/lib/queue.go -------------------------------------------------------------------------------- /lib/set.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/lib/set.go -------------------------------------------------------------------------------- /lib/set_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/lib/set_test.go -------------------------------------------------------------------------------- /lib/stack.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/lib/stack.go -------------------------------------------------------------------------------- /lib/stack_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/lib/stack_test.go -------------------------------------------------------------------------------- /log/log.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/log/log.go -------------------------------------------------------------------------------- /master/master.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/master/master.go -------------------------------------------------------------------------------- /message.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/message.go -------------------------------------------------------------------------------- /node.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/node.go -------------------------------------------------------------------------------- /operation.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/operation.go -------------------------------------------------------------------------------- /paxos/client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/paxos/client.go -------------------------------------------------------------------------------- /paxos/msg.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/paxos/msg.go -------------------------------------------------------------------------------- /paxos/paxos.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/paxos/paxos.go -------------------------------------------------------------------------------- /paxos/paxos_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/paxos/paxos_test.go -------------------------------------------------------------------------------- /paxos/replica.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/paxos/replica.go -------------------------------------------------------------------------------- /pbft/msg.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/pbft/msg.go -------------------------------------------------------------------------------- /pbft/pbft.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/pbft/pbft.go -------------------------------------------------------------------------------- /pbft/replica.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/pbft/replica.go -------------------------------------------------------------------------------- /pbftBFT/msg.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/pbftBFT/msg.go -------------------------------------------------------------------------------- /pbftBFT/pbft.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/pbftBFT/pbft.go -------------------------------------------------------------------------------- /pbftBFT/replica.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/pbftBFT/replica.go -------------------------------------------------------------------------------- /peerset.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/peerset.go -------------------------------------------------------------------------------- /pkg/mod/cache/lock: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /policy.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/policy.go -------------------------------------------------------------------------------- /policy_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/policy_test.go -------------------------------------------------------------------------------- /quorum.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/quorum.go -------------------------------------------------------------------------------- /rate.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/rate.go -------------------------------------------------------------------------------- /rate_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/rate_test.go -------------------------------------------------------------------------------- /server/server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/server/server.go -------------------------------------------------------------------------------- /socket.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/socket.go -------------------------------------------------------------------------------- /socket_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/socket_test.go -------------------------------------------------------------------------------- /stat.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/stat.go -------------------------------------------------------------------------------- /state_machine.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/state_machine.go -------------------------------------------------------------------------------- /streamlet/msg.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/streamlet/msg.go -------------------------------------------------------------------------------- /streamlet/replica.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/streamlet/replica.go -------------------------------------------------------------------------------- /streamlet/streamlet.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/streamlet/streamlet.go -------------------------------------------------------------------------------- /streamletBFT/msg.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/streamletBFT/msg.go -------------------------------------------------------------------------------- /streamletBFT/replica.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/streamletBFT/replica.go -------------------------------------------------------------------------------- /streamletBFT/streamlet.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/streamletBFT/streamlet.go -------------------------------------------------------------------------------- /tendStar/msg.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/tendStar/msg.go -------------------------------------------------------------------------------- /tendStar/replica.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/tendStar/replica.go -------------------------------------------------------------------------------- /tendStar/tendermint.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/tendStar/tendermint.go -------------------------------------------------------------------------------- /tendermint/msg.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/tendermint/msg.go -------------------------------------------------------------------------------- /tendermint/replica.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/tendermint/replica.go -------------------------------------------------------------------------------- /tendermint/tendermint.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/tendermint/tendermint.go -------------------------------------------------------------------------------- /tendermintBFT/msg.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/tendermintBFT/msg.go -------------------------------------------------------------------------------- /tendermintBFT/replica.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/tendermintBFT/replica.go -------------------------------------------------------------------------------- /tendermintBFT/tendermint.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/tendermintBFT/tendermint.go -------------------------------------------------------------------------------- /transport.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/transport.go -------------------------------------------------------------------------------- /transport_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/transport_test.go -------------------------------------------------------------------------------- /util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/util.go -------------------------------------------------------------------------------- /view.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salemmohammed/PaxiBFT/HEAD/view.go --------------------------------------------------------------------------------