Skip to content

Commit a5cb7ab

Browse files
committed
chore(signer): set default preload_security_parameter to 2160
This makes both signer and aggregator use the same value
1 parent b0ce1b1 commit a5cb7ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mithril-signer/src/configuration.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ pub struct Configuration {
7171
pub network_security_parameter: BlockNumber,
7272

7373
/// Blocks offset, from the tip of the chain, to exclude during the Cardano transactions preload,
74-
/// default to 1000.
74+
/// default to 2160.
7575
#[example = "`2160`"]
7676
pub preload_security_parameter: BlockNumber,
7777

@@ -303,7 +303,7 @@ impl Default for DefaultConfiguration {
303303
metrics_server_ip: "0.0.0.0".to_string(),
304304
metrics_server_port: 9090,
305305
network_security_parameter: 2160, // 2160 is the mainnet value
306-
preload_security_parameter: 1000,
306+
preload_security_parameter: 2160,
307307
enable_transaction_pruning: true,
308308
transactions_import_block_chunk_size: 1500,
309309
cardano_transactions_block_streamer_max_roll_forwards_per_poll: 10000,

0 commit comments

Comments
 (0)