Bitcoin Forum
May 05, 2024, 11:04:47 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Easy programming job - NeoScrypt algorithm validator [DONE!]  (Read 1347 times)
nicehash (OP)
Legendary
*
Offline Offline

Activity: 885
Merit: 1006


NiceHash.com


View Profile WWW
November 05, 2014, 08:52:47 PM
Last edit: November 06, 2014, 05:55:07 PM by nicehash
 #1

*edit*: Job done!

The job is basically fairly simple. You need to provide a function, coded in C (copy-paste & merge code from existing miners, for example cpuminer-multi - https://github.com/wolf9466/cpuminer-multi, or https://github.com/vehre/neo-gpuminer) which takes input parameters from stratum (prevhash, coinbase, merkleroot, ntime, extranonce1&2, nonce,...) and returns share diff (double). We would include this function in our stratum-proxy server, used to validate shares for NeoScrypt algorithm. The code must compile under VS2010 (32bit mode C, not C++).

Here are the list of input parameters:

params[] = Hash of previous block. Used to build the header.
params[] = Coinbase (part 1). The miner inserts ExtraNonce1 and ExtraNonce2 after this section of the coinbase.
params[] = Coinbase (part 2). The miner appends this after the first part of the coinbase and the two ExtraNonce values.
params[][] = List of merkle branches. The coinbase transaction is hashed against the merkle branches to build the final merkle root.
params[] = Bitcoin block version, used in the block header.
params[] = nBit, the encoded network difficulty. Used in the block header.
params[] = nTime, the current time. nTime rolling should be supported, but should not increase faster than actual time.
params[] = ExtraNonce 2
params[] = nonce

We can send existing validators (C source files) where problem is already resolved for other algorithms (Scrypt, SHA...) - contact us via PM or @ info@nicehash.com if you are interested.

Of course you must test your function with some example shares - your algorithm should return the same diff as it is received, for example, by cgminer:



If you know the guy that implemented this stuff into the cpuminer-neoscrypt itself or some other programmers, that contributed to NeoScrypt algorithm, please forward them this job description.

We will pay 0.2 BTC for this job when done ... it is just some code copy&paste and testing. Contact us via PM or @ info@nicehash.com if you are interested.

Thanks.

1714907087
Hero Member
*
Offline Offline

Posts: 1714907087

View Profile Personal Message (Offline)

Ignore
1714907087
Reply with quote  #2

1714907087
Report to moderator
1714907087
Hero Member
*
Offline Offline

Posts: 1714907087

View Profile Personal Message (Offline)

Ignore
1714907087
Reply with quote  #2

1714907087
Report to moderator
Make sure you back up your wallet regularly! Unlike a bank account, nobody can help you if you lose access to your BTC.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714907087
Hero Member
*
Offline Offline

Posts: 1714907087

View Profile Personal Message (Offline)

Ignore
1714907087
Reply with quote  #2

1714907087
Report to moderator
1714907087
Hero Member
*
Offline Offline

Posts: 1714907087

View Profile Personal Message (Offline)

Ignore
1714907087
Reply with quote  #2

1714907087
Report to moderator
1714907087
Hero Member
*
Offline Offline

Posts: 1714907087

View Profile Personal Message (Offline)

Ignore
1714907087
Reply with quote  #2

1714907087
Report to moderator
marcotheminer
Legendary
*
Offline Offline

Activity: 2072
Merit: 1049


┴puoʎǝq ʞool┴


View Profile
November 05, 2014, 09:05:10 PM
 #2

I think users would like to see an escrow hold the funds.
nicehash (OP)
Legendary
*
Offline Offline

Activity: 885
Merit: 1006


NiceHash.com


View Profile WWW
November 05, 2014, 09:16:44 PM
 #3

I think users would like to see an escrow hold the funds.

It's really a small job, but if you would require escrow we can do it, no problem. You can also check our Trust for some small already finished jobs (https://bitcointalk.org/index.php?action=trust;u=362449) and of course our regular payments to our customers https://www.nicehash.com/index.jsp?p=miners&payments.

elbandi
Hero Member
*****
Offline Offline

Activity: 525
Merit: 529


View Profile
November 05, 2014, 11:52:22 PM
 #4

Working on it...  Cheesy
Nicehashischeater
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
November 06, 2014, 01:15:13 AM
 #5

How do you pause orders, if you are leasing hashpower on Nicehash? I've been watching the orders on X15, where the profitability fluctuates pretty strongly (from around .00025 to .0006, for example), and can do so in just a few minutes. It's apparent that many of the orders have the ability to "pause" and drop off the active orders list as profitability drops; then the moment profitability rises above their order price, the order shows back up again.

At first I thought it was just people manually canceling and relisting orders (paying the anti-spam penalty), but the % Completion for each order proves that this is not the case. It's the same order that is appearing and disappearing so that the order is never mining unprofitably. What's the trick to doing this? Does it cost anything to pause an order?
Really wish orders that appear are LOCKED in.  I rented some rigs last night when the big orders showed up and then they disappeared.  The rentals could not be reversed.

or at least force them to leave the order there or increase the price but not cancel.  I won't be hashing there with rentals again unless there is some kinda change to prevent the orders from appearing and disappearing 5 mins later.

I had almost 50thash rented and it was going to be pointed at westhash but I pointed to my normal pool instead.  Nicehash's loss...

Fahlcor
I am learning to use NiceHash and renting at 0.013 to 0.015 but some are renting at 0.016 to 0.017 and some as high as 0.018 to 0.025.

Can someone share their experience where they point to gain these high returns??

I think all orders of scrypt on Nicehash mine coin LTC and all orders of SHA256 on Nicehash mine coin BTC but why can Nicehash pay high profit than real profit from mining ?
           Because SHA ORDER has " Price  0.0160 BTC/TH/Day" , if you are real renter, you will pay exactly 0.0160 BTC/TH/Day ; if you were admin of NICEHASH , you could pay 0.0130 BTC/TH/Day and setup order (order from admin ) to 0.0160 BTC/TH/Day AND run BOT control price to eat all hash not share to other RENTERS .     With SCRIPT ORDER has " Price  0.3 BTC/GH/Day" ,if you are real renter, you will pay exactly 0.3 BTC/GH/Day ; if you were admin of NICEHASH , you could pay 0.25 BTC/GH/Day and setup order (order from admin ) to 0.3 BTC/GH/Day AND run BOT control price to eat all hash not share to other RENTERS . SAME to X11, X13....
           MEMBERS can't calculate exactly profit from miners because reject hash,stale shares ... ,they only get fewer profit .BUT renters can't rent with high price (NO profit) ,they get cheat from ADMIN of NICEHASH and BOT
nicehash (OP)
Legendary
*
Offline Offline

Activity: 885
Merit: 1006


NiceHash.com


View Profile WWW
November 06, 2014, 05:54:36 PM
 #6

Job done.

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!