Rename data members of ConsensusParms:

Based on a TODO comment in DisputedTX.h, it seems at one point the
data members of ConsensusParms were macros. Now that they are not,
we should spell them like other data members (without all uppercase).
This commit is contained in:
Joe Loser
2018-06-29 07:38:20 -04:00
committed by Nik Bougalis
parent f58916a2e4
commit e222ff5868

View File

@@ -213,10 +213,6 @@ DisputedTx<Tx_t, NodeID_t>::updateVote(
// This is basically the percentage of nodes voting 'yes' (including us)
weight = (yays_ * 100 + (ourVote_ ? 100 : 0)) / (nays_ + yays_ + 1);
// VFALCO TODO Rename these macros and turn them into language
// constructs. consolidate them into a class that collects
// all these related values.
//
// To prevent avalanche stalls, we increase the needed weight slightly
// over time.
if (percentTime < p.avMID_CONSENSUS_TIME)