feat: use local peers cache for retrieving peer manager addresses
This MR prevents a Manager from retrieving Peer info from the Directory if the information is already available in its database.
- Retrieve the Manager address of a Peer from the database before calling the Directory
- Ensure your own Manager address is registered locally when starting the Manager
Todo
-
Since the certificates have been regenerated, fix the TestInwayWronglySignedToken
test -
The internal/peers
implementation has been replaced with aPeersCommunicationService
. The existing tests need to be reworked so they work for the new implementation.
Issue: #142 (closed)
Edited by Ronald Koster