entropyxyz / manul

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

Add non-echo broadcast messages support? #24

Open fjarri opened 6 days ago

fjarri commented 6 days ago

Currently we only support broadcast messages as echo-broadcasts. "Fire and forget" broadcasts are supposed to just be sent as direct messages. It may be sometimes useful to be able to specify that a round sends a regular non-echoed broadcast.

Pros:

Cons:

A variation here is to change the current Round::make_echo_broadcast to returning also whether it is a normal or an echo broadcast. Will that make require less complication of the Session layer? This will mean though that a round cannot send an echo broadcast and a regular broadcast at the same time, but is it really important?