Bitcoin Forum
November 09, 2024, 12:21:33 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 [25] 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 ... 371 »
  Print  
Author Topic: [1050 TH] BitMinter.com [1% PPLNS,Pays TxFees +MergedMining,Stratum,GBT,vardiff]  (Read 837094 times)
P4man
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500



View Profile
November 08, 2011, 09:18:21 PM
 #481

wOOt. Found my second ever BTC block Smiley

teflone
Hero Member
*****
Offline Offline

Activity: 770
Merit: 500


You're fat, because you dont have any pics on FB


View Profile
November 08, 2011, 10:01:02 PM
 #482

What i don't understand is why sometimes a member finds a namecoin and a bitcoin block at the same time. If i count right we had 4 such doubles. Is that just coincidence ?

We should find a NMC block EVERYTIME we find a BTC block.

Remember there is only one block header.  The prior NMC block hash is put into coinbase transaction of the BTC block.


So
1) You get a block header to hash from the server.
2) You hash it and check if it matches difficulty for a share.
3) If it does you submit it to the server.
4a) Server checks if it matches difficulty target for BTC
4b) Server checks if it matches difficulty target for NMC

So each share can be:
a) worthless (just used to track work by miners to ensure fair payout)
b) solution for BTC block
c) solution for NMC block
d) solution for both BTC & NMC blocks.

Now right now (and likely in the future) BTC difficulty is HIGHER than NMC.  Thus any share which meets BTC difficulty target meets NMC target.  Using smaller numbers may make it easier to understand.

Say to solve a block you pick a random number between 1 & 100 for each share.
The current target for a valid BTC share is < 10.
The current target for a valid NMC share is < 40.

So:
a share w/ value of 41 is worthless. (type a above)
a share w/ value of 14 is valid for NMC but invalid for BTC (type c above)
a share w/ value of 9 is valid for both NMC & BTC (type d above)

Now you may be wondering how you get a type B.  It would only occur as a timing issue.    While any BTC hash meets the target for a NMC hash if the NMC block has changed the miner is working on a block that can never be a valid NMC hash (no matter how low of  hash is found).  A "perfect pool" (which isn't possible with current miners) would have a way to tell miner the to update the block but still submit work because it might be good for BTC.   Luckily this should be relatively rare.


I also dont understand why people are finding both, I read this a few times.. and it makes little sense to me..

Its very odd to me..

in a short concise sentence, why should who ever finds a Bitcoin block also find a namecoin.. ?

For Canadians by Canadians: Canada's Bitcoin Community - https://www.coinforum.ca/
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
November 08, 2011, 10:03:48 PM
 #483

in a short concise sentence, why should who ever finds a Bitcoin block also find a namecoin.. ?

Hmm not sure how to make it simpler.  There is no such thing as "finding a block".  Block are already known.  What we are looking for is a hash which is SMALLER than the TARGET required by the current DIFFICULTY.

Thus if a hash (any hash) is smaller than both Bitcoin and Namecoin targets it "solves" both blocks.  Since Bitcoin target is higher than namecoin target any hash which is small enough for Bitcoin will be by default also small enough for Namecoin.
Digigami
Sr. Member
****
Offline Offline

Activity: 462
Merit: 250


View Profile
November 09, 2011, 12:11:26 AM
 #484

for curiosities sake, and since I didn't know the 'shares' we do submit qualify for a difficulty, what is that difficulty for an acceptable share?

Is that something that is set by the network, or by you DrHaribo?
teflone
Hero Member
*****
Offline Offline

Activity: 770
Merit: 500


You're fat, because you dont have any pics on FB


View Profile
November 09, 2011, 12:15:47 AM
 #485

in a short concise sentence, why should who ever finds a Bitcoin block also find a namecoin.. ?

Hmm not sure how to make it simpler.  There is no such thing as "finding a block".  Block are already known.  What we are looking for is a hash which is SMALLER than the TARGET required by the current DIFFICULTY.

Thus if a hash (any hash) is smaller than both Bitcoin and Namecoin targets it "solves" both blocks.  Since Bitcoin target is higher than namecoin target any hash which is small enough for Bitcoin will be by default also small enough for Namecoin.

Whoa.. I realize I know nothing of the mechanics now..

I just thought they were separate networks of sorts.. Im surprised to find it works like this..

For Canadians by Canadians: Canada's Bitcoin Community - https://www.coinforum.ca/
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
November 09, 2011, 12:24:24 AM
Last edit: November 09, 2011, 02:01:17 AM by DeathAndTaxes
 #486

for curiosities sake, and since I didn't know the 'shares' we do submit qualify for a difficulty, what is that difficulty for an acceptable share?

Is that something that is set by the network, or by you DrHaribo?

Almost all pools use difficulty 1, which means on average 1 valid hash in 2^32 nonces.  This is a somewhat arbitrary decision.  There is no reason a pool couldn't use x difficulty (as long as x is less than actual difficulty).  The higher the difficulty the more variance in share generation.  The lower the difficulty the more shares the pool needs to verify.

One example of higher difficulty is p2pool.  Since shares have to be distributed p2p and verified by every peer obviously one wants a much higher difficulty.  I believe p2pool uses a difficulty of 1024.  Thus 1 p2pool share = 1024 Bitminter/slush/ars/etc shares.
Digigami
Sr. Member
****
Offline Offline

Activity: 462
Merit: 250


View Profile
November 09, 2011, 01:00:08 AM
 #487

Ah, very good. Thanks
DrHaribo (OP)
Legendary
*
Offline Offline

Activity: 2730
Merit: 1034


Needs more jiggawatts


View Profile WWW
November 09, 2011, 12:43:50 PM
 #488

wOOt. Found my second ever BTC block Smiley

Congrats! Smiley

I just thought they were separate networks of sorts.. Im surprised to find it works like this..

They were completely separate networks until merged mining was invented. Merged mining is what makes it possible to create a namecoin block with a proof of work for a bitcoin block. So ever since merged mining, if a pool implements it, things work like DeathAndTaxes just explained. Very good explanations, by the way, DAT. Smiley

Before anyone asks, no, we can't add other coins. The auxiliary chain that you "merge" into your bitcoin mining has to support merged mining, and at the moment this is only supported by namecoins.

By the way, this morning we had a proof of work that could have created a namecoin block, but it was stale on the namecoin side. It's not good having 5% of proofs be stale on the NMC side. I'll get out an update for the BitMinter beta client soon (regular non-beta should be fine already). Does anyone know if a new cgminer has been released that works better with merged mining?

▶▶▶ bitminter.com 2011-2020 ▶▶▶ pool.xbtodigital.io 2023-
Tartarus
Newbie
*
Offline Offline

Activity: 47
Merit: 0


View Profile
November 09, 2011, 02:28:19 PM
 #489

By the way, this morning we had a proof of work that could have created a namecoin block, but it was stale on the namecoin side. It's not good having 5% of proofs be stale on the NMC side. I'll get out an update for the BitMinter beta client soon (regular non-beta should be fine already). Does anyone know if a new cgminer has been released that works better with merged mining?

Still only fixed in git, afaics.
Turbor
Legendary
*
Offline Offline

Activity: 1022
Merit: 1000


BitMinter


View Profile WWW
November 09, 2011, 05:47:19 PM
 #490

By the way, this morning we had a proof of work that could have created a namecoin block, but it was stale on the namecoin side. It's not good having 5% of proofs be stale on the NMC side. I'll get out an update for the BitMinter beta client soon (regular non-beta should be fine already). Does anyone know if a new cgminer has been released that works better with merged mining?

So it's better to mine with the non-beta client for now ?

DrHaribo (OP)
Legendary
*
Offline Offline

Activity: 2730
Merit: 1034


Needs more jiggawatts


View Profile WWW
November 09, 2011, 08:38:07 PM
 #491

So it's better to mine with the non-beta client for now ?

Yes, the beta client is trying to be smart about stales, but instead creating extra stales on the namecoin side. I had not yet thought about merged mining when I made those changes.

▶▶▶ bitminter.com 2011-2020 ▶▶▶ pool.xbtodigital.io 2023-
DrHaribo (OP)
Legendary
*
Offline Offline

Activity: 2730
Merit: 1034


Needs more jiggawatts


View Profile WWW
November 09, 2011, 08:52:41 PM
 #492

I just realized there's an inconsistency in how stales are being registered now.

  • You only get your proof of work counted in the shifts if it is valid (non-stale) on the bitcoin side. Otherwise it is counted as rejected in the shift (not shown on website yet).
  • Your miner is told that the proof is accepted if it is valid on bitcoin OR namecoin.
  • Work done on blocks register accepted/rejected individually - no problem here. Not shown on website yet though.

I think it makes sense to change it so the miner is told the proof was accepted if it was included in the shift as accepted, otherwise the miner is told it is rejected?

Question is, should it be accepted if it is valid on either bitcoin or namecoin, or only when valid on the bitcoin side? I'm leaning towards shift+miner acceptance only when proofs are valid for bitcoin. The reason for this is 1. I think bitcoin is more important and 2. I don't want the pool to "pretend" everything is fine while you are actually producing massive stales (most proofs would still be valid for bitcoin OR namecoin).

▶▶▶ bitminter.com 2011-2020 ▶▶▶ pool.xbtodigital.io 2023-
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
November 09, 2011, 09:14:30 PM
 #493

I just realized there's an inconsistency in how stales are being registered now.

  • You only get your proof of work counted in the shifts if it is valid (non-stale) on the bitcoin side. Otherwise it is counted as rejected in the shift (not shown on website yet).
  • Your miner is told that the proof is accepted if it is valid on bitcoin OR namecoin.
  • Work done on blocks register accepted/rejected individually - no problem here. Not shown on website yet though.

I think it makes sense to change it so the miner is told the proof was accepted if it was included in the shift as accepted, otherwise the miner is told it is rejected?

Question is, should it be accepted if it is valid on either bitcoin or namecoin, or only when valid on the bitcoin side? I'm leaning towards shift+miner acceptance only when proofs are valid for bitcoin. The reason for this is 1. I think bitcoin is more important and 2. I don't want the pool to "pretend" everything is fine while you are actually producing massive stales (most proofs would still be valid for bitcoin OR namecoin).


Most merged mining pools go with
good bitcoin = valid
bad bitcoin = stale

Technically the "perfect" way to do it would be to keep seperate stats for both NMC block and BTC block and record stales individually but AFAIC nobody does that yet. 

Example: each share could be
valid BTC & valid NMC
stale BTC & valid NMC
valid BTC & stale NMC
stale BTC & stale NMC

records blocks, shifts, and valid shares seperately for each coin type and issue rewards separately.  Granted it is a huge amount of work but that would be the most accurate and fair method of handling rewards.

Given NMC is at best a 7% bonus (and going to 5% after next difficulty) I think counting stales vs good based on BTC is "good enough".
DrHaribo (OP)
Legendary
*
Offline Offline

Activity: 2730
Merit: 1034


Needs more jiggawatts


View Profile WWW
November 10, 2011, 06:29:19 AM
 #494

Given NMC is at best a 7% bonus (and going to 5% after next difficulty) I think counting stales vs good based on BTC is "good enough".

Yes, I think so too. I could add separate shifts for NMC, but it might add more hassle and confusion than it is worth.

Really bad luck on block #81, but I'm glad we finally finished it. Even with the block creation that failed due to a stale, it would have been one block at 350k and one at 900k proofs. I looked around at other pools to see if they had any namecoin blocks that big. But, strangely, several pools don't seem to show any info on the namecoin blocks.

▶▶▶ bitminter.com 2011-2020 ▶▶▶ pool.xbtodigital.io 2023-
P4man
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500



View Profile
November 11, 2011, 11:09:45 AM
 #495

Is there a donation option somewhere now that Ive missed? Since it seems you are not charging any fees, Im beginning to feel guilty.

DrHaribo (OP)
Legendary
*
Offline Offline

Activity: 2730
Merit: 1034


Needs more jiggawatts


View Profile WWW
November 11, 2011, 12:24:03 PM
 #496

Is there a donation option somewhere now that Ive missed? Since it seems you are not charging any fees, Im beginning to feel guilty.

Hold on to that feeling.  Cheesy

But seriously, no, there's no donation possible yet.

What I'm planning right now:
  • More numbers on website - especially regarding namecoins
  • Updates for the client/miner: fix performance degradation in the beta, fix stale handling in the beta to better work with merged mining, add some automation options
  • After that: donations and some other stuff. Not 100% sure what I will do first yet.

I should have new web updates done this weekend and hopefully get some work done on the miner.

▶▶▶ bitminter.com 2011-2020 ▶▶▶ pool.xbtodigital.io 2023-
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
November 11, 2011, 12:44:23 PM
 #497

cgminer 2.0.8 is out.  It handles merged mining LP better.  It *should* improve stale rate on NMC blocks.
DrHaribo (OP)
Legendary
*
Offline Offline

Activity: 2730
Merit: 1034


Needs more jiggawatts


View Profile WWW
November 11, 2011, 01:08:40 PM
 #498

cgminer 2.0.8 is out.  It handles merged mining LP better.  It *should* improve stale rate on NMC blocks.

Yes, please all cgminer users grab the new version. And BitMinter users use the regular and not the beta version until the next beta is out. Then we can get NMC stales well under 1% I think. It's currently just over 5%.

Last night we had another NMC stale that would have created namecoins had it not been stale. I hate seeing that - maybe I should stop logging those. Cheesy

I know NMC isn't worth much, but we should always strive for max performance.

▶▶▶ bitminter.com 2011-2020 ▶▶▶ pool.xbtodigital.io 2023-
P4man
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500



View Profile
November 11, 2011, 10:07:52 PM
 #499

Seeing D&Ts avatar just gave me an idea.. if we cant use (dynamic) banners, then why not dynamic avatars? Granted, they are small, cant link but it would be neat anyway to have a speed dial avatar showing your hashrate while promoting bitminter?

DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
November 11, 2011, 10:16:09 PM
 #500

Seeing D&Ts avatar just gave me an idea.. if we cant use (dynamic) banners, then why not dynamic avatars? Granted, they are small, cant link but it would be neat anyway to have a speed dial avatar showing your hashrate while promoting bitminter?

I saw someone from another pool had a "I am hashing xx GH/s at xyz" in the Avatar.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 [25] 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 ... 371 »
  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!