From 57b6b5a6c911192cdb86793e3c3b1a42b96f3200 Mon Sep 17 00:00:00 2001 From: Giacomo Pasini Date: Fri, 18 Mar 2022 09:42:29 +0100 Subject: [PATCH 1/2] use a more sensible default value for epoch stability depth --- .../src/interfaces/block0_configuration/default_values.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jormungandr-lib/src/interfaces/block0_configuration/default_values.rs b/jormungandr-lib/src/interfaces/block0_configuration/default_values.rs index 629124476c..f5c220d971 100644 --- a/jormungandr-lib/src/interfaces/block0_configuration/default_values.rs +++ b/jormungandr-lib/src/interfaces/block0_configuration/default_values.rs @@ -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; From 17a6f82dcefb04cf95b888eb6345f729dd7fe0f2 Mon Sep 17 00:00:00 2001 From: Giacomo Pasini Date: Fri, 18 Mar 2022 09:50:34 +0100 Subject: [PATCH 2/2] update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 42132bffc4..6ec3f15551 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## Unreleased +- Change default value for `epoch_stability_depth` from 102400 to 2160 - fix incorrect keys bech32 HRP by always using the ones provided by the library - update REST API: add new endpoint AccountVotes (`/api/v1/votes/plan/account-votes/{account_id}`) - Support parallel lanes in spending counters on account outputs. This allows