This repository has been archived on 2023-08-31. You can view files and clone it, but cannot push or open issues or pull requests.
relay-plugin-registry/messages.proto

20 lines
326 B
Protocol Buffer

syntax = "proto2";
message Query {
required bytes pubkey = 1;
}
enum MessageType {
CREATE = 1;
CREATED = 2;
RESPONSE = 3;
}
message Message {
required MessageType type = 1;
required bytes pubkey = 2;
required uint32 revision = 3;
required bytes data = 4;
required bytes signature = 5;
}