popstellar
popstellar copied to clipboard
Protocol: meeting update needs rework
The meeting update property is severely lacking and should probably mirror the LAO update logic.
LAO update logic
A reminder of the LAO update logic:
- The organizer sends a
lao/update_propertiesmessage, ignored by everyone except witnesses - The witnesses send signatures, signing the
lao/update_propertiesmessage - When the organizer has collected a quorum of signatures, it sends the
lao/statepointing to the originallao/update_propertiesmessage and containing the collected signatures.
This ensures that clients only need to process the lao/update_properties and lao/state message, once all the witnesses have already signed off on it.
The meeting update logic
Right now, there are only two messages message/create and message/state.
meeting/state expects the same signature-collecting-logic as lao/update_properties, but it's missing a corresponding meeting/update_properties. Furthermore, meeting/state suffers from the same problems as #255 and #256.
meeting/update_properties should be created, and meeting/state should be updated.