aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2019-03-27 15:06:29 -0400
committerDeterminant <[email protected]>2019-03-27 15:06:29 -0400
commit37f7812a240e419c9aaf39a6069d113cfb45be0b (patch)
tree04d3e71db4be531d602eca66ee8bd3673cd8aee8 /include
parentbe0caa593b9ff05e1ef138abfd17995d4a5eebfc (diff)
add options
Diffstat (limited to 'include')
-rw-r--r--include/hotstuff/hotstuff.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/hotstuff/hotstuff.h b/include/hotstuff/hotstuff.h
index c4b87cf..f7acccc 100644
--- a/include/hotstuff/hotstuff.h
+++ b/include/hotstuff/hotstuff.h
@@ -204,7 +204,7 @@ class HotStuffBase: public HotStuffCore {
pacemaker_bt pmaker,
EventContext ec,
size_t nworker,
- const Net::Config &config);
+ const Net::Config &netconfig);
~HotStuffBase();
@@ -269,7 +269,7 @@ class HotStuff: public HotStuffBase {
pacemaker_bt pmaker,
EventContext ec = EventContext(),
size_t nworker = 4,
- const Net::Config &config = Net::Config()):
+ const Net::Config &netconfig = Net::Config()):
HotStuffBase(blk_size,
rid,
new PrivKeyType(raw_privkey),
@@ -277,7 +277,7 @@ class HotStuff: public HotStuffBase {
std::move(pmaker),
ec,
nworker,
- config) {}
+ netconfig) {}
void add_replica(ReplicaID idx, const NetAddr &addr, const bytearray_t &pubkey_raw) {
DataStream s(pubkey_raw);