Bitcoin Forum
November 18, 2024, 08:22:59 PM
Welcome,
Guest
. Please
login
or
register
.
News
:
Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
Home
Help
Search
Login
Register
More
Bitcoin Forum
>
Bitcoin
>
Mining
>
"Hello World" Pooled Mining
Pages: [
1
]
« previous topic
next topic »
Print
Author
Topic: "Hello World" Pooled Mining (Read 1251 times)
metasyntactic
(OP)
Newbie
Offline
Activity: 2
Merit: 0
"Hello World" Pooled Mining
April 27, 2011, 05:17:57 PM
#1
I have access to about 20 computers with GPUs in my office so I plan to use them out of hours as my personal pooled mining system. e.g. Modified DiabloMiner running on each of the computers and communicating with some central server which gives out and receives work.
Idea would be to simply:
(1) Run the bitcoin binary on a computer with -server argument
(2) Server communicates with bitcoin over JSON-RPC (getwork)
(3) Distribute work to computers (implement protocol compatible with Diablominer)
(4) Server receives work from miners
(5) If block found send it to bitcoin binary to 'claim' any found block.
Two questions:
(1) How do I claim a found block? (i.e. in step 5)
(2) What is the best way of distributing work?
...or alternatively does any simple code for this exist e.g. source code for slush's pool?
(I'm a newbie so apologies if this is covered already but I couldn't find it in a simple example of pooled miner and puddinpop's code seems overkill since I don't won't try and scam myself by sending bad data)
Garrett Burgwardt
Sr. Member
Offline
Activity: 406
Merit: 256
Re: "Hello World" Pooled Mining
April 27, 2011, 05:23:13 PM
#2
In this case, just setup one computer with the client, set it to allow connections from any ip (or a range) rpcallowip=192.168.1.*, and point all your miners at that.
FatherMcGruder
Sr. Member
Offline
Activity: 322
Merit: 250
Re: "Hello World" Pooled Mining
April 27, 2011, 05:34:12 PM
#3
Make sure your computers' GPUs support mining too.
Use my
Trade Hill
referral code: TH-R11519
Check out
bitcoinity.org
and
Ripple
.
Shameless display of my bitcoin address:
1Hio4bqPUZnhr2SWi4WgsnVU1ph3EkusvH
metasyntactic
(OP)
Newbie
Offline
Activity: 2
Merit: 0
Re: "Hello World" Pooled Mining
April 27, 2011, 05:48:35 PM
#4
Quote from: TheKid on April 27, 2011, 05:23:13 PM
In this case, just setup one computer with the client, set it to allow connections from any ip (or a range) rpcallowip=192.168.1.*, and point all your miners at that.
Sounds nice and simple
so just to clarify, everytime I call
Getwork
I get a different formatted data hash to work on? Then if the miner finds a block it sends it back with getwork[data] to claim it?
fpgaminer
Hero Member
Offline
Activity: 560
Merit: 517
Re: "Hello World" Pooled Mining
April 28, 2011, 12:12:11 AM
#5
Quote
so just to clarify, everytime I call Getwork I get a different formatted data hash to work on? Then if the miner finds a block it sends it back with getwork[data] to claim it?
Yup. The miner sends back data with a valid nonce injected into the data. Bitcoin/bitcoind will check to make sure it's correct, and if so it adds it to the block chain and thus receives its shiny new 50 BTC.
https://github.com/fpgaminer/Open-Source-FPGA-Bitcoin-Miner
|
Bitcoin Hardware Wallet
1NT4RyJMqtRuDRr6zHdXdKSpmX3SR5he6z
Pages: [
1
]
Print
Bitcoin Forum
>
Bitcoin
>
Mining
>
"Hello World" Pooled Mining
« 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...