refactor: work on auth chain and state compressor
This commit is contained in:
parent
0daa3209db
commit
e045abe961
6 changed files with 81 additions and 1111 deletions
4
src/service/rooms/auth_chain/data.rs
Normal file
4
src/service/rooms/auth_chain/data.rs
Normal file
|
@ -0,0 +1,4 @@
|
|||
pub trait Data {
|
||||
fn get_cached_eventid_authchain<'a>() -> Result<HashSet<u64>>;
|
||||
fn cache_eventid_authchain<'a>(shorteventid: u64, auth_chain: &HashSet<u64>) -> Result<HashSet<u64>>;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue