Bitcoin Forum
April 25, 2024, 04:05:19 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 [7] 8 9 10 11 12 13 14 »  All
  Print  
Author Topic: v5.6.0 ][ Open-Source Pooling Web Software ( MiningFarm )  (Read 57208 times)
phorensic
Hero Member
*****
Offline Offline

Activity: 630
Merit: 500



View Profile
June 21, 2011, 01:07:31 AM
 #121

You rock masterp!

1714061119
Hero Member
*
Offline Offline

Posts: 1714061119

View Profile Personal Message (Offline)

Ignore
1714061119
Reply with quote  #2

1714061119
Report to moderator
1714061119
Hero Member
*
Offline Offline

Posts: 1714061119

View Profile Personal Message (Offline)

Ignore
1714061119
Reply with quote  #2

1714061119
Report to moderator
Bitcoin addresses contain a checksum, so it is very unlikely that mistyping an address will cause you to lose money.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
Xenland (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1003


I'm not just any shaman, I'm a Sha256man


View Profile
June 21, 2011, 01:25:58 AM
 #122

You rock masterp!



Thanks for your contributions masterp ive added yor code to be in the next update along with a couple of other fixes that will be included should be released tonight!
peedee
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
June 21, 2011, 10:27:24 PM
 #123

Great work guys!
xmasterpx
Newbie
*
Offline Offline

Activity: 25
Merit: 0


View Profile
June 22, 2011, 07:23:37 AM
 #124

Hi,
Thanks phorensic   Smiley

But Xenland is rocking more Wink

@xenland
before i update my version. anything to do at the database?
or just that?
Code:
ALTER TABLE `stats_poolMHashHistory` ADD `totalMhash` INT( 50 ) NOT NULL 

secondary it is maybe useful to write it down at the first post if someone want to make an update.

best regards
Xenland (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1003


I'm not just any shaman, I'm a Sha256man


View Profile
June 22, 2011, 07:27:09 AM
 #125

Hi,
Thanks phorensic   Smiley

But Xenland is rocking more Wink

@xenland
before i update my version. anything to do at the database?
or just that?
Code:
ALTER TABLE `stats_poolMHashHistory` ADD `totalMhash` INT( 50 ) NOT NULL 

secondary it is maybe useful to write it down at the first post if someone want to make an update.

best regards
That looks about right, I believe totalMhash was the only field I used for MySql
you can find all current change log updates over at http://miningfarm.com/changeLog.php

Thanks everybody for your support!
xmasterpx
Newbie
*
Offline Offline

Activity: 25
Merit: 0


View Profile
June 22, 2011, 07:30:21 AM
 #126

Hi,
yes i have seen this changelog.
But i cant see any sqltable changing. Because of that is was asking. :>

I will update now.
xmasterpx
Newbie
*
Offline Offline

Activity: 25
Merit: 0


View Profile
June 22, 2011, 07:39:49 AM
 #127

Hi,
do you have tested your code?

TotalHashes arent working anymore. :>
Xenland (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1003


I'm not just any shaman, I'm a Sha256man


View Profile
June 22, 2011, 07:40:47 AM
 #128

Hi,
yes i have seen this changelog.
But i cant see any sqltable changing. Because of that is was asking. :>

I will update now.
Oh you want specifics? Its really hard to output that kind of information, I'm constantly updating my software to be-inline with my future plans like Modules and Skin chooser. In fact I believe there will be a state that my software wont need any more mysql changes, it'll be database pefect! Tongue

Thinking about a Lottery module? whatchu thinks?

P.S. total hashes updates to mysql but I forgot to output it to the data on the index, I'll post an update soon after I find my self in the forest
xmasterpx
Newbie
*
Offline Offline

Activity: 25
Merit: 0


View Profile
June 22, 2011, 07:46:26 AM
Last edit: June 22, 2011, 08:00:55 AM by xmasterpx
 #129

Hi,
do you have tested your code?

TotalHashes arent working anymore. :>

May you use "spline" instead of "line" on the charts. it looks realy better.
use this code xen:
http://nopaste.info/46f62a7fde_nl.html

its showing the stats even you're logged out.

P.S.
A lottery modul?
Hmm i would not use it but would be nice.
Xenland (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1003


I'm not just any shaman, I'm a Sha256man


View Profile
June 22, 2011, 08:16:12 AM
 #130

Hi,
do you have tested your code?

TotalHashes arent working anymore. :>

May you use "spline" instead of "line" on the charts. it looks realy better.
use this code xen:
http://nopaste.info/46f62a7fde_nl.html

its showing the stats even you're logged out.

P.S.
A lottery modul?
Hmm i would not use it but would be nice.
Thanks for that, i was wondering about how you made your graph look so smooth i need to stop and ask more questions.

Personally i wouldnt use a lottory module either considering that someone could change my code to rig it. May i could run a local mining farm and the lottory module just outsources the interface, that could be a potientially huge jackpot if users from every pool participated with just one jack pot
Whatchu think?
xmasterpx
Newbie
*
Offline Offline

Activity: 25
Merit: 0


View Profile
June 22, 2011, 08:32:22 AM
 #131

Hi,
That would be nice.
And i think each user can choose itself implement a form like for withdraw -> send to jackpot an amount X.X
or an selfchoosed automatic percentage on each round in the lottery.
if the jackpot pays out you send it back to the farm and the user get it in his balance.

But if you run it yourself my pool cant participate to this. cause we are farming namecoins :>
FreddyE
Newbie
*
Offline Offline

Activity: 27
Merit: 0


View Profile
June 22, 2011, 09:29:56 AM
 #132

how do I set a pool fee?
Xenland (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1003


I'm not just any shaman, I'm a Sha256man


View Profile
June 22, 2011, 10:15:35 AM
 #133

Hi,
That would be nice.
And i think each user can choose itself implement a form like for withdraw -> send to jackpot an amount X.X
or an selfchoosed automatic percentage on each round in the lottery.
if the jackpot pays out you send it back to the farm and the user get it in his balance.

But if you run it yourself my pool cant participate to this. cause we are farming namecoins :>

Looks like I'll just have to run two lottos, Namecoin and Bitcoind lottory modules!!!!
I'm trying to think of a way that will make it so the user can send the payment to the pot with out allowing the pool operator to mess with the code....baffelling.....

Oh yeah freedyE pool fee options is comming soon I left that out by accident on the graphic design shift change, Thanks for the reminder Cheesy
phorensic
Hero Member
*****
Offline Offline

Activity: 630
Merit: 500



View Profile
June 22, 2011, 06:06:27 PM
 #134

Ah dangit, you released a new version just as our private pool code is frozen while we find our first real block.  Looks like I have a lot more hours of hacking once we find our first block!
peedee
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
June 22, 2011, 09:02:03 PM
 #135

How would I query for the number of active workers ?
Xenland (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1003


I'm not just any shaman, I'm a Sha256man


View Profile
June 22, 2011, 09:08:13 PM
 #136

How would I query for the number of active workers ?
Code:
$fiveMinutesAgo = time();
$fiveMinutesAgo -= 60*5;

Code:
SELECT `id` FROM `stats_userMhashes` WHERE `timestamp` >= $fiveMinutesAgo AND `mhashes` > 0
try that?
xane
Newbie
*
Offline Offline

Activity: 51
Merit: 0



View Profile
June 22, 2011, 09:40:49 PM
 #137

Ok I read a couple of pages, but I can't find any info to WTF THIS SOFTWARE ACTUALLY DOES.  Tongue

Is it just a mining pool solution?
peedee
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
June 22, 2011, 10:47:35 PM
 #138

Its actually like this :

$fiveMinutesAgo = time();
$fiveMinutesAgo -= 60*5;

$workers = mysql_query("SELECT count(*) FROM `stats_userMHashHistory` WHERE `timestamp` >= $fiveMinutesAgo AND `mhashes` > 0");

// Verify it worked
if (!$workers) echo mysql_error();

$nrworkers = mysql_fetch_array($workers);


Then where ever you want to display the amount of workers :

echo "$nrworkers[0]"


Btw the stats_userMHashHistory table is filling up pretty quickly, especially if the number of workers that have been created increases, I think this will be become a scalability bottleneck.
gigabytecoin
Sr. Member
****
Offline Offline

Activity: 280
Merit: 252


View Profile
June 23, 2011, 04:18:29 AM
 #139

Its actually like this :

$fiveMinutesAgo = time();
$fiveMinutesAgo -= 60*5;

$workers = mysql_query("SELECT count(*) FROM `stats_userMHashHistory` WHERE `timestamp` >= $fiveMinutesAgo AND `mhashes` > 0");

// Verify it worked
if (!$workers) echo mysql_error();

$nrworkers = mysql_fetch_array($workers);


Then where ever you want to display the amount of workers :

echo "$nrworkers[0]"


Btw the stats_userMHashHistory table is filling up pretty quickly, especially if the number of workers that have been created increases, I think this will be become a scalability bottleneck.

Just don't use MySQL then. CouchDB or another database type optimized for large databases.
BombaUcigasa
Legendary
*
Offline Offline

Activity: 1442
Merit: 1000



View Profile
June 23, 2011, 08:39:21 AM
 #140

$fiveMinutesAgo = time();
$fiveMinutesAgo -= 60*5;


$fiveMinutesAgo = time() - 60 * 5; // WTF @ convulted code...
Pages: « 1 2 3 4 5 6 [7] 8 9 10 11 12 13 14 »  All
  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!