Bitcoin Forum
May 02, 2024, 05:04:23 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Requesting Information  (Read 651 times)
RB25 (OP)
Hero Member
*****
Offline Offline

Activity: 831
Merit: 500


BitSong is a decentralized music streaming platfor


View Profile
April 18, 2014, 03:37:41 AM
 #1

Hello-

  I have been mining altcoins for a few months and I recently purchased an Antminer U2 to try mining SHA256 coins, most notably, trying to mine BTC. I have followed the Easy Set-up Guide here: https://bitcointalk.org/index.php?topic=555638.0 and have downloaded the needed drivers/programs. The Antminer is being detected.

Now I am to the part where I am doing the conf file and the batch file to run CGMiner. I have the following for a conf file:

rpcuser=(myusername)   
rpcpassword=(mypassword)
rpcallowip=localhost
rpcport=8332
addnode=31.193.130.77
addnode=192.241.159.88
daemon=1
listen=1
server=1


And this for a command batch file:

cgminer  --anu-freq 220 -o localhost:8332 -u (myusername) -p (mypassword) --btc-address (mybtcaddress)


When I run the batch file, CGMiner comes up and says:

Started CGMiner 4.2.3
Probing for an alive pool
Waiting for work to be available from pools

The miner window goes blank after a minute and if i click the mouse in the window, it shuts down.

I have been searching for the last 2 hours for any other information about nodes, conf files, etc and this is where i have gotten. I know this is for solomining, but I am just trying it to make sure I can configure an ASIC correctly for solo mining. I expect no gains or blocks.

 I just want to know if I am configuring correctly and if there is a list of nodes I can add to the conf file.

Thank you

.BITSONG.
████
████
████
████
████    ████
████    ████
████    ████
████    ████
████    ████
████    ████

            ████
            ████
            ████
            ████
████    ████
████    ████
████    ████
████    ████
████    ████
████    ████
██
██
██
██
██        ██
██  ██  ██  ██
██  ██  ██  ██
██  ██  ██  ██
██  ██  ██  ██
      ██  ██  ██
            ██
.▬▬▬▬TELEGRAM▬▬▬▬.
⇪  CHANNEL   ⇪    GROUP   ⇪
Twitter  Facebook  Medium
1714669463
Hero Member
*
Offline Offline

Posts: 1714669463

View Profile Personal Message (Offline)

Ignore
1714669463
Reply with quote  #2

1714669463
Report to moderator
1714669463
Hero Member
*
Offline Offline

Posts: 1714669463

View Profile Personal Message (Offline)

Ignore
1714669463
Reply with quote  #2

1714669463
Report to moderator
Bitcoin addresses contain a checksum, so it is very unlikely that mistyping an address will cause you to lose money.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
smracer
Donator
Legendary
*
Offline Offline

Activity: 1055
Merit: 1020



View Profile
April 18, 2014, 03:43:02 AM
 #2

Has the blockchain finished downloading and syncing?

What do you get when you type this?

root@ubuntu:~# bitcoind getinfo

The "blocks" should be over 296XXX.

RB25 (OP)
Hero Member
*****
Offline Offline

Activity: 831
Merit: 500


BitSong is a decentralized music streaming platfor


View Profile
April 18, 2014, 10:30:25 AM
 #3

Has the blockchain finished downloading and syncing?

What do you get when you type this?

root@ubuntu:~# bitcoind getinfo

The "blocks" should be over 296XXX.



Under Information in the Debug Window, the current number of blocks is 296451. I am running Bitcoin Core 0.9.1

.BITSONG.
████
████
████
████
████    ████
████    ████
████    ████
████    ████
████    ████
████    ████

            ████
            ████
            ████
            ████
████    ████
████    ████
████    ████
████    ████
████    ████
████    ████
██
██
██
██
██        ██
██  ██  ██  ██
██  ██  ██  ██
██  ██  ██  ██
██  ██  ██  ██
      ██  ██  ██
            ██
.▬▬▬▬TELEGRAM▬▬▬▬.
⇪  CHANNEL   ⇪    GROUP   ⇪
Twitter  Facebook  Medium
-ck
Legendary
*
Offline Offline

Activity: 4088
Merit: 1631


Ruu \o/


View Profile WWW
April 18, 2014, 02:13:07 PM
 #4

Hello-

  I have been mining altcoins for a few months and I recently purchased an Antminer U2 to try mining SHA256 coins, most notably, trying to mine BTC. I have followed the Easy Set-up Guide here: https://bitcointalk.org/index.php?topic=555638.0 and have downloaded the needed drivers/programs. The Antminer is being detected.

Now I am to the part where I am doing the conf file and the batch file to run CGMiner. I have the following for a conf file:

rpcuser=(myusername)   
rpcpassword=(mypassword)
rpcallowip=localhost
rpcport=8332
addnode=31.193.130.77
addnode=192.241.159.88
daemon=1
listen=1
server=1


And this for a command batch file:

cgminer  --anu-freq 220 -o localhost:8332 -u (myusername) -p (mypassword) --btc-address (mybtcaddress)


When I run the batch file, CGMiner comes up and says:

Started CGMiner 4.2.3
Probing for an alive pool
Waiting for work to be available from pools

The miner window goes blank after a minute and if i click the mouse in the window, it shuts down.

I have been searching for the last 2 hours for any other information about nodes, conf files, etc and this is where i have gotten. I know this is for solomining, but I am just trying it to make sure I can configure an ASIC correctly for solo mining. I expect no gains or blocks.

 I just want to know if I am configuring correctly and if there is a list of nodes I can add to the conf file.

Thank you
You need to tell cgminer to not try using stratum so specify localhost:8332 as http://localhost:8332

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
RB25 (OP)
Hero Member
*****
Offline Offline

Activity: 831
Merit: 500


BitSong is a decentralized music streaming platfor


View Profile
April 18, 2014, 07:17:51 PM
 #5

You need to tell cgminer to not try using stratum so specify localhost:8332 as http://localhost:8332

That worked, thank you.

Solomining to valid address: (my address)
Network diff set to 6.98G
Block height change to 296522 detected on pool 0

Best share: 146 (here's hoping)

.BITSONG.
████
████
████
████
████    ████
████    ████
████    ████
████    ████
████    ████
████    ████

            ████
            ████
            ████
            ████
████    ████
████    ████
████    ████
████    ████
████    ████
████    ████
██
██
██
██
██        ██
██  ██  ██  ██
██  ██  ██  ██
██  ██  ██  ██
██  ██  ██  ██
      ██  ██  ██
            ██
.▬▬▬▬TELEGRAM▬▬▬▬.
⇪  CHANNEL   ⇪    GROUP   ⇪
Twitter  Facebook  Medium
frankenmint
Legendary
*
Offline Offline

Activity: 1456
Merit: 1018


HoneybadgerOfMoney.com Weed4bitcoin.com


View Profile WWW
April 23, 2014, 07:57:26 PM
 #6

You need to tell cgminer to not try using stratum so specify localhost:8332 as http://localhost:8332

That worked, thank you.

Solomining to valid address: (my address)
Network diff set to 6.98G
Block height change to 296522 detected on pool 0

Best share: 146 (here's hoping)

Solo BTC...your best share must be 6.98G and you're currently at 146??? Good Luck! Grin

RB25 (OP)
Hero Member
*****
Offline Offline

Activity: 831
Merit: 500


BitSong is a decentralized music streaming platfor


View Profile
April 23, 2014, 09:14:41 PM
 #7

You need to tell cgminer to not try using stratum so specify localhost:8332 as http://localhost:8332

That worked, thank you.

Solomining to valid address: (my address)
Network diff set to 6.98G
Block height change to 296522 detected on pool 0

Best share: 146 (here's hoping)

Solo BTC...your best share must be 6.98G and you're currently at 146??? Good Luck! Grin

Oh, I stopped the solo mining. Just wanted to make sure everything worked. I moved on to pool mining another SHA256 coin.

But, technically, one COULD find a block solo mining with an insane amount of luck.

.BITSONG.
████
████
████
████
████    ████
████    ████
████    ████
████    ████
████    ████
████    ████

            ████
            ████
            ████
            ████
████    ████
████    ████
████    ████
████    ████
████    ████
████    ████
██
██
██
██
██        ██
██  ██  ██  ██
██  ██  ██  ██
██  ██  ██  ██
██  ██  ██  ██
      ██  ██  ██
            ██
.▬▬▬▬TELEGRAM▬▬▬▬.
⇪  CHANNEL   ⇪    GROUP   ⇪
Twitter  Facebook  Medium
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!