diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/guides/federation/proposing-and-voting.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/guides/federation/proposing-and-voting.md b/docs/guides/federation/proposing-and-voting.md index 3f4aa0f..b25e9d9 100644 --- a/docs/guides/federation/proposing-and-voting.md +++ b/docs/guides/federation/proposing-and-voting.md @@ -123,6 +123,17 @@ curl -s -u tv:secret localhost:3000/events/counts | jq .proposals # "votes":["5a77…","e019…"],"yes":["tv"]}} ``` +The client shows the same, and what each proposal's version changes of the current one, +field by field and party by party: + +```sh +continuum-party --node http://tv:secret@localhost:3000 proposals +# 8d02…: dead; true: tv; false: lass +# changes: null -> "1f4c…" +# checkpoint: - -> ["4a1d…","9e30…"] +# number: 0 -> 1 +``` + `GET /events/{id}` shows a proposing event, the version it proposes in `proposal`, and a vote, signed by its party. A node lacking some votes reads a proposal as neither passed nor dead where another reads it dead; no vote takes either back. A dead proposal stays |
