MCPcopy Create free account

hub / github.com/byron1st/simple_pbft / functions

Functions44 in github.com/byron1st/simple_pbft

↓ 9 callersFunctionLogStage
(stage string, isDone bool)
pbft/network/log.go:26
↓ 4 callersFunctionLogMsg
(msg interface{})
pbft/network/log.go:8
↓ 3 callersMethodBroadcast
(msg interface{}, path string)
pbft/network/node.go:82
↓ 3 callersMethodverifyMsg
(viewID int64, sequenceID int64, digestGot string)
pbft/consensus/pbft_impl.go:161
↓ 2 callersMethodcreateStateForNewConsensus
()
pbft/network/node.go:231
↓ 2 callersFunctiondigest
(object interface{})
pbft/consensus/pbft_impl.go:213
↓ 2 callersMethodprepared
()
pbft/consensus/pbft_impl.go:189
↓ 2 callersFunctionsend
(url string, msg []byte)
pbft/network/proxy_server.go:96
↓ 1 callersMethodCommit
(commitMsg *VoteMsg)
pbft/consensus/pbft.go:7
↓ 1 callersMethodGetCommit
(commitMsg *consensus.VoteMsg)
pbft/network/node.go:200
↓ 1 callersMethodGetPrePrepare
GetPrePrepare can be called when the node's CurrentState is nil. Consensus start procedure for normal participants.
pbft/network/node.go:154
↓ 1 callersMethodGetPrepare
(prepareMsg *consensus.VoteMsg)
pbft/network/node.go:180
↓ 1 callersMethodGetReply
(msg *consensus.ReplyMsg)
pbft/network/node.go:227
↓ 1 callersMethodGetReq
GetReq can be called when the node's CurrentState is nil. Consensus start procedure for the Primary.
pbft/network/node.go:126
↓ 1 callersFunctionHash
(content []byte)
pbft/consensus/util.go:8
↓ 1 callersFunctionNewNode
1 second.
pbft/network/node.go:37
↓ 1 callersFunctionNewServer
(nodeID string)
pbft/network/proxy_server.go:16
↓ 1 callersMethodPrePrepare
(prePrepareMsg *PrePrepareMsg)
pbft/consensus/pbft.go:5
↓ 1 callersMethodPrepare
(prepareMsg *VoteMsg)
pbft/consensus/pbft.go:6
↓ 1 callersMethodReply
(msg *consensus.ReplyMsg)
pbft/network/node.go:106
↓ 1 callersMethodStart
()
pbft/network/proxy_server.go:25
↓ 1 callersMethodStartConsensus
(request *RequestMsg)
pbft/consensus/pbft.go:4
↓ 1 callersMethodalarmToDispatcher
()
pbft/network/node.go:438
↓ 1 callersMethodcommitted
()
pbft/consensus/pbft_impl.go:201
↓ 1 callersMethoddispatchMsg
()
pbft/network/node.go:253
↓ 1 callersMethodresolveCommitMsg
(msgs []*consensus.VoteMsg)
pbft/network/node.go:499
↓ 1 callersMethodresolveMsg
()
pbft/network/node.go:390
↓ 1 callersMethodresolvePrePrepareMsg
(msgs []*consensus.PrePrepareMsg)
pbft/network/node.go:463
↓ 1 callersMethodresolvePrepareMsg
(msgs []*consensus.VoteMsg)
pbft/network/node.go:481
↓ 1 callersMethodresolveRequestMsg
(msgs []*consensus.RequestMsg)
pbft/network/node.go:445
↓ 1 callersMethodrouteMsg
(msg interface{})
pbft/network/node.go:272
↓ 1 callersMethodrouteMsgWhenAlarmed
()
pbft/network/node.go:349
↓ 1 callersMethodsetRoute
()
pbft/network/proxy_server.go:33
MethodCommit
(commitMsg *VoteMsg)
pbft/consensus/pbft_impl.go:132
FunctionCreateState
lastSequenceID will be -1 if there is no last sequence ID.
pbft/consensus/pbft_impl.go:37
MethodPrePrepare
(prePrepareMsg *PrePrepareMsg)
pbft/consensus/pbft_impl.go:85
MethodPrepare
(prepareMsg *VoteMsg)
pbft/consensus/pbft_impl.go:106
MethodStartConsensus
(request *RequestMsg)
pbft/consensus/pbft_impl.go:50
MethodgetCommit
(writer http.ResponseWriter, request *http.Request)
pbft/network/proxy_server.go:74
MethodgetPrePrepare
(writer http.ResponseWriter, request *http.Request)
pbft/network/proxy_server.go:52
MethodgetPrepare
(writer http.ResponseWriter, request *http.Request)
pbft/network/proxy_server.go:63
MethodgetReply
(writer http.ResponseWriter, request *http.Request)
pbft/network/proxy_server.go:85
MethodgetReq
(writer http.ResponseWriter, request *http.Request)
pbft/network/proxy_server.go:41
Functionmain
()
main.go:9