Bitcoin Forum
June 24, 2024, 10:38:00 PM
Welcome,
Guest
. Please
login
or
register
.
News
: Latest Bitcoin Core release:
27.0
[
Torrent
]
Home
Help
Search
Login
Register
More
Bitcoin Forum
>
Bitcoin
>
Development & Technical Discussion
>
Understanding difficulty
Pages:
«
1
[
2
]
All
« previous topic
next topic »
Print
Author
Topic: Understanding difficulty (Read 1870 times)
Altoidnerd
Sr. Member
Offline
Activity: 406
Merit: 251
http://altoidnerd.com
Re: Understanding difficulty
March 28, 2014, 05:16:08 PM
#21
Quote from: cp1 on March 28, 2014, 04:29:51 PM
4/1 means it found a difficulty 4 share, but it only need a difficulty 1 share. It counts as a difficulty 1 share still when you submit it.
Does the mining software determine the sharediff of an Accepted share, or does the pool respond?
How is the fraction x/y arrived at for a given submission? Is it a measure of the leading zeros?
Do you even mine?
http://altoidnerd.com
12gKRdrz7yy7erg5apUvSRGemypTUvBRuJ
konradp
(OP)
Full Member
Offline
Activity: 129
Merit: 100
Re: Understanding difficulty
April 01, 2014, 06:16:12 AM
#22
Thank you all.
-ck
Legendary
Offline
Activity: 4144
Merit: 1637
Ruu \o/
Re: Understanding difficulty
April 01, 2014, 06:21:17 AM
#23
Share diff is chosen by the pool to find an optimal spread between bandwidth to the pool and variance to the miner. The choice of value chosen by the pool is arbitrary but most target diff to work out to somewhere around 20 shares submitted by the miner per minute. Difficulty of the share submitted is paid only based on the share difficulty asked for by the pool, though it can be much much higher (and ideally higher than the network difficulty in order to solve a block for the pool). Difficulty is internally determined in cgminer by checking the ratio of the share hash to diff1 where diff 1 is 26959535291011309493156476344723991336010898738574164086137773096960. Imagine every share's hash is just one massive number.
The 65536 constant mentioned earlier has nothing to do with bitcoin. Ignore it.
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at
solo.ckpool.org
-ck
whaSasd
Newbie
Offline
Activity: 35
Merit: 0
Re: Understanding difficulty
April 01, 2014, 03:02:38 PM
#24
If difficulty grows by 20% do my earnings tank by 20%? Any reputable site that predicts difficulty? There are a few but they estimate different values.
-ck
Legendary
Offline
Activity: 4144
Merit: 1637
Ruu \o/
Re: Understanding difficulty
April 01, 2014, 10:04:04 PM
#25
Quote from: whaSasd on April 01, 2014, 03:02:38 PM
If difficulty grows by 20% do my earnings tank by 20%? Any reputable site that predicts difficulty? There are a few but they estimate different values.
Yes and no respectively.
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at
solo.ckpool.org
-ck
tacotime
Legendary
Offline
Activity: 1484
Merit: 1005
Re: Understanding difficulty
April 01, 2014, 10:43:22 PM
Last edit: April 01, 2014, 11:01:59 PM by tacotime
#26
http://bitcoin.stackexchange.com/questions/2924/how-to-calculate-new-bits-value
is the explanation I like to give.
Bitcoin has difficulty 1 set as eight leading zeroes for a share (0x00000000FFFF0000000000000000000000000000000000000000000000000000 in expanded form). Then you get the numerical difficulty we're familiar with if you divide this by the current target (nBits) in expanded form.
Difficulty and nBits (target) are interconvertible; note that pools often use 256-bit expanded form: 0x00000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF being diff 1.
Code:
XMR: 44GBHzv6ZyQdJkjqZje6KLZ3xSyN1hBSFAnLP6EAqJtCRVzMzZmeXTC2AHKDS9aEDTRKmo6a6o9r9j86pYfhCWDkKjbtcns
-ck
Legendary
Offline
Activity: 4144
Merit: 1637
Ruu \o/
Re: Understanding difficulty
April 02, 2014, 12:23:50 AM
#27
Quote from: tacotime on April 01, 2014, 10:43:22 PM
Difficulty and nBits (target) are interconvertible; note that pools often use 256-bit expanded form: 0x00000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF being diff 1.
This was only true of the getwork mining era. All stratum pools (should) use true diff 1 as their base now.
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at
solo.ckpool.org
-ck
DeathAndTaxes
Donator
Legendary
Offline
Activity: 1218
Merit: 1079
Gerald Davis
Re: Understanding difficulty
April 02, 2014, 05:39:16 AM
#28
Quote from: litecoin_messiah on March 27, 2014, 01:47:07 PM
65536 is the average number of hashes to be computed in order to find a 1 share at mining difficulty 1 for a bitcoin based coin.
Not sure where you got 65536 from but it isn't correct. It takes 2^32 hashes on average to find one which meets the target for difficulty 1.
-ck
Legendary
Offline
Activity: 4144
Merit: 1637
Ruu \o/
Re: Understanding difficulty
April 02, 2014, 10:26:30 AM
#29
Quote from: DeathAndTaxes on April 02, 2014, 05:39:16 AM
Quote from: litecoin_messiah on March 27, 2014, 01:47:07 PM
65536 is the average number of hashes to be computed in order to find a 1 share at mining difficulty 1 for a bitcoin based coin.
Not sure where you got 65536 from but it isn't correct. It takes 2^32 hashes on average to find one which meets the target for difficulty 1.
Look at his name, that will give you the clue where the 65536 comes from. It's an scrypt mining quirk.
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at
solo.ckpool.org
-ck
Pages:
«
1
[
2
]
All
Print
Bitcoin Forum
>
Bitcoin
>
Development & Technical Discussion
>
Understanding difficulty
« previous topic
next topic »
Jump to:
Please select a destination:
-----------------------------
Bitcoin
-----------------------------
=> Bitcoin Discussion
===> Legal
===> Press
===> Meetups
===> Important Announcements
=> Development & Technical Discussion
===> Wallet software
=====> Electrum
=====> Bitcoin Wallet for Android
=====> BitcoinJ
=====> Armory
=====> Mycelium
=====> Hardware wallets
=> Mining
===> Mining support
===> Pools
===> Mining software (miners)
===> Hardware
=====> Group buys
===> Mining speculation
=> Bitcoin Technical Support
=> Project Development
-----------------------------
Economy
-----------------------------
=> Economics
===> Speculation
=> Marketplace
===> Goods
=====> Computer hardware
=====> Digital goods
=======> Invites & Accounts
=====> Collectibles
===> Services
===> Currency exchange
===> Gambling
=====> Games and rounds
=====> Investor-based games
=====> Gambling discussion
===> Lending
=====> Long-term offers
===> Securities
===> Auctions
===> Service Announcements
=====> Micro Earnings
===> Service Discussion
=====> Web Wallets
=====> Exchanges
=> Trading Discussion
===> Scam Accusations
===> Reputation
-----------------------------
Other
-----------------------------
=> Meta
===> New forum software
===> Bitcoin Wiki
=> Politics & Society
=> Beginners & Help
=> Off-topic
=> Serious discussion
===> Ivory Tower
=> Archival
===> Корзина
===> CPU/GPU Bitcoin mining hardware
===> Chinese students
===> Obsolete (buying)
===> Obsolete (selling)
===> MultiBit
-----------------------------
Alternate cryptocurrencies
-----------------------------
=> Altcoin Discussion
=> Announcements (Altcoins)
===> Tokens (Altcoins)
=> Mining (Altcoins)
===> Pools (Altcoins)
=> Marketplace (Altcoins)
===> Service Announcements (Altcoins)
===> Service Discussion (Altcoins)
===> Bounties (Altcoins)
=> Speculation (Altcoins)
-----------------------------
Local
-----------------------------
=> العربية (Arabic)
===> العملات البديلة (Altcoins)
=====> النقاشات
===> إستفسارات و أسئلة المبتدئين
===> التعدين
===> النقاشات الأخرى
===> منصات التبادل
=> Bahasa Indonesia (Indonesian)
===> Marketplace (Bahasa Indonesia)
===> Mining (Bahasa Indonesia)
===> Altcoins (Bahasa Indonesia)
===> Trading dan Spekulasi
===> Ekonomi, Politik, dan Budaya
===> Topik Lainnya
=> Español (Spanish)
===> Mercado y Economía
=====> Servicios
=====> Trading y especulación
===> Hardware y Minería
===> Esquina Libre
===> Mercadillo
=====> Mexico
=====> Argentina
=====> España
=====> Centroamerica y Caribe
===> Primeros pasos y ayuda
===> Altcoins (criptomonedas alternativas)
=====> Minería de altcoins
=====> Servicios
=====> Tokens (Español)
=> 中文 (Chinese)
===> 跳蚤市场
===> 山寨币
===> 媒体
===> 挖矿
===> 离题万里
=> Hrvatski (Croatian)
===> Trgovina
===> Altcoins (Hrvatski)
=====> Announcements (Hrvatski)
===> Off-topic (Hrvatski)
=> Deutsch (German)
===> Anfänger und Hilfe
===> Mining (Deutsch)
===> Trading und Spekulation
===> Projektentwicklung
===> Off-Topic (Deutsch)
===> Treffen
===> Presse
===> Altcoins (Deutsch)
=====> Announcements (Deutsch)
===> Marktplatz
=====> Auktionen
=====> Suche
=====> Biete
=> Ελληνικά (Greek)
===> Αγορά
===> Mining Discussion (Ελληνικά)
===> Altcoins (Ελληνικά)
=====> Altcoin Announcements (Ελληνικά)
=====> Altcoin Mining (Ελληνικά)
=> עברית (Hebrew)
=> Français
===> Actualité et News
===> Débutants
===> Discussions générales et utilisation du Bitcoin
===> Mining et Hardware
===> Économie et spéculation
===> Place de marché
=====> Échanges
=====> Produits et services
=====> Petites annonces
===> Le Bitcoin et la loi
===> Wiki, documentation et traduction
===> Développement et technique
===> Vos sites et projets
===> Hors-sujet
===> Altcoins (Français)
=====> Annonces
=> India
===> Mining (India)
===> Marketplace (India)
===> Regional Languages (India)
===> Press & News from India
===> Alt Coins (India)
===> Buyer/ Seller Reputations (India)
===> Off-Topic (India)
=> Italiano (Italian)
===> Guide (Italiano)
===> Progetti
===> Discussioni avanzate e sviluppo
===> Trading, analisi e speculazione
===> Mercato
=====> Mercato valute
=====> Beni
=====> Servizi
=====> Esercizi commerciali
=====> Hardware/Mining (Italiano)
=====> Gambling (Italiano)
===> Accuse scam/truffe
===> Mining (Italiano)
===> Alt-Currencies (Italiano)
=====> Annunci
===> Raduni/Meeting (Italiano)
===> Crittografia e decentralizzazione
===> Off-Topic (Italiano)
=> 日本語 (Japanese)
===> アルトコイン
=> Nederlands (Dutch)
===> Markt
===> Gokken/lotterijen
===> Mining (Nederlands)
===> Beurzen
===> Alt Coins (Nederlands)
===> Off-topic (Nederlands)
===> Meetings (Nederlands)
=> Nigeria (Naija)
===> Politics and society (Naija)
===> Off-topic (Naija)
=> 한국어 (Korean)
===> 대체코인 Alt Coins (한국어)
=> Pilipinas
===> Altcoins (Pilipinas)
=====> Altcoin Announcements (Pilipinas)
===> Pamilihan
===> Others (Pilipinas)
=> Polski
===> Tablica ogłoszeń
===> Alternatywne kryptowaluty
=====> Nowe kryptowaluty i tokeny
=====> Tablica ogłoszeń (altcoiny)
=> Português (Portuguese)
===> Primeiros Passos (Iniciantes)
===> Economia & Mercado
===> Mineração em Geral
===> Desenvolvimento & Discussões Técnicas
===> Criptomoedas Alternativas
===> Brasil
===> Portugal
=> Русский (Russian)
===> Новички
===> Бизнес
=====> Барахолка
=====> Обменники
===> Идеи
===> Кодеры
===> Майнеры
===> Политика
===> Трейдеры
===> Альтернативные криптовалюты
=====> Токены
=====> Бayнти и aиpдpoпы
===> Хайпы
===> Работа
===> Разное
===> Oбcyждeниe Bitcoin
=====> Новости
=====> Юристы
=> Română (Romanian)
===> Anunturi importante
===> Offtopic
===> Market
=====> Discutii Servicii
===> Minerit
===> Tutoriale
===> Bine ai venit!
===> Presa
===> Altcoins (Monede Alternative)
=====> Anunturi Monede Alternative
=> Skandinavisk
=> Türkçe (Turkish)
===> Bitcoin Haberleri
===> Pazar Alanı
===> Madencilik
===> Ekonomi
===> Servisler
=====> Fonlar
===> Proje Geliştirme
===> Alternatif Kripto-Paralar
=====> Madencilik (Alternatif Kripto-Paralar)
=====> Duyurular (Alternatif Kripto-Paralar)
===> Konu Dışı
===> Yeni Başlayanlar & Yardım
===> Buluşmalar
=> Other languages/locations
Loading...