syntax = "proto3";

package meerkat;

option java_package = "meerkat.protobuf";

import 'meerkat/crypto.proto';
import 'meerkat/bulletin_board_api.proto';
import 'google/protobuf/timestamp.proto';


// Status of the bulletin board server
message ServerStatus {
    enum Mode {
        MODE_SETUP_AUTH = 0; // Waiting for authorization setup
        MODE_SETUP_DB = 1; // Needs to complete setup
        MODE_RUNNING = 2; // Setup is complete
    }

    Mode mode = 1;

    string name = 2; // Human-readable name

    SignatureVerificationKey pk = 3; // The server's signing public-key
}
