Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use a more sensible default value for epoch stability depth #3890

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## Unreleased

- Change default value for `epoch_stability_depth` from 102400 to 2160
- Add /v1/account-votes-all endpoint to return the list of proposals a user has voted for
- Remove /v1/account-votes-count endpoint
- Validate server id is the expected one during gRPC handshake
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ pub const MINIMUM_NUMBER_OF_SLOTS_PER_EPOCH: u32 = 1;
pub const MAXIMUM_NUMBER_OF_SLOTS_PER_EPOCH: u32 = 1_000_000;

/// the default value for epoch stability depth
pub const DEFAULT_EPOCH_STABILITY_DEPTH: u32 = 102_400;
pub const DEFAULT_EPOCH_STABILITY_DEPTH: u32 = 2160;

/// the default value for block content max size
pub const DEFAULT_BLOCK_CONTENT_MAX_SIZE: u32 = 102_400;
Expand Down