Update `service-side-pow.md`
This has various changes which I think will improve things, based on my work implementing this:
- Use a
Arc
internally instead of pushing it to the callers - Make
PowManager
have its own update loop instead of piggybacking off ofIptManager
- Add
KeyMgr
andHsNickname
toPowManager
(this is required, I just forgot when I was writing this doc initially) - Make seed expiration be per-TP instead of per-
PowManager
(this simplifies some parts of the code and provides better security properties)
The main thing I'm not totally sure about is the interface for PowManager
to poke Publisher
to cause it to update.