Documentation
¶
Index ¶
Constants ¶
View Source
const ( // OrderStatusPreOrder indicates the partial order is in pre-order status. OrderStatusPreOrder = iota // OrderStatusQuorumVerified indicates the partial order has been verified by quorum participants. OrderStatusQuorumVerified )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OrderEvent ¶
type OrderEvent struct {
// Status indicates the status of current partial order.
Status int
// Sequence indicates the assigned sequence number for current partial order.
Sequence uint64
// Digest indicates the identifier for current partial order.
Digest string
// Event contains the latest received message for current partial order.
Event interface{}
}
OrderEvent is used to process the verification events for the partial orders from each other.
Click to show internal directories.
Click to hide internal directories.