entropyxyz / manul

Round-based distributed protocols
https://docs.rs/manul
GNU Affero General Public License v3.0
1 stars 1 forks source link

Mutable `Session` #15

Open fjarri opened 6 days ago

fjarri commented 6 days ago

The only thing we need to send to other tasks is the Round (not even the whole of it, just the part that has the info necessary to make or verify messages). It would be nice to allow Session to be mutable, so that we don't have to replace it every round, and somehow generate "message factories" and "message receivers" to send to other threads (see also #4).