Best Effort Broadcast(BEB) is a broadcast in which a peer sends a message towards all the other peers and does not concern itself with the delivery of the message. In general, if the peer crashes halfway during the transmission, the broadcast might not be received by all the other peers(hence best effort). Since we do not model failure yet, this is a reliable broadcast.
This issues aims to add a new example in the examples package with a broadcast mechanism.
Checklist:
[ ] add file examples/beb.go
[ ] nodes implement a bootstraping mechanism
[ ] nodes do periodic broadcasts
[ ] add a flag in main.go for running the example
Detailed instructions:
read and understand how a simulation is started by looking at the main.go file
Best Effort Broadcast(BEB) is a broadcast in which a peer sends a message towards all the other peers and does not concern itself with the delivery of the message. In general, if the peer crashes halfway during the transmission, the broadcast might not be received by all the other peers(hence best effort). Since we do not model failure yet, this is a reliable broadcast.
This issues aims to add a new example in the
examples
package with a broadcast mechanism.Checklist:
examples/beb.go
main.go
for running the exampleDetailed instructions:
main.go
filego run main.go -torrent
examples/beb.go
fileexamples/beb.go
file by modifyingmain.go
main.go
file to allow running thebeb
example