Changeset View
Changeset View
Standalone View
Standalone View
src/init.cpp
Show First 20 Lines • Show All 920 Lines • ▼ Show 20 Lines | #endif | ||||
gArgs.AddArg("-server", _("Accept command line and JSON-RPC commands"), | gArgs.AddArg("-server", _("Accept command line and JSON-RPC commands"), | ||||
false, OptionsCategory::RPC); | false, OptionsCategory::RPC); | ||||
gArgs.AddArg("-rest", | gArgs.AddArg("-rest", | ||||
strprintf(_("Accept public REST requests (default: %d)"), | strprintf(_("Accept public REST requests (default: %d)"), | ||||
DEFAULT_REST_ENABLE), | DEFAULT_REST_ENABLE), | ||||
false, OptionsCategory::RPC); | false, OptionsCategory::RPC); | ||||
gArgs.AddArg( | gArgs.AddArg( | ||||
"-rpcbind=<addr>", | "-rpcbind=<addr>[:port]", | ||||
_("Bind to given address to listen for JSON-RPC connections. Use " | _("Bind to given address to listen for JSON-RPC connections. This " | ||||
"[host]:port notation for IPv6. This option can be specified " | "option is ignored unless -rpcallowip is also passed. Port is " | ||||
"multiple times (default: bind to all interfaces)"), | "optional and overrides -rpcport. Use [host]:port notation for IPv6. " | ||||
"This option can be specified multiple times (default: 127.0.0.1 and " | |||||
"::1 i.e., localhost, or if -rpcallowip has been specified, 0.0.0.0 " | |||||
"and :: i.e., all addresses)"), | |||||
false, OptionsCategory::RPC); | false, OptionsCategory::RPC); | ||||
gArgs.AddArg("-rpccookiefile=<loc>", | gArgs.AddArg("-rpccookiefile=<loc>", | ||||
_("Location of the auth cookie (default: data dir)"), false, | _("Location of the auth cookie (default: data dir)"), false, | ||||
OptionsCategory::RPC); | OptionsCategory::RPC); | ||||
gArgs.AddArg("-rpcuser=<user>", _("Username for JSON-RPC connections"), | gArgs.AddArg("-rpcuser=<user>", _("Username for JSON-RPC connections"), | ||||
false, OptionsCategory::RPC); | false, OptionsCategory::RPC); | ||||
gArgs.AddArg("-rpcpassword=<pw>", _("Password for JSON-RPC connections"), | gArgs.AddArg("-rpcpassword=<pw>", _("Password for JSON-RPC connections"), | ||||
false, OptionsCategory::RPC); | false, OptionsCategory::RPC); | ||||
▲ Show 20 Lines • Show All 1,547 Lines • Show Last 20 Lines |