File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -93,11 +93,11 @@ impl Display for DomoCacheElement {
9393/// It keeps an in-memory (or persistent) cache of the whole DHT.
9494pub struct DomoCache {
9595 storage : SqlxStorage ,
96- pub cache : BTreeMap < String , BTreeMap < String , DomoCacheElement > > ,
96+ pub ( crate ) cache : BTreeMap < String , BTreeMap < String , DomoCacheElement > > ,
9797 peers_caches_state : BTreeMap < String , DomoCacheStateMessage > ,
98- pub publish_cache_counter : u8 ,
99- pub last_cache_repub_timestamp : u128 ,
100- pub swarm : libp2p:: Swarm < crate :: domolibp2p:: DomoBehaviour > ,
98+ pub ( crate ) publish_cache_counter : u8 ,
99+ pub ( crate ) last_cache_repub_timestamp : u128 ,
100+ pub ( crate ) swarm : libp2p:: Swarm < crate :: domolibp2p:: DomoBehaviour > ,
101101 pub is_persistent_cache : bool ,
102102 pub local_peer_id : String ,
103103 client_tx_channel : Sender < DomoEvent > ,
You can’t perform that action at this time.
0 commit comments