sawtooth.manage.daemon module

class sawtooth.manage.daemon.DaemonNodeController(host_name='localhost', verbose=False, state_dir=None)[source]

Bases: sawtooth.manage.node.NodeController

is_running(node_name)[source]
create_genesis_block(node_args)[source]

Creates a key, then uses this key to author a genesis block. The node corresponding to node_args must be initially available on the network in order to serve this genesis block. :param node_args: :type node_args: NodeArguments

start(node_args)[source]

Start a node if it is not already running. :param node_args: :type node_args: NodeArguments

stop(node_name)[source]
kill(node_name)[source]
get_node_names()[source]
get_ip(node_name)[source]