keyForPublicKey function

String keyForPublicKey(
  1. PeerId id
)

Returns the key used to retrieve public keys from a value store.

Implementation

String keyForPublicKey(PeerId id) {
  return '/pk/${id.toString()}';
}