Skip to content

Commit

Permalink
Add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
shargon authored Nov 3, 2020
1 parent be552e2 commit b5dc6bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/neo/ProtocolSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ private ProtocolSettings(IConfigurationSection section)
};
this.MillisecondsPerBlock = section.GetValue("MillisecondsPerBlock", 15000u);
this.MemoryPoolMaxTransactions = Math.Max(1, section.GetValue("MemoryPoolMaxTransactions", 50_000));
this.MaxValidUntilBlockIncrement = section.GetValue("MaxValidUntilBlockIncrement", 5760u);
this.MaxTraceableBlocks = section.GetValue("MaxTraceableBlocks", 2_102_400u);
this.MaxValidUntilBlockIncrement = section.GetValue("MaxValidUntilBlockIncrement", 5760u); // 24 hour
this.MaxTraceableBlocks = section.GetValue("MaxTraceableBlocks", 2_102_400u); // 365 days
}
}
}

0 comments on commit b5dc6bb

Please sign in to comment.