add rekeys, refounding and dissolution

This commit is contained in:
2026-09-17 08:16:41 +07:00
parent 79a4dd387d
commit ecd08273eb
8 changed files with 2035 additions and 44 deletions
+3
View File
@@ -120,6 +120,8 @@ pub struct CommunityState {
pub heads: Vec<EntityHead>,
#[serde(default, skip_serializing_if = "BTreeSet::is_empty")]
pub banned: BTreeSet<PublicKey>,
#[serde(default)]
pub dissolved: bool,
pub added_at_ms: u64,
}
@@ -186,6 +188,7 @@ impl CommunityState {
relays,
heads,
banned: BTreeSet::new(),
dissolved: false,
added_at_ms,
})
}