Skip to content

Instantly share code, notes, and snippets.

@ansonl
Last active August 29, 2015 14:05

Revisions

  1. ansonl revised this gist Aug 14, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion poclbmcpuminer
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    use ami-87377cee
    #use ami-87377cee

    #!/bin/bash

  2. ansonl created this gist Aug 14, 2014.
    20 changes: 20 additions & 0 deletions poclbmcpuminer
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,20 @@
    use ami-87377cee

    #!/bin/bash

    sudo apt-get update
    sudo apt-get install install build-essential libcurl4-openssl-dev git automake htop

    git clone https://github.com/m0mchil/poclbm.git

    python ./poclbm.py -v -f 0 stratum://ansonl.worker1:B6zFcgNR@stratum.bitcoin.cz:3333

    cd ~
    git clone https://github.com/pooler/cpuminer.git
    cd cpuminer
    ./autogen.sh
    ./configure CFLAGS="-O3"
    make
    cd ..

    ./minerd --algo=sha256d --url=stratum+tcp://stratum.bitcoin.cz:3333 -u ansonl.2 -p anything