From 002a8b757b00ed310529c1b72d69ba6022bcfeba Mon Sep 17 00:00:00 2001 From: oker Date: Tue, 9 Jul 2024 14:51:42 +0800 Subject: [PATCH] consensus to p2p --- app/config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/config/config.go b/app/config/config.go index 15f5a6c9c2..7df6f17869 100644 --- a/app/config/config.go +++ b/app/config/config.go @@ -172,6 +172,7 @@ const ( FlagEnableWrappedTx = "enable-wtx" FlagSentryAddrs = "p2p.sentry_addrs" FlagEnableP2PIPWhitelist = "p2p.enable_ip_whitelist" + FlagConsensusIPWhitelist = "p2p.consensus_ip_whitelist" FlagCsTimeoutPropose = "consensus.timeout_propose" FlagCsTimeoutProposeDelta = "consensus.timeout_propose_delta" FlagCsTimeoutPrevote = "consensus.timeout_prevote" @@ -179,7 +180,6 @@ const ( FlagCsTimeoutPrecommit = "consensus.timeout_precommit" FlagCsTimeoutPrecommitDelta = "consensus.timeout_precommit_delta" FlagCsTimeoutCommit = "consensus.timeout_commit" - FlagConsensusIPWhitelist = "consensus.ip_whitelist" FlagEnableHasBlockPartMsg = "enable-blockpart-ack" FlagDebugGcInterval = "debug.gc-interval" FlagCommitGapOffset = "commit-gap-offset"