From 47d88d224c5c8fa42b4f30b8ec37c7e5deb83ea2 Mon Sep 17 00:00:00 2001 From: tv Date: Fri, 13 Nov 2026 03:16:33 +0000 Subject: screen: a twin of this node's actor switches it only signed with its key A node switched to a fresh actor whenever a peer showed it a change of its own actor that it didn't hold, signed or not. So any peer made a node start a writer at will, by sending a copy of its last change with another value: and every writer costs every node memory in proportion to the document's history. Copies of a node's data directory hold its key, and sign their changes with it; a stranger can't. A twin switches the node only where a signature by the node's own key of it is kept or waiting. Unsigned, it is refused as forged as before, and nothing switches. --- docs/lifecycle.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/lifecycle.md b/docs/lifecycle.md index 3843646..e6ac31b 100644 --- a/docs/lifecycle.md +++ b/docs/lifecycle.md @@ -101,8 +101,9 @@ document file holding a document is an error with no override. started on copies of one file would both write on as that actor, and each one's changes would be refused as forged by peers holding the other's: don't start a copy of a node's data directory while the node runs, or after it, with `--keep-actor`. A - node receiving a change of its own actor that it didn't make writes on as a fresh - actor at once, and logs a warning; what both wrote before stays refused where the + node receiving a change of its own actor that it didn't make, signed with its own + key, writes on as a fresh actor at once, and logs a warning (unsigned, it is + anyone's forgery: refused, and nothing switches); what both wrote before stays refused where the other's came first. Fewer actors mean fewer signatures in every transfer of the epoch's history (a writer each); a crash, a drop, or a switch or a rejoin still starts a fresh one. -- cgit v1.3.1