Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/byron1st/simple_pbft
/ functions
Functions
44 in github.com/byron1st/simple_pbft
⨍
Functions
44
◇
Types & classes
13
↓ 9 callers
Function
LogStage
(stage string, isDone bool)
pbft/network/log.go:26
↓ 4 callers
Function
LogMsg
(msg interface{})
pbft/network/log.go:8
↓ 3 callers
Method
Broadcast
(msg interface{}, path string)
pbft/network/node.go:82
↓ 3 callers
Method
verifyMsg
(viewID int64, sequenceID int64, digestGot string)
pbft/consensus/pbft_impl.go:161
↓ 2 callers
Method
createStateForNewConsensus
()
pbft/network/node.go:231
↓ 2 callers
Function
digest
(object interface{})
pbft/consensus/pbft_impl.go:213
↓ 2 callers
Method
prepared
()
pbft/consensus/pbft_impl.go:189
↓ 2 callers
Function
send
(url string, msg []byte)
pbft/network/proxy_server.go:96
↓ 1 callers
Method
Commit
(commitMsg *VoteMsg)
pbft/consensus/pbft.go:7
↓ 1 callers
Method
GetCommit
(commitMsg *consensus.VoteMsg)
pbft/network/node.go:200
↓ 1 callers
Method
GetPrePrepare
GetPrePrepare can be called when the node's CurrentState is nil. Consensus start procedure for normal participants.
pbft/network/node.go:154
↓ 1 callers
Method
GetPrepare
(prepareMsg *consensus.VoteMsg)
pbft/network/node.go:180
↓ 1 callers
Method
GetReply
(msg *consensus.ReplyMsg)
pbft/network/node.go:227
↓ 1 callers
Method
GetReq
GetReq can be called when the node's CurrentState is nil. Consensus start procedure for the Primary.
pbft/network/node.go:126
↓ 1 callers
Function
Hash
(content []byte)
pbft/consensus/util.go:8
↓ 1 callers
Function
NewNode
1 second.
pbft/network/node.go:37
↓ 1 callers
Function
NewServer
(nodeID string)
pbft/network/proxy_server.go:16
↓ 1 callers
Method
PrePrepare
(prePrepareMsg *PrePrepareMsg)
pbft/consensus/pbft.go:5
↓ 1 callers
Method
Prepare
(prepareMsg *VoteMsg)
pbft/consensus/pbft.go:6
↓ 1 callers
Method
Reply
(msg *consensus.ReplyMsg)
pbft/network/node.go:106
↓ 1 callers
Method
Start
()
pbft/network/proxy_server.go:25
↓ 1 callers
Method
StartConsensus
(request *RequestMsg)
pbft/consensus/pbft.go:4
↓ 1 callers
Method
alarmToDispatcher
()
pbft/network/node.go:438
↓ 1 callers
Method
committed
()
pbft/consensus/pbft_impl.go:201
↓ 1 callers
Method
dispatchMsg
()
pbft/network/node.go:253
↓ 1 callers
Method
resolveCommitMsg
(msgs []*consensus.VoteMsg)
pbft/network/node.go:499
↓ 1 callers
Method
resolveMsg
()
pbft/network/node.go:390
↓ 1 callers
Method
resolvePrePrepareMsg
(msgs []*consensus.PrePrepareMsg)
pbft/network/node.go:463
↓ 1 callers
Method
resolvePrepareMsg
(msgs []*consensus.VoteMsg)
pbft/network/node.go:481
↓ 1 callers
Method
resolveRequestMsg
(msgs []*consensus.RequestMsg)
pbft/network/node.go:445
↓ 1 callers
Method
routeMsg
(msg interface{})
pbft/network/node.go:272
↓ 1 callers
Method
routeMsgWhenAlarmed
()
pbft/network/node.go:349
↓ 1 callers
Method
setRoute
()
pbft/network/proxy_server.go:33
Method
Commit
(commitMsg *VoteMsg)
pbft/consensus/pbft_impl.go:132
Function
CreateState
lastSequenceID will be -1 if there is no last sequence ID.
pbft/consensus/pbft_impl.go:37
Method
PrePrepare
(prePrepareMsg *PrePrepareMsg)
pbft/consensus/pbft_impl.go:85
Method
Prepare
(prepareMsg *VoteMsg)
pbft/consensus/pbft_impl.go:106
Method
StartConsensus
(request *RequestMsg)
pbft/consensus/pbft_impl.go:50
Method
getCommit
(writer http.ResponseWriter, request *http.Request)
pbft/network/proxy_server.go:74
Method
getPrePrepare
(writer http.ResponseWriter, request *http.Request)
pbft/network/proxy_server.go:52
Method
getPrepare
(writer http.ResponseWriter, request *http.Request)
pbft/network/proxy_server.go:63
Method
getReply
(writer http.ResponseWriter, request *http.Request)
pbft/network/proxy_server.go:85
Method
getReq
(writer http.ResponseWriter, request *http.Request)
pbft/network/proxy_server.go:41
Function
main
()
main.go:9