Right now hashes are stored as strings and the difficulty is calculated by the number of leading zeros in the hash string. Eventually hashes should be stored as integers and difficulty should be based on "a hash whose integer value is less than difficulty".
Right now hashes are stored as strings and the difficulty is calculated by the number of leading zeros in the hash string. Eventually hashes should be stored as integers and difficulty should be based on "a hash whose integer value is less than
difficulty".