Re-export rocksdb::DBRawIterator until it can be encapsulated
This commit is contained in:
parent
b36ceb5be4
commit
93fb61dc8f
|
@ -7,7 +7,7 @@ use crate::packet::{Blob, SharedBlob, BLOB_HEADER_SIZE};
|
|||
use crate::result::{Error, Result};
|
||||
use bincode::{deserialize, serialize};
|
||||
use byteorder::{BigEndian, ByteOrder, ReadBytesExt};
|
||||
use rocksdb::{ColumnFamily, ColumnFamilyDescriptor, DBRawIterator, Options, WriteBatch, DB};
|
||||
use rocksdb::{ColumnFamily, ColumnFamilyDescriptor, Options, WriteBatch, DB};
|
||||
use serde::de::DeserializeOwned;
|
||||
use serde::Serialize;
|
||||
use solana_sdk::signature::{Keypair, KeypairUtil};
|
||||
|
@ -16,6 +16,9 @@ use std::cmp::max;
|
|||
use std::io;
|
||||
use std::path::Path;
|
||||
|
||||
// Re-export rocksdb::DBRawIterator until it can be encapsulated
|
||||
pub use rocksdb::DBRawIterator;
|
||||
|
||||
pub const DB_LEDGER_DIRECTORY: &str = "rocksdb";
|
||||
// A good value for this is the number of cores on the machine
|
||||
pub const TOTAL_THREADS: i32 = 8;
|
||||
|
|
|
@ -10,7 +10,6 @@ use crate::packet::{SharedBlob, BLOB_HEADER_SIZE};
|
|||
use crate::result::Result;
|
||||
use crate::streamer::BlobSender;
|
||||
use log::Level;
|
||||
use rocksdb::DBRawIterator;
|
||||
use solana_metrics::{influxdb, submit};
|
||||
use solana_sdk::pubkey::Pubkey;
|
||||
use std::cmp;
|
||||
|
|
Loading…
Reference in New Issue