`mining_in_logarithmic_space_constant_difficulty.py` specific issues
Optimization:
Could just copy.deepcopy the blocks we actually change.
Correctness:
- missing
level_minusage maybe involving multiple levels having more than2 * mblocks. Could solve this issue by making acopy.deepcopyinuparrowsettinglevel_minbut this seems heavy. Maybe there is no problem, as it's just blocks the latest m above blocks. Should verify if not updatinglevel_minisn't problematic. It seems that with and withoutcopy.deepcopyboth compressed blockchains only start to differ at their last 100 blocks. Could useprint(hash(tuple(Π)))to get the precise first difference height, but as I consider current code more correct, can just skip comparing with the previous one. - TODO: step-by-step
Edited by LOISON Benjamin