Bitcoin Forum
November 17, 2024, 09:40:26 AM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Warning: One or more bitcointalk.org users have reported that they strongly believe that the creator of this topic is a scammer. (Login to see the detailed trust ratings.) While the bitcointalk.org administration does not verify such claims, you should proceed with extreme caution.
Pages: [1]
  Print  
Author Topic: Need Help With Calculating Quark/Day || 500TAC Bounty! :D  (Read 653 times)
Bombadil (OP)
Hero Member
*****
Offline Offline

Activity: 644
Merit: 500



View Profile
June 09, 2014, 06:15:50 PM
Last edit: June 09, 2014, 07:25:59 PM by Bombadil
 #1

Hey guys!

I've been busy with writing a profit-switcher for ccminer/cudaminer, in C#, will be opensourced, and I've just finished the part where I could read from different web API's for info like difficulty, blockreward and exchange prices.
I set up a test with the hashrates of a GTX750TI as used hashrates, and it calculates it nicely for most algo's. Scrypt(-n), keccak and X11 are the same on other profit calculators like coinwarz.
But Quark (like classic Quark and Securecoin) end up way too low. My own experience already showed me that Quark is a lot more profitable, and so says Coinwarz. Hell, even Securecoin is on top on Coinwarz, but at the bottom on my list: http://pastebin.com/RMBUFNZN
Code used:

Code:
public double CalcBtcPerDay(double hashRateKh)
        {
            CoinsPerDay = BlockReward/(Difficulty*(Math.Pow(2,32))/(hashRateKh*1000)/3600/24);
            return BtcPerDay = CoinsPerDay*BestExchange.BtcPrice;
        }

Anyone care to take a look at this and tell me what I'm doing wrong? I'm mining ATM at a SRC pool, and after half an hour I'm already having as much unconfirmed coins as my calc said I would have over a day Smiley
500TAC (Talkcoin, 0.015BTC) bounty for the one who solves this riddle ^^"
leicas
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
June 09, 2014, 07:05:56 PM
 #2

Might be a problem of conversion between khash and Mhash, seems like you've got a 1 000 factor missing.
Bombadil (OP)
Hero Member
*****
Offline Offline

Activity: 644
Merit: 500



View Profile
June 09, 2014, 07:14:55 PM
Last edit: June 09, 2014, 07:59:25 PM by Bombadil
 #3

Might be a problem of conversion between khash and Mhash, seems like you've got a 1 000 factor missing.
Nah, it seems correct for other algo's. Here's a new (trimmed) list also showing the coins per day: http://pastebin.com/S3H5vq1m
Here is a CoinWarz with all the hashrates for 750ti already filled in: http://bit.ly/UoDd2N
So it's like quark has some mystery to it's diff calc Wink I'd like to know that one.

Edit: Found it!

500TAC has been sent Smiley
Lizzardis
Newbie
*
Offline Offline

Activity: 106
Merit: 0


View Profile
June 09, 2014, 10:05:40 PM
 #4

Any ETA on this switcher? That would be incredible!
waldistons
Sr. Member
****
Offline Offline

Activity: 294
Merit: 250


View Profile
June 10, 2014, 10:37:10 AM
 #5

just a friendly advice if You haven't done it already: If You use HttpWebRequest or something like that, then set proxy to null as it will _REALLY_ speed up web request! (C# web interfaces use IE settings and setting proxy to null will save some time while doing request) I've experimented a lot with this, was trying to make web crawler a while ago Cheesy

Code:
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(prefix + host + ":" + port);
request.Proxy = null;

Hope this helps Smiley

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



.SEMUX
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
  Semux uses 100% original codebase
  Superfast with 30 seconds instant finality
  Tested 5000 tx per block on open network
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
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!