Skip to content
This repository

PyOpenCL bitcoin miner

branch: master

Merge pull request #63 from JasonLunn/master

Workaround for standard strictness enforcement on OS X
latest commit 2ae15b77df
m0mchil authored
Octocat-spinner-32 .gitignore updated .gitignore October 17, 2012
Octocat-spinner-32 BFLMiner.py use getwork only on explicit 'http'; March 20, 2013
Octocat-spinner-32 GetworkSource.py Replace `if_else` utility function with Python 2.5+'s built in ternar… April 02, 2013
Octocat-spinner-32 LICENSE added LICENSE February 15, 2011
Octocat-spinner-32 Miner.py using float instead of Decimal March 20, 2013
Octocat-spinner-32 OpenCLMiner.py Use MACOSX from detect April 08, 2013
Octocat-spinner-32 README support for stratum September 18, 2012
Octocat-spinner-32 Source.py implemented stratum reconnect and add_peers October 30, 2012
Octocat-spinner-32 StratumSource.py use getwork only on explicit 'http'; March 20, 2013
Octocat-spinner-32 Switch.py Replace `if_else` utility function with Python 2.5+'s built in ternar… April 02, 2013
Octocat-spinner-32 detect.py use sys.platform instead of platform.system April 08, 2013
Octocat-spinner-32 distribute_setup.py initial support for non-opencl devices (BFL for now) October 05, 2012
Octocat-spinner-32 ioutil.py try directly /dev/ttyUSBs if not on windows March 20, 2013
Octocat-spinner-32 log.py detect stratum proxies October 29, 2012
Octocat-spinner-32 phatk.cl further optimized kernel by Diapolo July 14, 2011
Octocat-spinner-32 poclbm.py Replace `if_else` utility function with Python 2.5+'s built in ternar… April 02, 2013
Octocat-spinner-32 setup.py no numpy March 16, 2013
Octocat-spinner-32 sha256.py Use module-supplied `rotr` function instead of a `lambda` every time … April 02, 2013
Octocat-spinner-32 socks.py socks.py should use socks5errors strings when raising Socks5Error February 05, 2012
Octocat-spinner-32 util.py Replace `if_else` utility function with Python 2.5+'s built in ternar… April 02, 2013
Octocat-spinner-32 version.py version bump October 17, 2012
README
Usage: poclbm.py [OPTION]... SERVER[#tag]...
SERVER is one or more [http[s]|stratum://]user:pass@host:port          (required)
[#tag] is a per SERVER user friendly name displayed in stats (optional)

Options:
  --version             show program's version number and exit
  -h, --help            show this help message and exit
  --verbose             verbose output, suitable for redirection to log file
  -q, --quiet           suppress all output except hash rate display
  --proxy=PROXY         specify as
                        [[socks4|socks5|http://]user:pass@]host:port (default
                        proto is socks5)

  Miner Options:
    -r RATE, --rate=RATE
                        hash rate display interval in seconds, default=1 (60
                        with --verbose)
    -e ESTIMATE, --estimate=ESTIMATE
                        estimated rate time window in seconds, default 900 (15
                        minutes)
    -a ASKRATE, --askrate=ASKRATE
                        how many seconds between getwork requests, default 5,
                        max 10
    -t TOLERANCE, --tolerance=TOLERANCE
                        use fallback pool only after N consecutive connection
                        errors, default 2
    -b FAILBACK, --failback=FAILBACK
                        attempt to fail back to the primary pool after N
                        seconds, default 60
    --cutoff_temp=CUTOFF_TEMP
                        (requires github.com/mjmvisser/adl3) temperature at
                        which to skip kernel execution, in C, default=95
    --cutoff_interval=CUTOFF_INTERVAL
                        (requires adl3) how long to not execute calculations
                        if CUTOFF_TEMP is reached, in seconds, default=0.01
    --no-server-failbacks
                        disable using failback hosts provided by server

  Kernel Options:
    -p PLATFORM, --platform=PLATFORM
                        use platform by id
    -d DEVICE, --device=DEVICE
                        use device by id, by default asks for device
    -w WORKSIZE, --worksize=WORKSIZE
                        work group size, default is maximum returned by opencl
    -f FRAMES, --frames=FRAMES
                        will try to bring single kernel execution to 1/frames
                        seconds, default=30, increase this for less desktop
                        lag
    -s FRAMESLEEP, --sleep=FRAMESLEEP
                        sleep per frame in seconds, default 0
    -v, --vectors       use vectors
Something went wrong with that request. Please try again.