blocks_iterator 2.1.2

Iterates Bitcoin blocks
1
2
3
4
5
6
7
8
9
10
11
12
13
#[derive(Debug, thiserror::Error)]
pub enum Error {
    #[cfg(feature = "redb")]
    #[error(transparent)]
    Redb(#[from] bitcoin_slices::redb::Error),

    #[cfg(feature = "db")]
    #[error(transparent)]
    Rocksdb(#[from] rocksdb::Error),

    #[error("You can use only one db at a time")]
    OneDb,
}