Skip to content

Commit

Permalink
Fixed local config file: changed 'blocklist_retain_duration' into 'bl…
Browse files Browse the repository at this point in the history
…ocklist_retain_min_duration' and 'blocklist_retain_max_duration'
  • Loading branch information
zajko committed Feb 20, 2025
1 parent fb99909 commit 516a8c7
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions resources/local/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,15 @@ tarpit_duration = '10 minutes'
# legacy nodes running this software.
tarpit_chance = 0.2

# How long peers remain blocked after they get blocklisted.
blocklist_retain_duration = '1 minute'
# Minimum time a peer is kept on block list before being redeemed. The actual
# timeout duration is calculated by selecting a random value between
# <blocklist_retain_min_duration, blocklist_retain_max_duration>.
blocklist_retain_min_duration = '2 minutes'

# Maximum time a peer is kept on block list before being redeemed. The actual
# timeout duration is calculated by selecting a random value between
# <blocklist_retain_min_duration, blocklist_retain_max_duration>.
blocklist_retain_max_duration = '10 minutes'

# Identity of a node
#
Expand Down

0 comments on commit 516a8c7

Please sign in to comment.