Section2.4 fabric message structure
type Message struct {
Type Message_Type
Timestamp *google_protobuf.Timestamp
Payload []byte
Signature []byte
}type Message_RequestBatch struct {
RequestBatch *RequestBatch
}
type Message_PrePrepare struct {
PrePrepare *PrePrepare
}
type Message_Prepare struct {
Prepare *Prepare
}
type Message_Commit struct {
Commit *Commit
}
type Message_Checkpoint struct {
Checkpoint *Checkpoint
}
type Message_ViewChange struct {
ViewChange *ViewChange
}
type Message_NewView struct {
NewView *NewView
}
type Message_FetchRequestBatch struct {
FetchRequestBatch *FetchRequestBatch
}
type Message_ReturnRequestBatch struct {
ReturnRequestBatch *RequestBatch
}Last updated