syntax = "proto3"; package lavina; message HandshakeRequest { uint32 node_id = 1; string address = 2; } message HandshakeResponse { } message Request { uint32 id = 1; oneof payload { GetNodes get_nodes = 2; } } message GetNodes { } message ResponseNodes { } message Response { uint32 id = 1; oneof payload { ResponseNodes nodes = 2; } }