update readme with new PGConfig location

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2020-01-08 13:43:47 +01:00 committed by Jakub
parent d29c6aad50
commit 697b62c2f9
1 changed files with 5 additions and 11 deletions

View File

@ -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"
}
}
}
```