From 011560a72ca895d8b516983485cfc45c9984cd45 Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 19 Nov 2026 20:55:59 +0000 Subject: continuum-party --party: the party it reads as, without a record A record is what votes go by, and what `again` signs anew from; for logging in as the party, and for `status`, it only named the party. So someone who only reads needed a record, begun with `init`, which should never vote beside the party's own. `--party NAME` (an option as node, key and record are, so party.toml holds it too) names the party where no record does (working_as): `init` the one it begins a record of, else the record's, else --party; --party naming another than these is an error. Commands that sign still take a record. --- src/config/mod.rs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/config') diff --git a/src/config/mod.rs b/src/config/mod.rs index 0b6a58a..1f6ad60 100644 --- a/src/config/mod.rs +++ b/src/config/mod.rs @@ -781,6 +781,13 @@ pub(crate) const PARTY_OPTIONS: &[OptionSpec] = &[ None, "The party's record of its votes, written before each vote is sent", ), + option( + "party", + Kind::Text, + "NAME", + None, + "The party it works as where no record names it, for reading: the one it logs in to the node as, by --key, where --node names no user and no --token is given", + ), ]; #[cfg(not(feature = "federation"))] const PARTY_OPTIONS: &[OptionSpec] = &[]; -- cgit v1.3.1