Skip to content

Commit

Permalink
Add prune_payload in config.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
chong-he committed Jan 8, 2025
1 parent a9c2f78 commit 412e8e9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions beacon_node/client/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ pub struct Config {
pub genesis_state_url: Option<String>,
pub genesis_state_url_timeout: Duration,
pub allow_insecure_genesis_sync: bool,
pub prune_payloads: bool,
}

impl Default for Config {
Expand Down Expand Up @@ -115,6 +116,7 @@ impl Default for Config {
// This default value should always be overwritten by the CLI default value.
genesis_state_url_timeout: Duration::from_secs(60),
allow_insecure_genesis_sync: false,
prune_payloads: true,
}
}
}
Expand Down

0 comments on commit 412e8e9

Please sign in to comment.