From 4c6268eaa3d9138291fc2a272c86592641509fde Mon Sep 17 00:00:00 2001 From: Marcin Rataj Date: Wed, 8 May 2019 21:58:34 +0200 Subject: [PATCH] docs: update Routing config Updated docs to reflect that Routing is not a child of Discovery Ref. https://github.com/ipfs/go-ipfs-config/blob/664ccd976e969e78364720ec5f1d1544bc99305f/routing.go#L6 License: MIT Signed-off-by: Marcin Rataj --- docs/config.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/docs/config.md b/docs/config.md index ff5f5ed8f..261d100cb 100644 --- a/docs/config.md +++ b/docs/config.md @@ -63,6 +63,7 @@ Available profiles: - [`Bootstrap`](#bootstrap) - [`Datastore`](#datastore) - [`Discovery`](#discovery) +- [`Routing`](#routing) - [`Gateway`](#gateway) - [`Identity`](#identity) - [`Ipns`](#ipns) @@ -214,12 +215,27 @@ Default: `true` - `Interval` A number of seconds to wait between discovery checks. -- `Routing` + +## `Routing` +Contains options for content routing mechanisms. + +- `Type` Content routing mode. Can be overridden with daemon `--routing` flag. Valid modes are: - `dht` (default) - `dhtclient` - `none` + +**Example:** + +```json +{ + "Routing": { + "Type": "dhtclient" + } +} +``` + ## `Gateway` Options for the HTTP gateway.