Function ethcore::snapshot::verify_old_block [] [src]

pub fn verify_old_block(rng: &mut OsRng,
                        header: &Header,
                        engine: &Engine,
                        chain: &BlockChain,
                        body: Option<&[u8]>,
                        always: bool)
                        -> Result<(), Error>

Verify an old block with the given header, engine, blockchain, body. If always is set, it will perform the fullest verification possible. If not, it will take a random sample to determine whether it will do heavy or light verification.