Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientProgress ¶
type ClientProgress struct {
Progress map[types.ClientID]*DeliveredTXs
}
func ClientProgressFromPb ¶
func ClientProgressFromPb(pb *trantorpb.ClientProgress) *ClientProgress
func (*ClientProgress) MirReflect ¶
func (*ClientProgress) MirReflect() mirreflect.Type
func (*ClientProgress) Pb ¶
func (m *ClientProgress) Pb() *trantorpb.ClientProgress
type DeliveredTXs ¶
func DeliveredTXsFromPb ¶
func DeliveredTXsFromPb(pb *trantorpb.DeliveredTXs) *DeliveredTXs
func (*DeliveredTXs) MirReflect ¶
func (*DeliveredTXs) MirReflect() mirreflect.Type
func (*DeliveredTXs) Pb ¶
func (m *DeliveredTXs) Pb() *trantorpb.DeliveredTXs
type EpochConfig ¶
type EpochConfig struct { EpochNr types.EpochNr FirstSn types.SeqNr Length uint64 Memberships []*Membership }
func EpochConfigFromPb ¶
func EpochConfigFromPb(pb *trantorpb.EpochConfig) *EpochConfig
func (*EpochConfig) MirReflect ¶
func (*EpochConfig) MirReflect() mirreflect.Type
func (*EpochConfig) Pb ¶
func (m *EpochConfig) Pb() *trantorpb.EpochConfig
type EpochData ¶
type EpochData struct { EpochConfig *EpochConfig ClientProgress *ClientProgress LeaderPolicy []uint8 PreviousMembership *Membership }
func EpochDataFromPb ¶
func (*EpochData) MirReflect ¶
func (*EpochData) MirReflect() mirreflect.Type
type Membership ¶
type Membership struct {
Nodes map[types2.NodeID]*NodeIdentity
}
func MembershipFromPb ¶
func MembershipFromPb(pb *trantorpb.Membership) *Membership
func (*Membership) MirReflect ¶
func (*Membership) MirReflect() mirreflect.Type
func (*Membership) Pb ¶
func (m *Membership) Pb() *trantorpb.Membership
type NodeIdentity ¶
func NodeIdentityFromPb ¶
func NodeIdentityFromPb(pb *trantorpb.NodeIdentity) *NodeIdentity
func (*NodeIdentity) MirReflect ¶
func (*NodeIdentity) MirReflect() mirreflect.Type
func (*NodeIdentity) Pb ¶
func (m *NodeIdentity) Pb() *trantorpb.NodeIdentity
type StateSnapshot ¶
func StateSnapshotFromPb ¶
func StateSnapshotFromPb(pb *trantorpb.StateSnapshot) *StateSnapshot
func (*StateSnapshot) MirReflect ¶
func (*StateSnapshot) MirReflect() mirreflect.Type
func (*StateSnapshot) Pb ¶
func (m *StateSnapshot) Pb() *trantorpb.StateSnapshot
type Transaction ¶
func TransactionFromPb ¶
func TransactionFromPb(pb *trantorpb.Transaction) *Transaction
func (*Transaction) MirReflect ¶
func (*Transaction) MirReflect() mirreflect.Type
func (*Transaction) Pb ¶
func (m *Transaction) Pb() *trantorpb.Transaction
Click to show internal directories.
Click to hide internal directories.