aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2018-08-24 09:18:54 -0400
committerDeterminant <[email protected]>2018-08-24 09:18:54 -0400
commit75b5b9c9fe6a847510dfad452104fc6987567453 (patch)
treead2ec821ad7a9eba7b55c99667c718c54290fe73 /src
parentd781144f5edd0cacc436d04295ca68cff9f22036 (diff)
WIP: RR pacemaker
Diffstat (limited to 'src')
-rw-r--r--src/hotstuff_app.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/hotstuff_app.cpp b/src/hotstuff_app.cpp
index 210badc..768e81e 100644
--- a/src/hotstuff_app.cpp
+++ b/src/hotstuff_app.cpp
@@ -186,6 +186,8 @@ int main(int argc, char **argv) {
hotstuff::pacemaker_bt pmaker;
if (opt_pace_maker->get() == "sticky")
pmaker = new hotstuff::PaceMakerSticky(parent_limit, opt_qc_timeout->get(), ec);
+ else if (opt_pace_maker->get() == "rr")
+ pmaker = new hotstuff::PaceMakerRR(parent_limit, opt_qc_timeout->get(), ec);
else
pmaker = new hotstuff::PaceMakerDummyFixed(opt_fixed_proposer->get(), parent_limit);