Add flag to disable attestation APIs

This commit is contained in:
Michael Sproul
2025-02-25 11:39:48 +11:00
parent 522b3cbaab
commit bbc1200b2d
5 changed files with 247 additions and 102 deletions

View File

@@ -94,6 +94,7 @@ pub struct ChainConfig {
/// The delay in milliseconds applied by the node between sending each blob or data column batch.
/// This doesn't apply if the node is the block proposer.
pub blob_publication_batch_interval: Duration,
pub disable_attesting: bool,
}
impl Default for ChainConfig {
@@ -129,6 +130,7 @@ impl Default for ChainConfig {
enable_sampling: false,
blob_publication_batches: 4,
blob_publication_batch_interval: Duration::from_millis(300),
disable_attesting: false,
}
}
}