Skip to contents

Returns the current runtime parameters of the node. These can be changed while the node is running (see mc_set_runtime_param).

Usage

mc_get_runtime_params(conn)

Arguments

conn

A connection object created by mc_connect.

Value

A list of runtime parameters, e.g.:

mining

Logical; whether mining is enabled.

maxconnections

Maximum number of inbound connections.

...

Other runtime settings.

See also

mc_set_runtime_param to modify parameters, mc_get_blockchain_params for fixed chain parameters.

Other node configuration: mc_get_blockchain_params(), mc_set_runtime_param()

Examples

if (FALSE) { # \dontrun{
runtime <- mc_get_runtime_params(conn)
print(runtime$mining)
} # }