Implementation of The Byzantine Generals Problem in java based on an assignment
Assignment on Distributed Computing
Implement the solution for Byzantine generals problem as we discussed in the class. You can find more details from slides. Test you solution with 4 and 10 nodes with 1 and 2 faulty nodes respectively.
Implement the solution for Byzantine generals problem as we discussed in the class. You can find more details from slides. Test you solution with 4 and 10 nodes with 1 and 2 faulty nodes respectively.
You may use the support framework I have provided. See “BasicElection” class for an example. Basically you have to
1. For each participant type in the algorithm implement the interface Participant.EventListener
2. Add the participant to the system via system.createParticipant(..)
3. Then call system.bootUp();
2. Add the participant to the system via system.createParticipant(..)
3. Then call system.bootUp();
When a message is sent, each participant receives the message via eventReceived(..). You can send messages via system.sendMessage(..)
You can download the complete source here
dfvghjklikjyuhgfd
ReplyDelete