Skip to content
Snippets Groups Projects
Unverified Commit b752053e authored by Benjamin Loison's avatar Benjamin Loison
Browse files

Rename `KEEPING_ALL_BLOCKS_SINCE_LAST_M_HIGHER_BLOCKS` to...

Rename `KEEPING_ALL_BLOCKS_SINCE_LAST_M_HIGHER_BLOCKS` to `KEEPING_ALL_BLOCKS_SINCE_LAST_M_HIGHER_BLOCK`
parent e0c30d3f
No related branches found
No related tags found
No related merge requests found
...@@ -9,7 +9,7 @@ import config ...@@ -9,7 +9,7 @@ import config
# Bitcoin parameters # Bitcoin parameters
κ = 256 κ = 256
KEEPING_ALL_BLOCKS_SINCE_LAST_M_HIGHER_BLOCKS = True KEEPING_ALL_BLOCKS_SINCE_LAST_M_HIGHER_BLOCK = True
# Minimal target difference # Minimal target difference
sanityTargetDifferenceThreshold = 0.03408116026637664 sanityTargetDifferenceThreshold = 0.03408116026637664
...@@ -32,7 +32,7 @@ def Dissolve(m, k, C, previous_score, previous_ℓ): ...@@ -32,7 +32,7 @@ def Dissolve(m, k, C, previous_score, previous_ℓ):
else: else:
CStar[CIndex].level_min -= 1 CStar[CIndex].level_min -= 1
break break
if KEEPING_ALL_BLOCKS_SINCE_LAST_M_HIGHER_BLOCKS: if KEEPING_ALL_BLOCKS_SINCE_LAST_M_HIGHER_BLOCK:
D[] = uparrow(CStar, ) D[] = uparrow(CStar, )
previousCStarμ = D[] previousCStarμ = D[]
for μ in range( - 1, -1, -1): for μ in range( - 1, -1, -1):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment