From a9d1077af4a952db1df6b0c330510ec368c06509 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= <3044353+pwojcikdev@users.noreply.github.com> Date: Fri, 11 Apr 2025 10:43:52 +0200 Subject: [PATCH] Add warning to external rpc config (#4873) --- nano/node/node_rpc_config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nano/node/node_rpc_config.cpp b/nano/node/node_rpc_config.cpp index 719640910..15113a8d1 100644 --- a/nano/node/node_rpc_config.cpp +++ b/nano/node/node_rpc_config.cpp @@ -9,7 +9,7 @@ nano::error nano::node_rpc_config::serialize_toml (nano::tomlconfig & toml) cons toml.put ("enable_sign_hash", enable_sign_hash, "Allow or disallow signing of hashes.\ntype:bool"); nano::tomlconfig child_process_l; - child_process_l.put ("enable", child_process.enable, "Enable or disable RPC child process. If false, an in-process RPC server is used.\ntype:bool"); + child_process_l.put ("enable", child_process.enable, "Enable or disable RPC child process. WARNING: This is a legacy, experimental feature and should not be used to protect against malicious RPC calls.\ntype:bool"); child_process_l.put ("rpc_path", child_process.rpc_path, "Path to the nano_rpc executable. Must be set if child process is enabled.\ntype:string,path"); toml.put_child ("child_process", child_process_l); return toml.get_error ();