|
@@ -1,5 +1,5 @@
|
|
//! Rocks DB implementation of the storage layer
|
|
//! Rocks DB implementation of the storage layer
|
|
-use self::iterators::WrapperIterator;
|
|
|
|
|
|
+use self::iterator::WrapperIterator;
|
|
use crate::{secondary_index::SecondaryIndex, Error, Storage};
|
|
use crate::{secondary_index::SecondaryIndex, Error, Storage};
|
|
use nostr_rs_types::types::{Event, Filter, Tag};
|
|
use nostr_rs_types::types::{Event, Filter, Tag};
|
|
use rocksdb::{
|
|
use rocksdb::{
|
|
@@ -8,7 +8,7 @@ use rocksdb::{
|
|
};
|
|
};
|
|
use std::{collections::VecDeque, ops::Deref, path::Path, sync::Arc};
|
|
use std::{collections::VecDeque, ops::Deref, path::Path, sync::Arc};
|
|
|
|
|
|
-mod iterators;
|
|
|
|
|
|
+mod iterator;
|
|
|
|
|
|
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
|
|
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
|
|
enum ReferenceType {
|
|
enum ReferenceType {
|