Bitcoin Forum
December 16, 2017, 01:48:50 PM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Help me out with my litecoin miner  (Read 716 times)
furionman
Newbie
*
Offline Offline

Activity: 1


View Profile
May 14, 2013, 08:07:51 AM
 #1

Hello,

Few days ago I started a new project just for fun - javascript litecoin miner. I know it will be slow as sh** and kinda worthless, but I'm having fun on it. So now, few nights later, I'm kinda stuck.
So far, I've got:
1.) Node.js server with json-rpc wrapper for litecoind api server
2.) Websockets to communicate between server and worker (exchange work and results, auto-reload on version change, etc...)
3.) Web Worker with some functionality

The mining functionality so far is:
- Break down "data" from "getwork", flip byte order, add nonce.
- Perform Scrypt on it

So now I need to learn more to be able to resume work. I've only really written enough functionality to do what python script here does:
https://github.com/litecoin-project/litecoin/wiki/Scrypt-proof-of-work

I would like to know, in pseudo code, what should happen next. What is my min/max nonce. How do I know I've hit the right result hash. What are midstate, hash1 and target.

Anyone recommending any good documentation that would explain how mining process works (from miner program perspective).

Thanks.
1513432130
Hero Member
*
Offline Offline

Posts: 1513432130

View Profile Personal Message (Offline)

Ignore
1513432130
Reply with quote  #2

1513432130
Report to moderator
1513432130
Hero Member
*
Offline Offline

Posts: 1513432130

View Profile Personal Message (Offline)

Ignore
1513432130
Reply with quote  #2

1513432130
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
hobbes0110
Newbie
*
Offline Offline

Activity: 1


View Profile
September 30, 2013, 06:15:02 PM
 #2

Hi are you still working on this? I am doing something similar maybe we can collaborate.
Brandon1000
Newbie
*
Offline Offline

Activity: 11


View Profile
October 01, 2013, 01:08:21 AM
 #3

Like the concept, let me know how it goes! Wonder if you could maybe make it a browser based miner compatible with maybe smaller Alt coins that use Scrypts Cheesy
b!z
Legendary
*
Offline Offline

Activity: 1568



View Profile
October 02, 2013, 02:13:49 PM
 #4

Check the Mining software subforum. I'm sure you can contact more talented devs who can help you finish your project Smiley
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!