Skip to content

PyOpenCL bitcoin miner for Skeincoin

License

Notifications You must be signed in to change notification settings

snoopcode/poclbm-skc

 
 

Repository files navigation

POCLBM-SKC

OpenCL kernel developed by reorder


Installation:

1. Ensure that you are using Python 2.5, 2.6 or 2.7

2. Compile the skeinhash library in the skeinhash folder

   cd skeinhash
   gcc -fPIC -shared -o skeinhash.so *.c
   
3. To monitor your GPU temperature, install the ADL3 library found at
   https://github.com/mjmvisser/adl3
   
   Install with "pip install adl3", or copy the 'adl3' folder from
   github to the main folder of poclbm-skc

 
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

About

PyOpenCL bitcoin miner for Skeincoin

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 71.9%
  • Python 28.1%