pub fn compute_filter(
    filter_type: BlockFilterType,
    block_index: *const BlockIndex,
    filter: &mut BlockFilter
) -> bool