Bitcoin Forum
July 27, 2017, 06:56:22 PM *
News: BIP91 seems stable: there's probably only slightly increased risk of confirmations disappearing. You should still prepare for Aug 1.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Development of a mining-client  (Read 682 times)
josie87
Newbie
*
Offline Offline

Activity: 2


View Profile
June 25, 2012, 01:16:12 PM
 #1

Hello friends,

I recently started dealing with bitcoins and mining. I think I have some good ideas for a miner and I would like to write my own.

Anyway: I can't find a real good explanation/documentation about mining. I'm searching for a simple explanation like:

1. Recieve THIS
2. Find a way to compute THIS
3. Return the result in THIS way



I hope you can help me. Thanks in advance.
1501181782
Hero Member
*
Offline Offline

Posts: 1501181782

View Profile Personal Message (Offline)

Ignore
1501181782
Reply with quote  #2

1501181782
Report to moderator
1501181782
Hero Member
*
Offline Offline

Posts: 1501181782

View Profile Personal Message (Offline)

Ignore
1501181782
Reply with quote  #2

1501181782
Report to moderator
Decentralized search
Search for products or services and get paid for it
pre-sale Token CAT
25 July 50% discount
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1501181782
Hero Member
*
Offline Offline

Posts: 1501181782

View Profile Personal Message (Offline)

Ignore
1501181782
Reply with quote  #2

1501181782
Report to moderator
1501181782
Hero Member
*
Offline Offline

Posts: 1501181782

View Profile Personal Message (Offline)

Ignore
1501181782
Reply with quote  #2

1501181782
Report to moderator
josie87
Newbie
*
Offline Offline

Activity: 2


View Profile
June 25, 2012, 04:48:34 PM
 #2

push


I really need help.
humanitee
Hero Member
*****
Offline Offline

Activity: 714



View Profile
June 25, 2012, 04:54:04 PM
 #3

Something like this?
https://en.bitcoin.it/wiki/Protocol_specification
gweedo
Legendary
*
Offline Offline

Activity: 1246


Java, PHP, HTML/CSS Programmer for Hire!


View Profile WWW
June 25, 2012, 04:57:39 PM
 #4

https://en.bitcoin.it/wiki/Getwork this is what you want, but to be honest don't reinvent the wheel their are a lot of different miners out their and they do it very well, so i would say your wasting your time, unless your some kind of genius who knows how to optimize to get 1 T/Hash on a CPU don't even try.

Want to earn 2500 SATOSHIS per hour? Come Chat and Chill in https://goseemybits.com/lobby
enmaku
Hero Member
*****
Offline Offline

Activity: 742



View Profile WWW
June 25, 2012, 04:59:35 PM
 #5

[urlhttps://github.com/m0mchil/poclbm]poclbm[/url] is a good opencl miner, open source and written in Python which is fairly easy to understand. Perusing its source will probably teach you much more than a thread here will.

janbanan
Newbie
*
Offline Offline

Activity: 9


View Profile
June 26, 2012, 07:56:43 AM
 #6

If you wonder about something you should do as @enmaku said and see how other miners have done it.

I'm curious to know how you'll stand out from the other open source miners.
pieppiep
Sr. Member
****
Offline Offline

Activity: 435



View Profile
June 26, 2012, 11:45:03 AM
 #7

I would go with the getwork way.
Upside, a lot less protocol handling so faster result.
Downside, for solo mining you need to setup other software for your own pool.


 
 
           ▄████▄
         ▄████████▄
       ▄████████████▄
     ▄████████████████▄
    ████████████████████      ▄█▄                 ▄███▄                 ▄███▄                 ▄████████████████▀   ▄██████████

  ▄▄▄▀█████▀▄▄▄▄▀█████▀▄▄▄     ▀██▄             ▄██▀ ▀██▄             ▄██▀ ▀██▄             ▄██▀                   ██
▄█████▄▀▀▀▄██████▄▀▀▀▄█████▄     ▀██▄         ▄██▀     ▀██▄         ▄██▀     ▀██▄         ▄██▀        ▄█▄          ▀██████████████▄
████████████████████████████       ▀██▄     ▄██▀         ▀██▄     ▄██▀         ▀██▄     ▄██▀          ▀█▀                        ██
 ▀████████████████████████▀          ▀██▄ ▄██▀             ▀██▄ ▄██▀     ▄█▄     ▀██▄ ▄██▀                                       ██
   ▀████████████████████▀              ▀███▀                 ▀███▀       ▀█▀       ▀███▀      ▄███████████████████████████████████▀
     ▀████████████████▀
       ▀████████████▀
         ▀████████▀
           ▀████▀
║║


║║
.
.

║║
██
║║
.
.

║║
██
║║
.
║║


║║
pieppiep
Sr. Member
****
Offline Offline

Activity: 435



View Profile
June 26, 2012, 11:46:37 AM
 #8

Oh, and if you change to something other like litecoin, you just have to update the sha256(sha256(work)) to scrypt(work).
You don't have to think about difficulty of little protocol changes.


 
 
           ▄████▄
         ▄████████▄
       ▄████████████▄
     ▄████████████████▄
    ████████████████████      ▄█▄                 ▄███▄                 ▄███▄                 ▄████████████████▀   ▄██████████

  ▄▄▄▀█████▀▄▄▄▄▀█████▀▄▄▄     ▀██▄             ▄██▀ ▀██▄             ▄██▀ ▀██▄             ▄██▀                   ██
▄█████▄▀▀▀▄██████▄▀▀▀▄█████▄     ▀██▄         ▄██▀     ▀██▄         ▄██▀     ▀██▄         ▄██▀        ▄█▄          ▀██████████████▄
████████████████████████████       ▀██▄     ▄██▀         ▀██▄     ▄██▀         ▀██▄     ▄██▀          ▀█▀                        ██
 ▀████████████████████████▀          ▀██▄ ▄██▀             ▀██▄ ▄██▀     ▄█▄     ▀██▄ ▄██▀                                       ██
   ▀████████████████████▀              ▀███▀                 ▀███▀       ▀█▀       ▀███▀      ▄███████████████████████████████████▀
     ▀████████████████▀
       ▀████████████▀
         ▀████████▀
           ▀████▀
║║


║║
.
.

║║
██
║║
.
.

║║
██
║║
.
║║


║║
Handler
Newbie
*
Offline Offline

Activity: 9


View Profile
June 26, 2012, 12:40:24 PM
 #9

https://en.bitcoin.it/wiki/Getwork this is what you want, but to be honest don't reinvent the wheel their are a lot of different miners out their and they do it very well, so i would say your wasting your time, unless your some kind of genius who knows how to optimize to get 1 T/Hash on a CPU don't even try.

If everyone were to listen to this we wouldn't get anywhere... One mans wasted time is another mans treasure.
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!