Skip to content

Commit

Permalink
Opt-in censorship detector (#7583)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarekM25 authored Oct 9, 2024
1 parent 00d1680 commit 807111c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ namespace Nethermind.Consensus.Processing.CensorshipDetector;

public class CensorshipDetectorConfig : ICensorshipDetectorConfig
{
public bool Enabled { get; set; } = true;
public bool Enabled { get; set; } = false;
public uint BlockCensorshipThreshold { get; set; } = 2;
public string[]? AddressesForCensorshipDetection { get; set; } = null;
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace Nethermind.Consensus.Processing.CensorshipDetector;

public interface ICensorshipDetectorConfig : IConfig
{
[ConfigItem(DefaultValue = "true",
[ConfigItem(DefaultValue = "false",
Description = "Enabling censorship detection feature")]
bool Enabled { get; set; }

Expand Down

0 comments on commit 807111c

Please sign in to comment.