Author

Topic: Easy programming job - NeoScrypt algorithm validator [DONE!] (Read 1373 times)

legendary
Activity: 885
Merit: 1006
NiceHash.com
Job done.
newbie
Activity: 5
Merit: 0
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
hero member
Activity: 525
Merit: 531
Working on it...  Cheesy
legendary
Activity: 885
Merit: 1006
NiceHash.com
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.
legendary
Activity: 2072
Merit: 1049
┴puoʎǝq ʞool┴
I think users would like to see an escrow hold the funds.
legendary
Activity: 885
Merit: 1006
NiceHash.com
*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 @ [email protected] 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 @ [email protected] if you are interested.

Thanks.
Jump to: