Documentation ¶
Index ¶
- type CatchUpRequest
- type CatchUpResponse
- type Commit
- type Done
- type Event
- type Event_ProposeTimeout
- type Event_Type
- type Event_TypeWrapper
- type Event_ViewChangeSegTimeout
- type Event_ViewChangeSnTimeout
- type Message
- type Message_CatchUpRequest
- type Message_CatchUpResponse
- type Message_Commit
- type Message_Done
- type Message_MissingPreprepare
- type Message_NewView
- type Message_Prepare
- type Message_Preprepare
- type Message_PreprepareRequest
- type Message_SignedViewChange
- type Message_Type
- type Message_TypeWrapper
- type MissingPreprepare
- type NewView
- type PSetEntry
- type Prepare
- type Preprepare
- type PreprepareRequest
- type ProposeTimeout
- type QSetEntry
- type SignedViewChange
- type ViewChange
- type ViewChangeSNTimeout
- type ViewChangeSegTimeout
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CatchUpRequest ¶
func CatchUpRequestFromPb ¶
func CatchUpRequestFromPb(pb *pbftpb.CatchUpRequest) *CatchUpRequest
func (*CatchUpRequest) MirReflect ¶
func (*CatchUpRequest) MirReflect() mirreflect.Type
func (*CatchUpRequest) Pb ¶
func (m *CatchUpRequest) Pb() *pbftpb.CatchUpRequest
type CatchUpResponse ¶
type CatchUpResponse struct {
Resp *Preprepare
}
func CatchUpResponseFromPb ¶
func CatchUpResponseFromPb(pb *pbftpb.CatchUpResponse) *CatchUpResponse
func (*CatchUpResponse) MirReflect ¶
func (*CatchUpResponse) MirReflect() mirreflect.Type
func (*CatchUpResponse) Pb ¶
func (m *CatchUpResponse) Pb() *pbftpb.CatchUpResponse
type Commit ¶
func CommitFromPb ¶
func (*Commit) MirReflect ¶
func (*Commit) MirReflect() mirreflect.Type
type Done ¶
type Done struct {
Digests [][]uint8
}
func DoneFromPb ¶
func (*Done) MirReflect ¶
func (*Done) MirReflect() mirreflect.Type
type Event ¶
type Event struct {
Type Event_Type
}
func EventFromPb ¶
func (*Event) MirReflect ¶
func (*Event) MirReflect() mirreflect.Type
type Event_ProposeTimeout ¶
type Event_ProposeTimeout struct {
ProposeTimeout *ProposeTimeout
}
func (*Event_ProposeTimeout) MirReflect ¶
func (*Event_ProposeTimeout) MirReflect() mirreflect.Type
func (*Event_ProposeTimeout) Pb ¶
func (w *Event_ProposeTimeout) Pb() pbftpb.Event_Type
func (*Event_ProposeTimeout) Unwrap ¶
func (w *Event_ProposeTimeout) Unwrap() *ProposeTimeout
type Event_Type ¶
type Event_Type interface { mirreflect.GeneratedType Pb() pbftpb.Event_Type // contains filtered or unexported methods }
func Event_TypeFromPb ¶
func Event_TypeFromPb(pb pbftpb.Event_Type) Event_Type
type Event_TypeWrapper ¶
type Event_TypeWrapper[T any] interface { Event_Type Unwrap() *T }
type Event_ViewChangeSegTimeout ¶
type Event_ViewChangeSegTimeout struct {
ViewChangeSegTimeout *ViewChangeSegTimeout
}
func (*Event_ViewChangeSegTimeout) MirReflect ¶
func (*Event_ViewChangeSegTimeout) MirReflect() mirreflect.Type
func (*Event_ViewChangeSegTimeout) Pb ¶
func (w *Event_ViewChangeSegTimeout) Pb() pbftpb.Event_Type
func (*Event_ViewChangeSegTimeout) Unwrap ¶
func (w *Event_ViewChangeSegTimeout) Unwrap() *ViewChangeSegTimeout
type Event_ViewChangeSnTimeout ¶
type Event_ViewChangeSnTimeout struct {
ViewChangeSnTimeout *ViewChangeSNTimeout
}
func (*Event_ViewChangeSnTimeout) MirReflect ¶
func (*Event_ViewChangeSnTimeout) MirReflect() mirreflect.Type
func (*Event_ViewChangeSnTimeout) Pb ¶
func (w *Event_ViewChangeSnTimeout) Pb() pbftpb.Event_Type
func (*Event_ViewChangeSnTimeout) Unwrap ¶
func (w *Event_ViewChangeSnTimeout) Unwrap() *ViewChangeSNTimeout
type Message ¶
type Message struct {
Type Message_Type
}
func MessageFromPb ¶
func (*Message) MirReflect ¶
func (*Message) MirReflect() mirreflect.Type
type Message_CatchUpRequest ¶
type Message_CatchUpRequest struct {
CatchUpRequest *CatchUpRequest
}
func (*Message_CatchUpRequest) MirReflect ¶
func (*Message_CatchUpRequest) MirReflect() mirreflect.Type
func (*Message_CatchUpRequest) Pb ¶
func (w *Message_CatchUpRequest) Pb() pbftpb.Message_Type
func (*Message_CatchUpRequest) Unwrap ¶
func (w *Message_CatchUpRequest) Unwrap() *CatchUpRequest
type Message_CatchUpResponse ¶
type Message_CatchUpResponse struct {
CatchUpResponse *CatchUpResponse
}
func (*Message_CatchUpResponse) MirReflect ¶
func (*Message_CatchUpResponse) MirReflect() mirreflect.Type
func (*Message_CatchUpResponse) Pb ¶
func (w *Message_CatchUpResponse) Pb() pbftpb.Message_Type
func (*Message_CatchUpResponse) Unwrap ¶
func (w *Message_CatchUpResponse) Unwrap() *CatchUpResponse
type Message_Commit ¶
type Message_Commit struct {
Commit *Commit
}
func (*Message_Commit) MirReflect ¶
func (*Message_Commit) MirReflect() mirreflect.Type
func (*Message_Commit) Pb ¶
func (w *Message_Commit) Pb() pbftpb.Message_Type
func (*Message_Commit) Unwrap ¶
func (w *Message_Commit) Unwrap() *Commit
type Message_Done ¶
type Message_Done struct {
Done *Done
}
func (*Message_Done) MirReflect ¶
func (*Message_Done) MirReflect() mirreflect.Type
func (*Message_Done) Pb ¶
func (w *Message_Done) Pb() pbftpb.Message_Type
func (*Message_Done) Unwrap ¶
func (w *Message_Done) Unwrap() *Done
type Message_MissingPreprepare ¶
type Message_MissingPreprepare struct {
MissingPreprepare *MissingPreprepare
}
func (*Message_MissingPreprepare) MirReflect ¶
func (*Message_MissingPreprepare) MirReflect() mirreflect.Type
func (*Message_MissingPreprepare) Pb ¶
func (w *Message_MissingPreprepare) Pb() pbftpb.Message_Type
func (*Message_MissingPreprepare) Unwrap ¶
func (w *Message_MissingPreprepare) Unwrap() *MissingPreprepare
type Message_NewView ¶
type Message_NewView struct {
NewView *NewView
}
func (*Message_NewView) MirReflect ¶
func (*Message_NewView) MirReflect() mirreflect.Type
func (*Message_NewView) Pb ¶
func (w *Message_NewView) Pb() pbftpb.Message_Type
func (*Message_NewView) Unwrap ¶
func (w *Message_NewView) Unwrap() *NewView
type Message_Prepare ¶
type Message_Prepare struct {
Prepare *Prepare
}
func (*Message_Prepare) MirReflect ¶
func (*Message_Prepare) MirReflect() mirreflect.Type
func (*Message_Prepare) Pb ¶
func (w *Message_Prepare) Pb() pbftpb.Message_Type
func (*Message_Prepare) Unwrap ¶
func (w *Message_Prepare) Unwrap() *Prepare
type Message_Preprepare ¶
type Message_Preprepare struct {
Preprepare *Preprepare
}
func (*Message_Preprepare) MirReflect ¶
func (*Message_Preprepare) MirReflect() mirreflect.Type
func (*Message_Preprepare) Pb ¶
func (w *Message_Preprepare) Pb() pbftpb.Message_Type
func (*Message_Preprepare) Unwrap ¶
func (w *Message_Preprepare) Unwrap() *Preprepare
type Message_PreprepareRequest ¶
type Message_PreprepareRequest struct {
PreprepareRequest *PreprepareRequest
}
func (*Message_PreprepareRequest) MirReflect ¶
func (*Message_PreprepareRequest) MirReflect() mirreflect.Type
func (*Message_PreprepareRequest) Pb ¶
func (w *Message_PreprepareRequest) Pb() pbftpb.Message_Type
func (*Message_PreprepareRequest) Unwrap ¶
func (w *Message_PreprepareRequest) Unwrap() *PreprepareRequest
type Message_SignedViewChange ¶
type Message_SignedViewChange struct {
SignedViewChange *SignedViewChange
}
func (*Message_SignedViewChange) MirReflect ¶
func (*Message_SignedViewChange) MirReflect() mirreflect.Type
func (*Message_SignedViewChange) Pb ¶
func (w *Message_SignedViewChange) Pb() pbftpb.Message_Type
func (*Message_SignedViewChange) Unwrap ¶
func (w *Message_SignedViewChange) Unwrap() *SignedViewChange
type Message_Type ¶
type Message_Type interface { mirreflect.GeneratedType Pb() pbftpb.Message_Type // contains filtered or unexported methods }
func Message_TypeFromPb ¶
func Message_TypeFromPb(pb pbftpb.Message_Type) Message_Type
type Message_TypeWrapper ¶
type Message_TypeWrapper[T any] interface { Message_Type Unwrap() *T }
type MissingPreprepare ¶
type MissingPreprepare struct {
Preprepare *Preprepare
}
func MissingPreprepareFromPb ¶
func MissingPreprepareFromPb(pb *pbftpb.MissingPreprepare) *MissingPreprepare
func (*MissingPreprepare) MirReflect ¶
func (*MissingPreprepare) MirReflect() mirreflect.Type
func (*MissingPreprepare) Pb ¶
func (m *MissingPreprepare) Pb() *pbftpb.MissingPreprepare
type NewView ¶
type NewView struct { View types1.ViewNr ViewChangeSenders []stdtypes.NodeID SignedViewChanges []*SignedViewChange PreprepareSeqNrs []types.SeqNr Preprepares []*Preprepare }
func NewViewFromPb ¶
func (*NewView) MirReflect ¶
func (*NewView) MirReflect() mirreflect.Type
type PSetEntry ¶
func PSetEntryFromPb ¶
func (*PSetEntry) MirReflect ¶
func (*PSetEntry) MirReflect() mirreflect.Type
type Prepare ¶
func PrepareFromPb ¶
func (*Prepare) MirReflect ¶
func (*Prepare) MirReflect() mirreflect.Type
type Preprepare ¶
func PreprepareFromPb ¶
func PreprepareFromPb(pb *pbftpb.Preprepare) *Preprepare
func (*Preprepare) MirReflect ¶
func (*Preprepare) MirReflect() mirreflect.Type
func (*Preprepare) Pb ¶
func (m *Preprepare) Pb() *pbftpb.Preprepare
type PreprepareRequest ¶
func PreprepareRequestFromPb ¶
func PreprepareRequestFromPb(pb *pbftpb.PreprepareRequest) *PreprepareRequest
func (*PreprepareRequest) MirReflect ¶
func (*PreprepareRequest) MirReflect() mirreflect.Type
func (*PreprepareRequest) Pb ¶
func (m *PreprepareRequest) Pb() *pbftpb.PreprepareRequest
type ProposeTimeout ¶
type ProposeTimeout struct {
ProposeTimeout uint64
}
func ProposeTimeoutFromPb ¶
func ProposeTimeoutFromPb(pb *pbftpb.ProposeTimeout) *ProposeTimeout
func (*ProposeTimeout) MirReflect ¶
func (*ProposeTimeout) MirReflect() mirreflect.Type
func (*ProposeTimeout) Pb ¶
func (m *ProposeTimeout) Pb() *pbftpb.ProposeTimeout
type QSetEntry ¶
func QSetEntryFromPb ¶
func (*QSetEntry) MirReflect ¶
func (*QSetEntry) MirReflect() mirreflect.Type
type SignedViewChange ¶
type SignedViewChange struct { ViewChange *ViewChange Signature []uint8 }
func SignedViewChangeFromPb ¶
func SignedViewChangeFromPb(pb *pbftpb.SignedViewChange) *SignedViewChange
func (*SignedViewChange) MirReflect ¶
func (*SignedViewChange) MirReflect() mirreflect.Type
func (*SignedViewChange) Pb ¶
func (m *SignedViewChange) Pb() *pbftpb.SignedViewChange
type ViewChange ¶
func ViewChangeFromPb ¶
func ViewChangeFromPb(pb *pbftpb.ViewChange) *ViewChange
func (*ViewChange) MirReflect ¶
func (*ViewChange) MirReflect() mirreflect.Type
func (*ViewChange) Pb ¶
func (m *ViewChange) Pb() *pbftpb.ViewChange
type ViewChangeSNTimeout ¶
func ViewChangeSNTimeoutFromPb ¶
func ViewChangeSNTimeoutFromPb(pb *pbftpb.ViewChangeSNTimeout) *ViewChangeSNTimeout
func (*ViewChangeSNTimeout) MirReflect ¶
func (*ViewChangeSNTimeout) MirReflect() mirreflect.Type
func (*ViewChangeSNTimeout) Pb ¶
func (m *ViewChangeSNTimeout) Pb() *pbftpb.ViewChangeSNTimeout
type ViewChangeSegTimeout ¶
type ViewChangeSegTimeout struct {
ViewChangeSegTimeout uint64
}
func ViewChangeSegTimeoutFromPb ¶
func ViewChangeSegTimeoutFromPb(pb *pbftpb.ViewChangeSegTimeout) *ViewChangeSegTimeout
func (*ViewChangeSegTimeout) MirReflect ¶
func (*ViewChangeSegTimeout) MirReflect() mirreflect.Type
func (*ViewChangeSegTimeout) Pb ¶
func (m *ViewChangeSegTimeout) Pb() *pbftpb.ViewChangeSegTimeout
Click to show internal directories.
Click to hide internal directories.