commit c309e416984fc76e4b39adcbd4e8a602d94b1987 parent 36b0cb9aaa0d04951d8548a6b4a6492d334c907b Author: Julius Bünger <buenger@mytum.de> Date: Tue, 12 Mar 2024 17:34:25 +0100 cong: more details on the storage of peer ids Diffstat:
| M | developers/apis/cong.rst | | | 8 | ++++++++ |
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/developers/apis/cong.rst b/developers/apis/cong.rst @@ -295,6 +295,14 @@ The reasons against this new service: Core will be the responsible service to provide addresses to pils for the switching of peer ids. +Peer ids should not be stored in permanent memory (on disk), but kept in +working memory. +They will be (re-) computed from the new set of addresses. The advantage is +that it is not possible to prove that a peer id belonged to a peer by +examining its hard-drive. Keeping the respective HELLO in the peerstore is fine +as a peer also keeps other peer's hello in there and the existence of a hello +in the peerstore proves nothing. + .. _Implications-onwnership_PeerIDs: