Advertise full table every minute.

This commit is contained in:
Milos Gajdos
2019-07-11 12:36:39 +01:00
parent 7631463b94
commit 35a1de91a9
3 changed files with 115 additions and 43 deletions

View File

@@ -58,8 +58,7 @@ type Advert struct {
// Timestamp marks the time when the update is sent
Timestamp time.Time
// TTL is Advert TTL
// TODO: not used
TTL time.Time
TTL time.Duration
// Events is a list of routing table events to advertise
Events []*table.Event
}