Bitcoin Forum
June 24, 2024, 11:48:40 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Mining support / Bitcoin mining client specification on: December 23, 2017, 01:25:16 AM
Where can I find all the specifications to write my own mining application for mining bitcoin.
More I read I find there are number of implementations and some pools only work with specific mining software and there is no way to find single (kind of) wiki that explains the development design specifications.

Till now I find 2 protocols GetWork (which is obsolete now) and Stratum. But within stratum I find input and output implementation varies with different mining applications.
2  Bitcoin / Mining support / Need help to understand solo mining process on: December 21, 2017, 10:50:00 PM
I'm new to mining and trying to write simple program in C# for fun to really understand how it works. I know there are several posts on this, but some are very old and doesn't really explains on how server behaves. Please correct me if I'm lost in basics understanding of process.

I'm using ckpool solo mining for my testing

1. When I connect to pool, I keep receiving the request mostly every 1 sec that contains the array of transaction ids. I understand I have to use those ids to calculate the Markel. But block is created only once in 10 min, so why I receive so many requests to work on.

2. What to do when I receive multiple requests with same PreviousHash parameter? I read in case of solo mining, I have to drop existing hash process and take the new one to work on.

3. Markel is also part of calculating the Nonce, how server confirms validity of solved submission if we don't submit the Markel that we calculated from the transaction ids we received. Server might have updated the transaction list by the time mining is in progress.
3  Bitcoin / Pools / Re: [∞ YH] solo.ckpool.org 1% fee solo mining USA/DE 244 blocks solved! on: December 20, 2017, 04:01:21 AM
I have 5 usb miners with a hash rate around 9GH/s.  I started last night.

I'm using bfgminer
Yes that is an insignificant hashrate. If you were using decent mining software such as cgminer, it would support the stratum standard for setting your diff with the --suggest-diff option which would allow the pool to set the diff according to your choice of diff without waiting for you to submit shares. Nonetheless shares are meaningless when solo mining and only used on this pool as feedback to miners to know they're successfully mining. If you wait long enough shares will start being accepted and then the pool will show your hashrate.

Hi, I'm new to solo mining with bitcoin.

I'm getting below response after submitting the solved block
{"reject-reason":"Above target","result":false,"error":null,"id":6}


Would you/someone please help me to understand if target, markel and data is correct. I'm trying to write small program just to understand it properly.

Below few details:
JobId:59e1661b0001a6d6
Merkel Root:21e8ee900ff9b9792bc57a43f1697c6497eb3032911644bfedae27576ba6c49e
Target:703d0ad7a3703d0ad7a3703d0ad7a3703d0ad7a3703d0ad7a3703d6210000000
Data:20000000421b6c89f3189ed6f8cc66f9bf6d1a42e24f462700249196000000000000000021e8ee9 00ff9b9792bc57a43f1697c6497eb3032911644bfedae27576ba6c49e5a39ce7d18009645000000 00
Nonce:2514513048
Hash:000000083f8ed4dfae7e7828b83295c62fec400cea97f4269be23a549eb76aa8
Difficulty:4000
Time To Solve(sec):264.3119839
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!