Post
Topic
Board Announcements (Altcoins)
Re: [ANN][OC] ONECOIN | NO PREMINE | FAIR LAUNCH | SHA256 TRIPLE
by
sugarbaby
on 05/03/2017, 15:37:35 UTC
As far as I can tell this is the best miner so far.

https://github.com/ocminer/cpuminer-opt

Can you help me set up the cpu miner??


my occoin.bat has follows:

cpuminer -a sha256t --url stratum+tcp://oc.suprnova.cc:8586 -u melwinder1337.melwinder -p xxxx


I double click on it and it instantly closes, I have it in the main "cpuminer-opt-master" folder.

I don't know if you got it running or not but..

I'm assuming you are using Windows
ocminer did not compile a binary for this, that I'm aware of , which means you have to compile it yourself.

instead use joblo's cpuminer-opt v3.5.12 
https://bitcointalk.org/index.php?topic=1326803.0

in the .bat file put

cpuminer-aes-avx -a sha256t -o stratum+tcp://oc.suprnova.cc:8586 -u username.worker -p password
pause

I highly recommend using the pause command
because if it fails you can read why it fails before you close it manually

there are 5 .exe in the zip file choose the one that works best with your cpu



if using linux

install dependencies

(on Ubuntu )
sudo apt-get install automake autoconf pkg-config libcurl4-openssl-dev libjansson-dev libssl-dev libgmp-dev git


(on Debian)
apt-get install automake autoconf pkg-config libcurl4-openssl-dev libjansson-dev libssl-dev libgmp-dev git g++


(then install)

git clone https://github.com/JayDDee/cpuminer-opt

cd cpuminer-opt

./build.sh

nano start.bash

(insert)

./cpuminer -a sha256t -o stratum+tcp://oc.suprnova.cc:8586 -u username.worker -p password
sleep 1000

(press ctrl-x then y then enter)


(make start.bash executable)

chmod +x start.bash


(start mining)

./start.bash




Im using JayDDee's miner and works nice on ubuntu