add private mode (#897)

---------

Co-authored-by: Sijie.Sun <sunsijie@buaa.edu.cn>
This commit is contained in:
FuturePrayer
2025-06-02 06:47:17 +08:00
committed by GitHub
parent b469f8197a
commit b5dfc7374c
12 changed files with 42 additions and 1 deletions
+2
View File
@@ -33,6 +33,8 @@ message FlagsInConfig {
// enable magic dns or not
bool accept_dns = 22;
// enable private mode
bool private_mode = 23;
}
message RpcDescriptor {
+1
View File
@@ -65,6 +65,7 @@ message NetworkConfig {
repeated string mapped_listeners = 41;
optional bool enable_magic_dns = 42;
optional bool enable_private_mode = 43;
}
message MyNodeInfo {