diff --git a/NineChronicles.Headless.Executable/Configuration.cs b/NineChronicles.Headless.Executable/Configuration.cs index 2543b2c23..0f0d9c6f2 100644 --- a/NineChronicles.Headless.Executable/Configuration.cs +++ b/NineChronicles.Headless.Executable/Configuration.cs @@ -93,8 +93,6 @@ public class Configuration public AccessControlServiceOptions? AccessControlService { get; set; } - public int ArenaParticipantsSyncInterval { get; set; } = 1000; - public void Overwrite( string? appProtocolVersionString, string[]? trustedAppProtocolVersionSignerStrings, @@ -143,7 +141,6 @@ public void Overwrite( double? consensusTargetBlockIntervalMilliseconds, int? consensusProposeSecondBase, int? maxTransactionPerBlock, - int? arenaParticipantsSyncInterval, bool? remoteKeyValueService ) { @@ -195,7 +192,6 @@ public void Overwrite( ConsensusTargetBlockIntervalMilliseconds = consensusTargetBlockIntervalMilliseconds ?? ConsensusTargetBlockIntervalMilliseconds; ConsensusProposeSecondBase = consensusProposeSecondBase ?? ConsensusProposeSecondBase; MaxTransactionPerBlock = maxTransactionPerBlock ?? MaxTransactionPerBlock; - ArenaParticipantsSyncInterval = arenaParticipantsSyncInterval ?? ArenaParticipantsSyncInterval; RemoteKeyValueService = remoteKeyValueService ?? RemoteKeyValueService; } } diff --git a/NineChronicles.Headless.Executable/Program.cs b/NineChronicles.Headless.Executable/Program.cs index db5821b8f..fcf00694f 100644 --- a/NineChronicles.Headless.Executable/Program.cs +++ b/NineChronicles.Headless.Executable/Program.cs @@ -215,10 +215,6 @@ public async Task Run( [Option("config", new[] { 'C' }, Description = "Absolute path of \"appsettings.json\" file to provide headless configurations.")] string? configPath = "appsettings.json", - [Option(Description = "arena participants list sync interval time")] - int? arenaParticipantsSyncInterval = null, - [Option(Description = "arena participants list sync enable")] - bool arenaParticipantsSync = true, [Option(Description = "[DANGER] Turn on RemoteKeyValueService to debug.")] bool remoteKeyValueService = false, [Ignore] CancellationToken? cancellationToken = null @@ -303,7 +299,7 @@ public async Task Run( txLifeTime, messageTimeout, tipTimeout, demandBuffer, skipPreload, minimumBroadcastTarget, bucketSize, chainTipStaleBehaviorType, txQuotaPerSigner, maximumPollPeers, consensusPort, consensusPrivateKeyString, consensusSeedStrings, consensusTargetBlockIntervalMilliseconds, consensusProposeSecondBase, - maxTransactionPerBlock, arenaParticipantsSyncInterval, remoteKeyValueService + maxTransactionPerBlock, remoteKeyValueService ); // Clean-up previous temporary log files.