json serialization for rpc-relevant monero types
Structured {de-,}serialization methods for (many new) types
which are used for requests or responses in the RPC.
New types include RPC requests and responses, and structs which compose
types within those.
# Conflicts:
# src/cryptonote_core/blockchain.cpp
This commit is contained in:
@@ -64,6 +64,31 @@ namespace daemon_args
|
||||
, "Max number of threads to use for a parallel job"
|
||||
, 0
|
||||
};
|
||||
|
||||
const command_line::arg_descriptor<std::string> arg_zmq_rpc_bind_ip = {
|
||||
"zmq-rpc-bind-ip"
|
||||
, "IP for ZMQ RPC server to listen on"
|
||||
, "127.0.0.1"
|
||||
};
|
||||
|
||||
const command_line::arg_descriptor<std::string> arg_zmq_rpc_bind_port = {
|
||||
"zmq-rpc-bind-port"
|
||||
, "Port for ZMQ RPC server to listen on"
|
||||
, std::to_string(config::ZMQ_RPC_DEFAULT_PORT)
|
||||
};
|
||||
|
||||
const command_line::arg_descriptor<std::string> arg_zmq_testnet_rpc_bind_port = {
|
||||
"zmq-testnet-rpc-bind-port"
|
||||
, "Port for testnet ZMQ RPC server to listen on"
|
||||
, std::to_string(config::testnet::ZMQ_RPC_DEFAULT_PORT)
|
||||
};
|
||||
|
||||
const command_line::arg_descriptor<bool> arg_zmq_restricted_rpc = {
|
||||
"zmq-restricted-rpc"
|
||||
, "Restrict ZMQ RPC to view only commands"
|
||||
, false
|
||||
};
|
||||
|
||||
} // namespace daemon_args
|
||||
|
||||
#endif // DAEMON_COMMAND_LINE_ARGS_H
|
||||
|
||||
Reference in New Issue
Block a user