Package bftsmart.consensus.roles
Class Proposer
- java.lang.Object
-
- bftsmart.consensus.roles.Proposer
-
public class Proposer extends java.lang.Object
This class represents the proposer role in the consensus protocol.
-
-
Constructor Summary
Constructors Constructor Description Proposer(ServerCommunicationSystem communication, MessageFactory factory, ServerViewController controller)
Creates a new instance of Proposer
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
startConsensus(int cid, byte[] value)
This method is called by the TOMLayer (or any other) to start the consensus instance.
-
-
-
Constructor Detail
-
Proposer
public Proposer(ServerCommunicationSystem communication, MessageFactory factory, ServerViewController controller)
Creates a new instance of Proposer- Parameters:
communication
- Replicas communication systemfactory
- Factory for PaW messagesverifier
- Proof verifierconf
- TOM configuration
-
-