pub fn check_and_insert_block_proposal(
        &self,
        validator_pubkey: &PublicKeyBytes,
        block_header: &BeaconBlockHeader,
        domain: Hash256,
    ) -> Result<Safe, NotSafe> {
        self.check_and_insert_block_signing_root(
            validator_pubkey,
            block_header.slot,
            block_header.signing_root(domain).into(),
        )
    }
/// Check a block proposal for slash safety, and if it is safe, record it in the database.
///
/// The checking and inserting happen atomically and exclusively. We enforce exclusivity
/// to prevent concurrent checks and inserts from resulting in slashable data being inserted.
///
/// This is the safe, externally-callable interface for checking block proposals.
Check a block proposal for slash safety, and if it is safe, record it in the database.
The checking and inserting happen atomically and exclusively. We enforce exclusivity
to prevent concurrent checks and inserts from resulting in slashable data being inserted.

This is the safe, externally-callable interface for checking block proposals.
Check a block proposal for slash safety and if it is safe record it in the database . The checking and inserting happen atomically and exclusively . We enforce exclusivity to prevent concurrent checks and inserts from resulting in slashable data being inserted . This is the safe externally - callable interface for checking block proposals .
pub fn check_and_insert_block_proposal(
        &self,
        validator_pubkey: &PublicKeyBytes,
        block_header: &BeaconBlockHeader,
        domain: Hash256,
    ) -> Result<Safe, NotSafe> {
        self.check_and_insert_block_signing_root(
            validator_pubkey,
            block_header.slot,
            block_header.signing_root(domain).into(),
        )
    }
pub fn check_and_insert_block_proposal ( & self , validator_pubkey : & PublicKeyBytes , block_header : & BeaconBlockHeader , domain : Hash256 , ) -> Result < Safe , NotSafe > { self . check_and_insert_block_signing_root ( validator_pubkey , block_header . slot , block_header . signing_root ( domain ) . into ( ) , ) }
Check a block proposal for slash safety, and if it is safe, record it in the database.
Check a block proposal for slash safety and if it is safe record it in the database .
&self
validator_pubkey
&PublicKeyBytes
block_header
&BeaconBlockHeader
domain
Hash256