Take-over of the bus's user list by the grants part: sealed list layout, followed-list have, handed hashes, named readers (issue 1945) #89

Merged
mesh-tools merged 5 commits from feat/1945-user-list-switch into main 2026-10-26 12:21:40 +00:00
Showing only changes of commit c2a410bb63 - Show all commits
+3
View File
@@ -361,6 +361,9 @@ type UserListWritten struct {
// Key is the bus node's sealing key, its public half as SPKI PEM: the key the grants part seals its list to
// (clause 7). Public, as the vault holds it.
Key string `json:"key,omitempty"`
// Unwatched says why the bus node does not watch the grants part's key now (its watch refused or ended, and tried
// again), empty while it does or where it need not (ADR 0547 clause 8): it then keeps the last list it followed.
Unwatched string `json:"unwatched,omitempty"`
// Handed is the hashes of the users of the list on the machine, sealed to the vault, for its adoption of the
// accounts it holds no value for (ADR 0547 clause 9, handed.go); nil while the vault's key is not known.
Handed *AccountsHanded `json:"handed,omitempty"`