Add todos

This commit is contained in:
Dennis Schwerdel 2021-02-12 22:44:52 +01:00
parent 82c43ff496
commit 675031a4ae
1 changed files with 13 additions and 0 deletions

View File

@ -279,6 +279,19 @@ impl<S: Socket, D: Device, P: Protocol, TS: TimeSource> SocketThread<S, D, P, TS
fn housekeep(&mut self) -> Result<(), Error> {
// self.shared.sync();
// * = can be in different thread, ** only with caching/sync
//TODO: peers: timeout **
//TODO: table: timeout **
//TODO: rotate crypto keys
//TODO: time out pending inits
//TODO: extend port forwarding *
//TODO: reset own address **
//TODO: send peer lists **
//TODO: reconnect to peers **
//TODO: write to statsd **
//TODO: write to stats file **
//TODO: read beacon **
//TODO: write beacon **
// TODO: sync
unimplemented!();
}