Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RequestCompensator ¶
type RequestCompensator interface { // SendRequest 发送请求 SendRequest(nodeId string, missProposal *maxbft.ProposalFetchMsg) }
RequestCompensator defines a compensator to get missing proposals from other consensus nodes
type ResponseCompensator ¶
type ResponseCompensator interface { // HandleRequest 处理请求 HandleRequest(msg *maxbft.ProposalFetchMsg) //HandleVoteRequest 处理拉取投票请求 HandleVoteRequest(msg *maxbft.VoteFetchMsg) }
ResponseCompensator 应答补偿器 用于处理需要补偿的maxbft请求
Click to show internal directories.
Click to hide internal directories.