Author

Topic: Bitcoin Core 0.19.1 and CGminer for solo mining (Read 247 times)

legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
November 14, 2021, 05:32:52 AM
#16
hi thanks a lot this variant of cgminer seems to work i will try to point the antminer to it but i don't understand why the creator didn't modify it like this
Because they (the original creator) are no longer supporting the software and they stopped development... so the only option is to use forks that are maintained by other developers.
Correction, I am one of the original developers and I had full access to the main cgminer git until he locked me out of it then closed/locked all the cgminer code/support of it years ago.
If you care, you will see I had full commit access to it by the commits in there by me.

Thus my git is the current master and quite a bit ahead of that old git.
https://github.com/kanoi/cgminer
newbie
Activity: 11
Merit: 1
thank you very much for the tip and if there was a link to the firmware i would be very grateful
legendary
Activity: 3822
Merit: 2703
Evil beware: We have waffles!
You do NOT use a separate version of cgminer to run ants. The s9 is a stand-alone miner...
You need to use either the official firmware downloaded from Bitmain or use one of the more tweakable forked versions of it that has been modified by a couple folks who btw are violating the cgminer license by not publishing their source code.
newbie
Activity: 11
Merit: 1
still not displayed

bitcoin.conf
listen=1
daemon=1
server=1
rpcuser=12345
rpcpassword=12345
rpcallowip=127.0.0.1
prcport=8332




cg miner
(5s):0.000 (1m):0.000 (5m):0.000 (15m):0.000 (avg):0.000h/s



ant miner
Miner Status
Summary
Elapsed   GH/S(RT)   GH/S(avg)   FoundBlocks   LocalWork   Utility   WU   BestShare
0.0
0.0
0
0
0
0.0
0

cgminer doesn't seem to be working. or I have something wrong if someone suggests why cgminer won't run antminer I'll be glad

or if anyone has instructions for bfgminer solo i will appreciate any solo software via bitcoin core


newbie
Activity: 11
Merit: 1
guys what should i fill in all the fields of antminer s9 i tried to fill it like this and it won't show up



Pool 1
URL
http://127.0.0.1:8332
Worker
12345
Password
12345

Pool 2
URL
http://127.0.0.1:8332
Worker
12345
Password
12345

Pool 3
URL
http://127.0.0.1:8332
Worker
12345
Password
12345

cgminer version 4.12.0 - Started: [2021-11-10 10:39:14.370] 
   
(5s):0.000 (1m):0.000 (5m):0.000 (15m):0.000 (avg):0.000h/s    A:0  R:0  HW:0  WU:0.0/m   
                                                                                           
Connected to (null) diff 21.7T without LP as user 12345
 
Block: 985598c8...  Diff:21.7T  Started: [10:39:14.385]  Best share: 0 

USB management Pool management Settings Display options Quit
 
2021-11-10 10:39:12.807] Started cgminer 4.12.0 

2021-11-10 10:39:12.810] Probing for an alive pool 

2021-11-10 10:39:13.162] Solo mining to valid address: bc1qw03n4rnyzv6khra22lpp0y38hs6sxstd2cj5jg 
                   
2021-11-10 10:39:13.163] Block change for http://127.0.0.1:8332 detection via getblockcount polling
 
2021-11-10 10:39:14.368] No devices detected! 

2021-11-10 10:39:14.368] Waiting for USB hotplug devices or press q to quit 
                                         
2021-11-10 10:39:14.385] Network diff set to 21.7T     
   
2021-11-10 10:39:14.558] Solo mining to valid address: bc1qw03n4rnyzv6khra22lpp0y38hs6sxstd2cj5jg



HCP
legendary
Activity: 2086
Merit: 4363
hi thanks a lot this variant of cgminer seems to work i will try to point the antminer to it but i don't understand why the creator didn't modify it like this
Because they (the original creator) are no longer supporting the software and they stopped development... so the only option is to use forks that are maintained by other developers.
newbie
Activity: 11
Merit: 1
hi thanks a lot this variant of cgminer seems to work i will try to point the antminer to it but i don't understand why the creator didn't modify it like this
legendary
Activity: 2483
Merit: 1482
-> morgen, ist heute, schon gestern <-
simply insert this in your bitcoin.conf:
listen=1
this enables the rpc connection needet to comunicate with cgminer.
Are you sure? bitcoin.conf example (https://github.com/bitcoin/bitcoin/blob/v0.19.1/share/examples/bitcoin.conf#L70-L71) says otherwise
Code:
# server=1 tells Bitcoin-Qt and bitcoind to accept JSON-RPC commands
#server=0
EDIT: your btc address just got capital letters, are you sure that you use the corect address?
For Bech32, it's valid address. The address could be either lower case or upper case, but not mixed case.

Sorry, you are right with that, I just watched my bitcoind.conf and get mixed up with listen.
--------------------

@David739:
please use the latest version of cgminer, you can download a binary for windows from kano:
https://kano.is/cgminer.zip

If you are using Linux, you can download it here:
https://github.com/kanoi/cgminer
legendary
Activity: 2618
Merit: 6452
Self-proclaimed Genius
i have CGMiner 3.7.2 if anyone has to link to cgminer what works under win or tutorial on other software i would like to run antminer solo
Have you downloaded it from cgminer(dot)info by any chance?
Because there's no official Windows binary of CGminer as said by the developer: /index.php?topic=28402.msg42446373#msg42446373

I don't know if you've downloaded a legit version but even if it's not a malware, the version is older than the version with SegWit support.
newbie
Activity: 11
Merit: 1
guys thank you very much for your help

I have tried these variants and it is still the same problem

cgminer -o http://127.0.0.1:8332 -u 12345 -p 12345 --btc-address bc1qkvdzdrpvel6yphuqpvrk7r68zdeud7njlr67tn

cgminer -o http://127.0.0.1:8332 -u 12345 -p 12345 --btc-address 15U76ze3vB1BA8SCquCDW8Yz427vE4rXyP

I tried bitcoin.conf listen=1

i have CGMiner 3.7.2 if anyone has to link to cgminer what works under win or tutorial on other software i would like to run antminer solo
legendary
Activity: 2483
Merit: 1482
-> morgen, ist heute, schon gestern <-

hi i have bitcoin core 0.19.1 installed and synced
bitcoin.conf
daemon=1
server=1
rpcuser=12345
rpcpassword=12345
rpcallowip=127.0.0.1
prcport=8332

cgminer
via cmd.exe I insert
cgminer -o http://127.0.0.1:8332 -u 12345 -p 12345 --btc-address BC1QJQ78FHQAXTM6XQZ8LNPTCUUY3EU6P8QTAVTM67
eror  cgminer: --btc-address: unrecognized option

what is wrong, please, or what else needs to be done

simply insert this in your bitcoin.conf:

listen=1

this enables the rpc connection needet to comunicate with cgminer.

EDIT: your btc address just got capital letters, are you sure that you use the corect address?
what cgminer version you are using?

Cgminer was the first with segwit support, btw
legendary
Activity: 1512
Merit: 7340
Farewell, Leo
AFAIK CGMiner development halted few years ago and doesn't support Bech32/native segwit address.

It doesn't.

does anyone have an address to test or you don't know the software that works
Yeah, it's kinda hard to generate legacy addresses nowadays. If you have Electrum, you can do it in the console by entering:
Code:
make_seed(seed_type="standard")

That will give you a twelve-words mnemonic that once you import it, it'll show you an HD wallet with legacy addresses.
legendary
Activity: 3472
Merit: 3217
Playbet.io - Crypto Casino and Sportsbook
You can generate your own here https://coinb.in/#newAddress or use what I generate here 1EdYPAM2qeabxCwwi6Ktrd6ZZYctszdpEo

But I guess it won't work because I think it needs to set up a stratum server before you can mine solo

What machine you're trying to use to solo mine on Bitcoin core?
Are you trying to mine with your PC? if yes then it won't work.

Or this is newpac CPU ASIC miner?
Their official thread can be found here https://bitcointalksearch.org/topic/gekkoscience-newpac-terminus-r606-bm1387-official-support-thread-5053833

newbie
Activity: 11
Merit: 1
does anyone have an address to test or you don't know the software that works
legendary
Activity: 2870
Merit: 7490
Crypto Swap Exchange
Have you tried using legacy address format (which start with character "1")? AFAIK CGMiner development halted few years ago and doesn't support Bech32/native segwit address.

P.S. Solo mining isn't practical these days, i would recommend you to join pool instead.
newbie
Activity: 11
Merit: 1

hi i have bitcoin core 0.19.1 installed and synced
bitcoin.conf
daemon=1
server=1
rpcuser=12345
rpcpassword=12345
rpcallowip=127.0.0.1
prcport=8332

cgminer
via cmd.exe I insert
cgminer -o http://127.0.0.1:8332 -u 12345 -p 12345 --btc-address BC1QJQ78FHQAXTM6XQZ8LNPTCUUY3EU6P8QTAVTM67
eror  cgminer: --btc-address: unrecognized option

what is wrong, please, or what else needs to be done
Jump to: