scripts/gen_config.sh: drop WhisperConfig, limit API modules

I've disabled Whisper in the config since we do not use it anymore.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2021-08-13 15:53:24 +02:00 committed by Jakub
parent c78eac8d94
commit 5caf22e35a
1 changed files with 1 additions and 6 deletions

View File

@ -5,7 +5,7 @@ GIT_ROOT=$(cd "${BASH_SOURCE%/*}" && git rev-parse --show-toplevel)
# Settings & defaults # Settings & defaults
RPC_PORT="${RPC_PORT:-8545}" RPC_PORT="${RPC_PORT:-8545}"
LISTEN_PORT="${LSTEN_PORT:-30303}" LISTEN_PORT="${LSTEN_PORT:-30303}"
API_MODULES="${API_MODULES:-eth,net,web3,admin,mailserver}" API_MODULES="${API_MODULES:-eth,web3,admin}"
FLEET_NAME="${FLEET_NAME:-eth.prod}" FLEET_NAME="${FLEET_NAME:-eth.prod}"
REGISTER_TOPIC="${REGISTER_TOPIC:-whispermail}" REGISTER_TOPIC="${REGISTER_TOPIC:-whispermail}"
MAIL_PASSWORD="${MAIL_PASSWORD:-status-offline-inbox}" MAIL_PASSWORD="${MAIL_PASSWORD:-status-offline-inbox}"
@ -35,11 +35,6 @@ JQ_FILTER_ARRAY=(
".HTTPPort= ${RPC_PORT}" ".HTTPPort= ${RPC_PORT}"
".APIModules = \"${API_MODULES}\"" ".APIModules = \"${API_MODULES}\""
".RegisterTopics = [\"${REGISTER_TOPIC}\"]" ".RegisterTopics = [\"${REGISTER_TOPIC}\"]"
".WhisperConfig.Enabled = true"
".WhisperConfig.EnableMailServer = true"
".WhisperConfig.LightClient = false"
".WhisperConfig.DataDir = \"${DATA_PATH}/whisper\""
".WhisperConfig.MailServerPassword = \"${MAIL_PASSWORD}\""
".WakuConfig.Enabled = true" ".WakuConfig.Enabled = true"
".WakuConfig.EnableMailServer = true" ".WakuConfig.EnableMailServer = true"
".WakuConfig.DataDir = \"${DATA_PATH}/waku\"" ".WakuConfig.DataDir = \"${DATA_PATH}/waku\""