Documentation ¶
Overview ¶
Package history implements a history vector keep track of received Hellos
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HelloHistory ¶
type HelloHistory struct {
// contains filtered or unexported fields
}
func (*HelloHistory) Empty ¶
func (h *HelloHistory) Empty() bool
func (*HelloHistory) Missed ¶
func (h *HelloHistory) Missed() (reset bool)
func (*HelloHistory) OutOf ¶
func (h *HelloHistory) OutOf(k, j int) bool
A.2.1. k-out-of-j See: https://datatracker.ietf.org/doc/html/rfc8966#section-a.2.1
func (*HelloHistory) Update ¶
func (h *HelloHistory) Update(seqno proto.SequenceNumber) (reset bool)
A.1. Maintaining Hello History See: https://datatracker.ietf.org/doc/html/rfc8966#section-a.1
Click to show internal directories.
Click to hide internal directories.