Issue: Fractional difficulty values in mining.set difficulty are truncated to integers
Issue: Fractional difficulty values in mining.set difficulty are truncated to integers: a task in LegoFlow-SWE (Harbor dataset). When a Stratum mining pool sends a mining.set difficulty message with a fractional difficulty value (e.g., 0.001 , 0.5 , or 2.5 ), the system only retains the integer…
The task
When a Stratum mining pool sends a `mining.set_difficulty` message with a fractional difficulty value (e.g., `0.001`, `0.5`, or `2.5`), the system only retains the integer part of the value. For example, `0.001` becomes `0`, `0.5` becomes `0`, and `2.5` becomes `2`. This behavior is problematic because many…
Part of Lego-X/LegoFlow-SWE.