Skip to content

Commit

Permalink
Add consensus to bind in Val Config File topic
Browse files Browse the repository at this point in the history
Update the bind setting to include the new consensus endpoint
and show the default value, 127.0.0.1:5050.

Signed-off-by: Anne Chenette <chenette@bitwise.io>
  • Loading branch information
Anne Chenette authored and annechenette committed Sep 27, 2018
1 parent 89f9f38 commit 7a8f96a
Showing 1 changed file with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,16 @@ example configuration options as necessary for your system.

The ``validator.toml`` configuration file has the following options:

- ``bind`` = [ "``endpoint``", "``endpoint``" ]
- ``bind = [ "network:{endpoint}", "component:{endpoint}", "consensus:{endpoint}", ]``

Sets the network and component endpoints. Default network bind interface:
``tcp://127.0.0.1:8800``. Default component bind interface:
``tcp://127.0.0.1:4004``.

Each string has the format ``{option}:{endpoint}``, where
``{option}`` is either ``network`` or ``component``. For example:
Sets the network, component, and consensus endpoints. The default values are:

.. code-block:: none
bind = [
"network:tcp://127.0.0.1:8800",
"component:tcp://127.0.0.1:4004"
"component:tcp://127.0.0.1:4004",
"consensus:tcp://127.0.0.1:5050"
]
- ``peering = "{static,dynamic}"``
Expand Down

0 comments on commit 7a8f96a

Please sign in to comment.