datdotorg / datdot-service

datdot service
https://playproject.io/datdot-service
MIT License
15 stars 9 forks source link

Update mauve-sim to account for final workflow #10

Closed RangerMauve closed 4 years ago

RangerMauve commented 4 years ago
serapath commented 4 years ago

@ninabreznik:

  1. Emit shared event (pubKeys of selected hosters and pubKeys of selected encoders)
  2. Encoding
  3. Joining the swarm (swarmkey derived from hoster-encoder pubKeys => shared channel)
  4. Hoster notifies chain that they are done
RangerMauve commented 4 years ago

Gonna keep the new event for notifying the chain as a TODO for later. Otherwise, this refactoring should be good to go.

I'll get started on integrating this all with the MVP next week. 😁