From 697b62c2f95eeca1affa47bf4ce61c736072837a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Wed, 8 Jan 2020 13:43:47 +0100 Subject: [PATCH] update readme with new PGConfig location MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub SokoĊ‚owski --- config/README.md | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/config/README.md b/config/README.md index a66926b37..7ed4f44cb 100644 --- a/config/README.md +++ b/config/README.md @@ -68,21 +68,15 @@ If you want your node to relay Whisper(SHH) protocol messages you'll want to inc The `MailServerPassword` is used for symmetric encryption of history requests. By default it will use `leveldb` embedded database. To use postgres instead you need to -pass a config of this kind: +add this to your config: ```json { - "WhisperConfig": { + "DatabaseConfig": { + "PGConfig": { "Enabled": true, - "EnableMailServer": true, - "LightClient": false, - "MailServerPassword": "status-offline-inbox" - "DatabaseConfig": { - "PGConfig": { - "Enabled": true, - "URI": "postgres://user:password@host:port?options" - } - } + "URI": "postgres://user:password@host:port?options" + } } } ```