Skip to content

ahashpool divisor change on [keccak, keccakc, nist5, lbry, skein] effective July 01 #233

@johnrando

Description

@johnrando

aHashPool has changed their units on several algos for greater precision, and added a new mbtc_mh_factor value to their api.

in Pools/ahashpool.ps1:

##### new divisor  
    $Divisor = 1000000 * [Double]$ahashpool_Request.$_.mbtc_mh_factor  

#### either comment out this stuff, or just delete it  
#    $Divisor = 1000000  
#    switch($ahashpool_Algorithm)  
#    {  
#        "sha256"{$Divisor *= 1000000}  
#        "sha256t"{$Divisor *= 1000000}  
#        "blake"{$Divisor *= 1000}  
#        "blake2s"{$Divisor *= 1000}  
#        "blakecoin"{$Divisor *= 1000}  
#        "decred"{$Divisor *= 1000}  
#        "keccak"{$Divisor *= 1000}  
#        "keccakc"{$Divisor *= 1000}  
#        "lbry"{$Divisor *= 1000}  
#        "myr-gr"{$Divisor *= 1000}  
#        "quark"{$Divisor *= 1000}  
#        "qubit"{$Divisor *= 1000}  
#        "vanilla"{$Divisor *= 1000}  
#        "x11"{$Divisor *= 1000}  
#        "equihash"{$Divisor /= 1000}  
#        "yescrypt"{$Divisor /= 1000}  
#    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions