refactor: work on auth chain and state compressor

This commit is contained in:
Timo Kösters
2022-07-10 17:23:26 +02:00
committed by Nyaaori
parent 0daa3209db
commit e045abe961
6 changed files with 81 additions and 1111 deletions

View 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>>;
}