ceremonyclient/protobufs/ferret_proxy.proto
Cassandra Heart dbd95bd9e9
v2.1.0 (#439)
* v2.1.0 [omit consensus and adjacent] - this commit will be amended with the full release after the file copy is complete

* 2.1.0 main node rollup
2025-09-30 02:48:15 -05:00

22 lines
781 B
Protocol Buffer

syntax = "proto3";
package quilibrium.node.ferretproxy.pb;
option go_package = "source.quilibrium.com/quilibrium/monorepo/protobufs";
// Data packet exchanged between Alice and Bob
message ProxyData {
bytes data = 1;
bool close_connection = 2; // Signal to close the connection
}
// FerretProxy service for tunneling TCP connections over gRPC
service FerretProxy {
// Alice-side: Create TCP connection to specified port and forward data
// Alice receives gRPC stream and forwards to local TCP connection
rpc AliceProxy(stream ProxyData) returns (stream ProxyData);
// Bob-side: Create TCP listener and forward data to gRPC stream
// Bob creates TCP listener and forwards data to/from gRPC stream
rpc BobProxy(stream ProxyData) returns (stream ProxyData);
}