pub fn validate_block(
generator: &[u8],
generator_refs: &[Vec<u8>],
context: &ValidationContext,
config: &ValidationConfig,
bls_cache: Option<&mut BlsCache>,
aggregated_signature: &Signature,
) -> Result<SpendResult, ValidationError>Expand description
Validate a block generator and return the combined additions + removals.
Executes the block-level CLVM program, validates all conditions, and returns the aggregate SpendResult.
Mirrors L1’s _run_block() at multiprocess_validation.py:62.