From a623b50ed014028aa9921ce9c08f6dd6b948bf75 Mon Sep 17 00:00:00 2001 From: Trim21 Date: Thu, 2 Mar 2023 03:39:11 +0800 Subject: [PATCH] docs: explain default-trackers param format in rpc-spec (#5099) --- docs/rpc-spec.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/rpc-spec.md b/docs/rpc-spec.md index 4e2935420..85e6adb18 100644 --- a/docs/rpc-spec.md +++ b/docs/rpc-spec.md @@ -158,7 +158,7 @@ Request arguments: | `seedRatioLimit` | double | torrent-level seeding ratio | `seedRatioMode` | number | which ratio to use. See tr_ratiolimit | `trackerAdd` | array | **DEPRECATED** use trackerList instead -| `trackerList` | string | string of announce URLs, one per line, with a blank line between tiers +| `trackerList` | string | string of announce URLs, one per line, and a blank line between [tiers](https://www.bittorrent.org/beps/bep_0012.html). | `trackerRemove` | array | **DEPRECATED** use trackerList instead | `trackerReplace` | array | **DEPRECATED** use trackerList instead | `uploadLimit` | number | maximum upload speed (KBps) @@ -527,7 +527,8 @@ Response arguments: `path`, `name`, and `id`, holding the torrent ID integer | `blocklist-url` | string | location of the blocklist to use for `blocklist-update` | `cache-size-mb` | number | maximum size of the disk cache (MB) | `config-dir` | string | location of transmission's configuration directory -| `default-trackers` | list of default trackers to use on public torrents +| `default-trackers` | string of announce URLs, one per line, and a blank line between +[tiers](https://www.bittorrent.org/beps/bep_0012.html). | `dht-enabled` | boolean | true means allow DHT in public torrents | `download-dir` | string | default path to download torrents | `download-dir-free-space` | number | **DEPRECATED** Use the `free-space` method instead.