2025-09-27 19:30:17 +09:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
|
|
package caretta_sync.common;
|
|
|
|
|
|
|
|
|
|
import "tripod_id.proto";
|
|
|
|
|
|
|
|
|
|
message PublicKey {
|
|
|
|
|
bytes key = 1;
|
|
|
|
|
}
|
|
|
|
|
|
2025-09-29 07:44:53 +09:00
|
|
|
message Uuid {
|
2025-09-27 19:30:17 +09:00
|
|
|
uint64 first_half = 1;
|
|
|
|
|
uint64 second_half = 2;
|
|
|
|
|
}
|
|
|
|
|
|
2025-09-29 07:44:53 +09:00
|
|
|
message PeerIdentifier {
|
2025-09-27 19:30:17 +09:00
|
|
|
oneof peer_identifier {
|
|
|
|
|
tripod_id.Double id = 1;
|
|
|
|
|
PublicKey public_key = 2;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2025-09-29 07:44:53 +09:00
|
|
|
message AuthorizedNodeIdentifier {
|
|
|
|
|
oneof identifier {
|
|
|
|
|
tripod_id.Single id = 1;
|
|
|
|
|
PublicKey public_key = 2;
|
2025-09-27 19:30:17 +09:00
|
|
|
}
|
|
|
|
|
}
|
2025-09-29 07:44:53 +09:00
|
|
|
|
|
|
|
|
message AuthorizedNodeInfo {
|
|
|
|
|
tripod_id.Single id = 1;
|
|
|
|
|
PublicKey public_key = 2;
|
|
|
|
|
string note = 3;
|
|
|
|
|
}
|