mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user