(
key_store_path: String,
finalizer_mailbox: FinalizerMailbox<MultisigScheme, Block>,
#[cfg(feature = "permissioned")] paused: Arc<AtomicBool>,
)
| 38 | /// caps how many run concurrently so a flood of individually limit-respecting |
| 39 | /// requests cannot just move the pressure onto the shared task pool. At capacity |
| 40 | /// further requests are rejected (retryable) rather than queued, keeping task |
| 41 | /// count and memory bounded under load. |
| 42 | pub const MAX_CONCURRENT_STATE_PROOFS: usize = 16; |
| 43 | |
| 44 | pub(crate) struct SummitDepositRpcServer { |
| 45 | key_store_path: String, |
| 46 | deposit_signature_domain: Digest, |
| 47 | } |
| 48 | |
| 49 | impl SummitDepositRpcServer { |
| 50 | pub(crate) fn new(key_store_path: String, genesis_hash: [u8; 32], namespace: &[u8]) -> Self { |
| 51 | Self { |
| 52 | key_store_path, |
| 53 | deposit_signature_domain: deposit_signature_domain(genesis_hash, namespace), |
| 54 | } |
nothing calls this directly
no outgoing calls
no test coverage detected