Rename excluce to exclude (#7121)
This commit is contained in:
@@ -47,7 +47,7 @@ EXCLUDE_NODE_AGE = 2 * MONTH_IN_BLOCKS
|
|||||||
# exclude nodes which have young mean channel age
|
# exclude nodes which have young mean channel age
|
||||||
EXCLUDE_MEAN_CHANNEL_AGE = EXCLUDE_NODE_AGE
|
EXCLUDE_MEAN_CHANNEL_AGE = EXCLUDE_NODE_AGE
|
||||||
# exclude nodes which charge a high fee
|
# exclude nodes which charge a high fee
|
||||||
EXCLUCE_EFFECTIVE_FEE_RATE = 0.001500
|
EXCLUDE_EFFECTIVE_FEE_RATE = 0.001500
|
||||||
# exclude nodes whose last channel open was a long time ago
|
# exclude nodes whose last channel open was a long time ago
|
||||||
EXCLUDE_BLOCKS_LAST_CHANNEL = 3 * MONTH_IN_BLOCKS
|
EXCLUDE_BLOCKS_LAST_CHANNEL = 3 * MONTH_IN_BLOCKS
|
||||||
|
|
||||||
@@ -182,7 +182,7 @@ class LNRater(Logger):
|
|||||||
p[1].fee_base_msat,
|
p[1].fee_base_msat,
|
||||||
p[1].fee_proportional_millionths) / FEE_AMOUNT_MSAT for p in channel_policies]
|
p[1].fee_proportional_millionths) / FEE_AMOUNT_MSAT for p in channel_policies]
|
||||||
mean_fees_rate = mean(effective_fee_rates)
|
mean_fees_rate = mean(effective_fee_rates)
|
||||||
if mean_fees_rate > EXCLUCE_EFFECTIVE_FEE_RATE:
|
if mean_fees_rate > EXCLUDE_EFFECTIVE_FEE_RATE:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
self._node_stats[n] = NodeStats(
|
self._node_stats[n] = NodeStats(
|
||||||
|
|||||||
Reference in New Issue
Block a user