Bitcoin Forum
November 20, 2017, 07:05:52 PM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: solo mining question  (Read 2372 times)
rikii
Newbie
*
Offline Offline

Activity: 25


View Profile
May 25, 2013, 03:11:48 AM
 #1

so while solo mining goldcoin for the fun of it. cgminer said block found accepted, my wallet, which is brand new, says transactions 1.  yet nothing shows under transactions tab, nothing listed as immature, or unconfirmed. I guess i dont get it. usually when i get an orphan it just shows as rejected in cgminer, this one said accepted and even my wallet shows "number of transactions: 1" Never encountered this and couldn't find relevant information when searching the forums.
1511204752
Hero Member
*
Offline Offline

Posts: 1511204752

View Profile Personal Message (Offline)

Ignore
1511204752
Reply with quote  #2

1511204752
Report to moderator
Join ICO Now A blockchain platform for effective freelancing
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1511204752
Hero Member
*
Offline Offline

Posts: 1511204752

View Profile Personal Message (Offline)

Ignore
1511204752
Reply with quote  #2

1511204752
Report to moderator
jonptl
Member
**
Offline Offline

Activity: 70



View Profile
May 25, 2013, 03:36:04 AM
 #2

Hi, a few things we have to clarify here.

A reject is not an orphan, its just a reject. Aka a solution that doesnt solve the crypto problem for the block. Its just rejected.

An orphan is an accepted transaction, just that someone was faster than you. It will be listed as accepted in cgminer, and get a transaction as you have seen in the client but with no coins.

If you want to confirm this, go to the debug window in the clieny, type 'listtransactions' . U will see ur orphan there.

There you go!


Wouldnt mind a donation if ur happy with the ans!

LottoCoin - LOT - the coin that's a game! lottocoin.org

BTC :  1CAHym5P2utWXkZPNbKzGpbRHXKUNwsZmK
btc4ever
Sr. Member
****
Offline Offline

Activity: 419


View Profile
June 09, 2013, 02:34:20 AM
 #3

So why would so many people be getting rejects when solo mining?  Based on the answer above, I conclude that the hash is being computed incorrectly by the GPU, but at least in my case I have 0 hardware errors reported by cgminer but am seeing lots of rejected.   can someone splain me please?

Psst!!  Wanna make bitcoin unstoppable? Why the Only Real Way to Buy Bitcoins Is on the Streets. Avoid banks and centralized exchanges.   Buy/Sell coins locally.  Meet other bitcoiners and develop your network.   Try localbitcoins.com or find or start a buttonwood / satoshi square in your area.  Pass it on!
btc4ever
Sr. Member
****
Offline Offline

Activity: 419


View Profile
June 09, 2013, 02:45:36 AM
 #4

Okay, I found the answer on another forum.  Probably obvious to many here, but maybe it will help someone.

Quote
Usually the coin daemon does not supply LongPoll or stratum. These protocols are used to inform you when a new block is found in the network. If you are solomining you should set your scantime to something around 2-10seconds. So your miner fetches new work every 2-10seconds. Once a block is found on the network you will have a different prevhash, which causes your old getwork to be invalid.. If your miner is hashing on it for ,lets say a minute (i think this is default on cgminer), there is a chance that the network found the block a few seconds(e.g. 10) after your last getwork call. So now your hasher is hashing on an old getwork for another 50 seconds, trying to submit a block, finds out prevhash changed, and starts hashing on the new prevhash. But the block you have tried to submit, is already invalid for these 50seconds... so best way is to move to a pool or use low scantime(this does not matter on LAN usually).

Quote
I only got 1 reject, and 6500+ accepts.  Smiley
try lowering your "expiry" and "scan-time" and set queue=0

here's my settings if you want to try:

queue=0
scan-time=2
expiry=2

Psst!!  Wanna make bitcoin unstoppable? Why the Only Real Way to Buy Bitcoins Is on the Streets. Avoid banks and centralized exchanges.   Buy/Sell coins locally.  Meet other bitcoiners and develop your network.   Try localbitcoins.com or find or start a buttonwood / satoshi square in your area.  Pass it on!
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!