Files
njump/internal.proto
2024-11-25 12:41:51 -03:00

33 lines
454 B
Protocol Buffer

syntax = "proto3";
option go_package = "github.com/fiatjaf/njump;main";
message CachedEvent {
string id = 1;
int64 expiry = 2;
repeated string relays = 3;
}
message FollowListArchive {
string source = 1;
repeated string pubkeys = 2;
}
message PubKeyArchive {
string pubkey = 1;
}
message ID {
string id = 1;
}
message BannedEvent {
bytes id = 1;
string reason = 2;
}
message BannedPubkey {
bytes pk = 1;
string reason = 2;
}