aboutsummaryrefslogtreecommitdiffstats
path: root/src/swarm/members.rs
Commit message (Collapse)AuthorAgeFilesLines
* swarm: the member registry is read of any view, not of an Automerge documenttv2 days1-9/+9
|
* state: plain writes take a view to write, Automerge's are asked for as suchtv2 days1-13/+25
| | | | | | | | | | | AppState::mutate_doc, mutate_doc_registering and mutate_doc_by hand what they are given a document::view::Write: the member registry, the users, sessions, forgetting and bootstrap write through them, and take whatever kind of document gives it. AppState::mutate_doc_for is for what asks more of an Automerge document than values at paths (the store's API, a remake's host, a store's events), and gives the heads after the write. What reads a view takes one of any size (dyn Write among them).
* document: values read and written through a view any kind of document givestv2 days1-53/+46
| | | | | | | | | | | | | document::view: Read (the value at a path, plain, typed, a map's keys) and Write (a value written, one deleted), which Automerge's documents, writes in progress and documents as they were all are. The member registry, the users, access control's reads and rules, the topology, forgetting and bootstrap read and write through them, and name neither Automerge's ReadDoc and Transactable nor document::store, which is what an Automerge document can do beyond. How a swarm holding a store judges what a change writes is handed to the rules (rules::judge_seen), being its kind of document's to say.
* members: a node's entry names its partytv2026-11-161-1/+42
| | | | | | | In a swarm holding a store, a node's own entry names the party it is of (`docs/store.md`, Members): `party`, as `--store-party` says, written at registration and kept so when it changes over a restart, as the alias is; `members::party` reads it. Behind the `federation` feature.
* access: a node registers before it writestv2026-11-071-18/+31
| | | | | | | | | Under a policy, a change by a node that isn't a member is refused with all built on it: a node's registration is written before any write of its own or through the API, not after (the registration itself exempt). Auth plan M6 (fix).
* store: keys_at tells no map from an empty onetv2026-11-071-1/+4
| | | | | | | | registry::exists counted any value at _continuum/users as a registry; keys_at answers None where there is no map, and its users (records, members, forget records, remakes) say what they make of it. Auth plan M1 (fix).
* working links recordedtv2026-11-061-3/+75
|
* dashboard: double-click opens peer dashboardtv2026-11-021-4/+61
|
* alive stamps too much in the future are ignoredtv2026-11-011-3/+9
|
* remake: decouple grace time from node's keepalivetv2026-11-011-5/+68
|
* electorate window must be at least 7dtv2026-11-011-1/+8
|
* libp2p: revise published address count/selectiontv2026-11-011-2/+4
|
* use Automerge as Document instead of AutoCommittv2026-10-311-5/+5
| | | | This allows a lot of operations to drop mut.
* store function accept any documenttv2026-10-311-4/+8
|
* tests write through document::testing helperstv2026-10-311-5/+12
|
* rename AutoMerge to Documenttv2026-10-311-17/+17
|
* topology: explode!tv2026-10-311-0/+22
|
* list libp2p relays in documenttv2026-10-281-0/+32
|
* introduce addressestv2026-10-271-6/+60
|
* wrap unix timestamps in newtypetv2026-10-261-1/+1
|
* allow humand-friendly durations and sizes in CLItv2026-10-261-1/+1
|
* move protocol paths to dedicated moduletv2026-10-261-3/+2
|
* add clock moduletv2026-10-251-2/+2
| | | | | The Clock module is the system clock that every unix timestamp new goes through. It comes with an offset that only tests can set.
* recompute neighbours whenever topology changestv2026-10-251-1/+1
|
* add electoratetv2026-10-241-8/+101
| | | | | For an upcoming change in remake coordination, nodes now maintain their self-assessed liveness in the document.
* aliases are not in logs (fixup)tv2026-10-241-1/+1
|
* add node aliasestv2026-10-241-11/+78
|
* assess swarm stabilitytv2026-10-241-1/+36
|
* add member registrytv2026-10-241-0/+67