syntax = "proto3";

package messenger;

option go_package = "github.com/ava-labs/avalanchego/proto/pb/messenger";

service Messenger {
  rpc Notify(NotifyRequest) returns (NotifyResponse);
}

enum Message {
  MESSAGE_UNSPECIFIED = 0;
  MESSAGE_BUILD_BLOCK = 1;
  MESSAGE_STATE_SYNC_FINISHED = 2;
}

message NotifyRequest {
  Message message = 1;
}

message NotifyResponse {}
