fn num_blocks(&self) -> Result<u64, Error> {
        let db_transaction = self.env.begin_ro_txn()?;
        Ok(key_bytes_to_u64(
            &db_transaction.get(self.counts, &NUM_BLOCKS_KEY)?,
        ))
    }
/// Get the total number of Blocks in the ledger.
Get the total number of Blocks in the ledger.
Get the total number of Blocks in the ledger .
fn num_blocks(&self) -> Result<u64, Error> {
        let db_transaction = self.env.begin_ro_txn()?;
        Ok(key_bytes_to_u64(
            &db_transaction.get(self.counts, &NUM_BLOCKS_KEY)?,
        ))
    }
fn num_blocks ( & self ) -> Result < u64 , Error > { let db_transaction = self . env . begin_ro_txn ( ) ? ; Ok ( key_bytes_to_u64 ( & db_transaction . get ( self . counts , & NUM_BLOCKS_KEY ) ? , ) ) }
Get the total number of Blocks in the ledger.
Get the total number of Blocks in the ledger .
&self
&self