syntax = "proto3";
package qpq.v1;

// User resolve + identity (2 methods).
// Method IDs: 500-501.

message ResolveUserRequest {
  string username = 1;
}

message ResolveUserResponse {
  bytes identity_key = 1;
  bytes inclusion_proof = 2;
}

message ResolveIdentityRequest {
  bytes identity_key = 1;
}

message ResolveIdentityResponse {
  string username = 1;
}
