Bitcoin Forum
December 09, 2016, 11:42:01 PM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 3 4 5 6 7 8 9 [10] 11 12 13 »  All
  Print  
Author Topic: [Pushpool Web Frontend] Simplecoin v5.0 Opensource PHP/MySQL - NEW RELEASE  (Read 54932 times)
simplecoin
Sr. Member
****
Offline Offline

Activity: 406



View Profile WWW
August 12, 2011, 03:49:12 PM
 #181

it's a hashrate file used by stats sites.

make the missing directory.  Wink

Donations: 1VjGJHPtLodwCFBDWsHJMdEhqRcRKdBQk
1481326921
Hero Member
*
Offline Offline

Posts: 1481326921

View Profile Personal Message (Offline)

Ignore
1481326921
Reply with quote  #2

1481326921
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481326921
Hero Member
*
Offline Offline

Posts: 1481326921

View Profile Personal Message (Offline)

Ignore
1481326921
Reply with quote  #2

1481326921
Report to moderator
1481326921
Hero Member
*
Offline Offline

Posts: 1481326921

View Profile Personal Message (Offline)

Ignore
1481326921
Reply with quote  #2

1481326921
Report to moderator
sareea
Member
**
Offline Offline

Activity: 76


View Profile
August 12, 2011, 04:36:52 PM
 #182

speed is a file or a directory ?
Thanks
Can you take a look please?
http://78.47.162.164/

And should i uncomment this line ?
//echo $e->getMessage();
simplecoin
Sr. Member
****
Offline Offline

Activity: 406



View Profile WWW
August 14, 2011, 05:01:28 AM
 #183

speed is a file or a directory ?
Thanks
Can you take a look please?
http://78.47.162.164/

And should i uncomment this line ?
//echo $e->getMessage();

Speed is a file, generated by stats, you can stop it's creation in incudes/stats.php if you wish.

Donations: 1VjGJHPtLodwCFBDWsHJMdEhqRcRKdBQk
DiamondPlus
Member
**
Offline Offline

Activity: 66


View Profile
August 15, 2011, 01:34:41 AM
 #184

Great job, for simplecoin.

One thing that is important to know is that security by obscurity is a very bad thing, most of the times there are problems with the design and even when the design of the algorithm is good, there are security holes that go undetected until the cracker finds out.

-DiamondPlus

Open source security algorithms are the best, for example take a look at the security of the bitcoin network, it is very solid, and in the rare event that a security was found most likely it would be in the implementation and it would be fixed within hours.

There are a lot of commercial security closed source programs that use the vigenere cipher, of course that is a secret, the vigenere cipher is very easy to implement and it provides security against the average person, but by design it is insecure, it is used a lot due to its simplicity,  in closed source it is very hard to tell it uses the vigenere chipher, until someone does some reverse engineering, and after that the security completely colapses, any good cracker will crack the algorithm no very easy but doable. There are other algorithm that are also very simple and easy to implement used in closed source programs like rot13, or substitution cipher both very insecure and worse than vigenere.

Then there the famous one time pad very secure only algorithm proven to be unbreakable but also not very practical.

-DiamondPlus

The there are the good ones, but more complex idea, rsa, blowfish, etc, these can only be broken by brute force attacks, extremely difficult specially is the keys are large.

I used to be a cryptographer in the mid 90, so I am not up to date with the latest algorithms, but one thing I learned is that most close source packages are very insecure, and there are packages that break the security of those closed source programs, there was a programmer I do not remember his name that wrote software to unlock the locks, he was arrested in las vegas by the fbi after he gave a conference in defcon, he would talk a lot about insecure close source software with mathematical proofs, he sold unlock software for most closed source commerical packages.

-DiamondPlus

The lesson to be learned is that for the most security it is best to rely on a good algorithm, and not by security by obscurity, therefore most secure algorithms are usually open source. In theory if a person is a brilliant genius a close source security software could be secure, but for most of us, and most real world cases, open source is the way to go for security.

In many companies managers believe on closed source, the only reason for that is ignorance, they are usually not cryptographers, and know very little about programming, when working for a company like that vigenere cipher is great makes the manager happy and you are done quickly with the job, but for a job well done it is all in the algorithm and its implementation  and it takes more work when you have security in mind.

-DiamondPlus
Lolcust
Member
**
Offline Offline

Activity: 112


Hillariously voracious


View Profile
August 18, 2011, 09:29:03 AM
 #185

Hey, just a quick question - are there "noob-friendly" instructions on how to set this baby up, and what are the approximate sys.reqirements (how big a VPS would I need to play around with this baby) ?

Geist Geld, the experimental cryptocurrency, is ready for yet another SolidCoin collapse Wink

Feed the Lolcust!
NMC: N6YQFkH9Gn9CTm4mpGwuLB5zLzqWTWFw67
BTC: 15F8xbgRBA1XZ4hmtdFDUasroa2A5rYg8M
GEG: gK5Lx6ypWgr69Gw9yGzE6dsA7kcuCRZRK
simplecoin
Sr. Member
****
Offline Offline

Activity: 406



View Profile WWW
August 18, 2011, 02:06:04 PM
 #186

Hey, just a quick question - are there "noob-friendly" instructions on how to set this baby up, and what are the approximate sys.reqirements (how big a VPS would I need to play around with this baby) ?

No, there are currently no noob-friendly instructions. In fact, I don't recommend anyone trying to setup a public pool without significant development and network knowledge.

For a small pool a 1gb-2core vps might suffice.

I run my install on 4 servers. 1x8core sql, 1x8core pool, 2x2core web & replication

Donations: 1VjGJHPtLodwCFBDWsHJMdEhqRcRKdBQk
Lolcust
Member
**
Offline Offline

Activity: 112


Hillariously voracious


View Profile
August 18, 2011, 03:19:20 PM
 #187

Hey, just a quick question - are there "noob-friendly" instructions on how to set this baby up, and what are the approximate sys.reqirements (how big a VPS would I need to play around with this baby) ?

No, there are currently no noob-friendly instructions. In fact, I don't recommend anyone trying to setup a public pool without significant development and network knowledge.

For a small pool a 1gb-2core vps might suffice.

I run my install on 4 servers. 1x8core sql, 1x8core pool, 2x2core web & replication

Well, you see, I am contemplating  the creation of a somewhat audacious bitcoin fork, and the way it seems to be coming out, it would be best if it had a pool at "day zero". Thing is, I'm not very rich (otherwise I would have hired a decent coder instead of trying to recall the long foregone days when I tried to learn the mysterious art of making computers do my bidding Wink )

I might convince a close friend to start up a virtualbox vm with 1+ gb RAM on her box in the beginning, but she will likely eventually kill it so she can play Crysis and that other popular shooty thing with more comfort.
Thus, I am looking into possibility of renting a relatively frugal VM for the purpose of my experiment.

Geist Geld, the experimental cryptocurrency, is ready for yet another SolidCoin collapse Wink

Feed the Lolcust!
NMC: N6YQFkH9Gn9CTm4mpGwuLB5zLzqWTWFw67
BTC: 15F8xbgRBA1XZ4hmtdFDUasroa2A5rYg8M
GEG: gK5Lx6ypWgr69Gw9yGzE6dsA7kcuCRZRK
Paul4games
Jr. Member
*
Offline Offline

Activity: 46


View Profile
August 19, 2011, 09:50:37 AM
 #188

Simplecoin i have some questions:
1.Am i allowed to mine from different ips(i mean if i'm running 4 rigs i don't want them to get banned because of different ips or so)?
2.If i'm not allowedt o mine form more ips, tell me what's the limit(i mean like 2 ips per worker or 1 ip per worker)?
simplecoin
Sr. Member
****
Offline Offline

Activity: 406



View Profile WWW
August 19, 2011, 05:00:52 PM
 #189

Simplecoin i have some questions:
1.Am i allowed to mine from different ips(i mean if i'm running 4 rigs i don't want them to get banned because of different ips or so)?
2.If i'm not allowedt o mine form more ips, tell me what's the limit(i mean like 2 ips per worker or 1 ip per worker)?


That is based on the pool software you use. My frontend is only for the web. The only IP restriction is one ip logged into the web server at a time, none of this will cause a ban.

Donations: 1VjGJHPtLodwCFBDWsHJMdEhqRcRKdBQk
sareea
Member
**
Offline Offline

Activity: 76


View Profile
August 20, 2011, 09:15:46 AM
 #190

Hello,
I am getting these warnings

Code:
] PHP Warning:  Invalid argument supplied for foreach()
in /var/www/includes/stats.php on line 89

and
Code:
] PHP Warning:  Invalid argument supplied for foreach()
in /var/www/stats.php on line 75

[Sat Aug 13 11:47:01 2011] [error] [client 84.228.254.88
] PHP Fatal error:  Call to a member function fetch() on
 a non-object in /var/www/includes/stats.php on line 42,

Some one told me that

Quote
Probably this query is not returning a value, so it gives an error.
Code:
$sql = "SELECT count(id) FROM shares WHERE id > $lastwinningshare AND our_result='N'";
Most likely it will go away as soon as it returns something.
( from this article :
https://bitcointalk.org/index.php?topic=36672.0
)

Please help ! It is urgent
thanks !
simplecoin
Sr. Member
****
Offline Offline

Activity: 406



View Profile WWW
August 25, 2011, 05:46:24 AM
 #191

Sorry for the delays. I'm trying to lock-down some things for 4.1.

Also, forum link has changed.

Donations: 1VjGJHPtLodwCFBDWsHJMdEhqRcRKdBQk
sareea
Member
**
Offline Offline

Activity: 76


View Profile
August 26, 2011, 06:21:52 AM
 #192

Any updates Smiley ?

And can you please provide me a solution for the php fatal error for the that member function ?
I have been stuck for 2 weeks on my pool just because of this .i really thank you for the help
AnnihilaT
Full Member
***
Offline Offline

Activity: 196



View Profile
August 26, 2011, 12:41:35 PM
 #193

Sareea,

I really suggest that you dont even bother trying to start a pool simply because if a problem like this gets you stuck for more than two weeks you dont have the technical ability to run a pool.  There will be much larger day to day problems than this one that arise while running a pool.  Its not install and forget software.  You need to be able to program and understand the code because there will be problems and you will need to fix them yourself.  I dont mean to be mean but you are clearly not qualified to run a pool.  Im just being honest and trying to save you alot more pain down the road.
Keninishna
Hero Member
*****
Offline Offline

Activity: 551



View Profile WWW
August 27, 2011, 08:57:41 AM
 #194

ok I almost have your pool up I have one sql issue thats causing the site to fail. I get
Code:
PHP Fatal error:  Call to a member function fetch() on a non-object in /var/www/simplecoin/includes/stats.php on line 276

So I google some and take a look at line 276, I see its under function usersharecount()
Code:
if ($currentSharesR = $currentSharesQ->fetch()) {

Apparently when the fetch fails it returns a false, and its expecting an object so the error causes more errors  Grin
I think my understanding fails at the SQL code above it here:

Code:
$sql = "SELECT count(id) as id FROM shares WHERE id > $lastwinningshare AND username in ('".implode("','",$workers)."')";

I have the database set up properly, it has all the tables, pushpoold is working away I can create a worker (if I comment out the above code) and login and submit shares. Thanks for any help.

edit:
nevermind I found out it was because there was no $lastwinningshare I manually set it to 1 now everything is good (untill i find a block lol)
sareea
Member
**
Offline Offline

Activity: 76


View Profile
August 27, 2011, 07:11:11 PM
 #195

ok I almost have your pool up I have one sql issue thats causing the site to fail. I get
Code:
PHP Fatal error:  Call to a member function fetch() on a non-object in /var/www/simplecoin/includes/stats.php on line 276

So I google some and take a look at line 276, I see its under function usersharecount()
Code:
if ($currentSharesR = $currentSharesQ->fetch()) {

Apparently when the fetch fails it returns a false, and its expecting an object so the error causes more errors  Grin
I think my understanding fails at the SQL code above it here:

Code:
$sql = "SELECT count(id) as id FROM shares WHERE id > $lastwinningshare AND username in ('".implode("','",$workers)."')";

I have the database set up properly, it has all the tables, pushpoold is working away I can create a worker (if I comment out the above code) and login and submit shares. Thanks for any help.

edit:
nevermind I found out it was because there was no $lastwinningshare I manually set it to 1 now everything is good (untill i find a block lol)

Can you please explain to me how you exactly fixed it ? I am still  a newbie learning the business Smiley

Edit : Solved it Cheesy
simplecoin
Sr. Member
****
Offline Offline

Activity: 406



View Profile WWW
August 30, 2011, 03:54:24 AM
 #196

Version 5 is released  Cool

A lot of bug fixes, especially for new pools!
Even more optimization to sql (especially for multi-million share rounds )
Main cronjob can run every minute with very little impact.
Winning shares are much more easily handled.
Also unconfirmed shares are perfectly accurate.

Tested with lastnpps scoring, will be testing prop soon.

Now to get multi-pool/coin support into the base.

Donations: 1VjGJHPtLodwCFBDWsHJMdEhqRcRKdBQk
sareea
Member
**
Offline Offline

Activity: 76


View Profile
August 31, 2011, 12:16:14 PM
 #197

Thanks for the effort.
How can i upgrade from v4 to v5?
simplecoin
Sr. Member
****
Offline Offline

Activity: 406



View Profile WWW
August 31, 2011, 04:37:21 PM
 #198

You'll need to add the new table (unrewarded_shares) and look for other sql changes.

Donations: 1VjGJHPtLodwCFBDWsHJMdEhqRcRKdBQk
sareea
Member
**
Offline Offline

Activity: 76


View Profile
September 01, 2011, 10:24:40 AM
 #199

i tested it , it doesn't have the problems v4 had !
Thanks a lot !

I faced few things though :
- Resetting the password with lostpassword didn't work for me, i edited it to be http:// and not https:// as it is in lostpassword.php.
It even ruins the password, even the old password stops working. What should i do ?
I think it is because lostpassword.php uses sha256 encryption and the login.php uses the $salt thing ?

- in accountdetails.php , you added the field ( current password ) to change the password, but even though you put the password it says " you must put your current password" , it doesn't  recognize it .

Thanks a lot simplecoin ! you are awesome ! Smiley
mich
Hero Member
*****
Offline Offline

Activity: 728



View Profile
September 01, 2011, 12:01:26 PM
 #200

- Resetting the password with lostpassword didn't work for me, i edited it to be http:// and not https:// as it is in lostpassword.php.
It even ruins the password, even the old password stops working. What should i do ?
I think it is because lostpassword.php uses sha256 encryption and the login.php uses the $salt thing ?

lostpassword.php, line 53 must be like:
$result = mysql_query("UPDATE webUsers SET pass='".hash("sha256", $pass.$salt)."', accountFailedAttempts = 0 WHERE  username='$resetUsername' AND emailAuthPin='$resetAuth' ");
Pages: « 1 2 3 4 5 6 7 8 9 [10] 11 12 13 »  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!