Bitcoin Forum
July 29, 2024, 04:37:44 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Help me out with my litecoin miner  (Read 807 times)
furionman (OP)
Newbie
*
Offline Offline

Activity: 1
Merit: 0


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.
hobbes0110
Newbie
*
Offline Offline

Activity: 1
Merit: 0


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
Merit: 0


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: 1582
Merit: 1010



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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!