fn block_exists(store: & mut Store, block_hash: Hash32) -> bool {
    let ptr = store.block_index.get(block_hash);

    ptr.iter().any( | ptr | !ptr.is_guard())

}
/// Returns true if the block is already stored
Returns true if the block is already stored
Returns true if the block is already stored
fn block_exists(store: & mut Store, block_hash: Hash32) -> bool {
    let ptr = store.block_index.get(block_hash);
    ptr.iter().any( | ptr | !ptr.is_guard())
}
fn block_exists ( store : & mut Store , block_hash : Hash32 ) -> bool { let ptr = store . block_index . get ( block_hash ) ; ptr . iter ( ) . any ( | ptr | ! ptr . is_guard ( ) ) }
Returns true if the block is already stored
Returns true if the block is already stored
store
& mut Store
block_hash
Hash32
store
& mut Store
block_hash
Hash32