Stops a running MultiChain node. The function accepts either a connection
object (created by mc_connect()) or a chain name. When a chain name is
provided, it first retrieves the configuration and establishes a connection
automatically.
See also
mc_connect, mc_node_start to start a node.
Other node operations:
mc_node_init(),
mc_node_start()
Examples
if (FALSE) { # \dontrun{
# Stop by chain name
mc_node_stop("my_chain")
# Stop using a connection object
conn <- mc_connect(mc_get_config("my_chain"))
mc_node_stop(conn)
} # }