Bitcoin Forum
December 12, 2024, 08:52:24 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
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 57225 times)
phorensic
Hero Member
*****
Offline Offline

Activity: 630
Merit: 500



View Profile
August 07, 2011, 04:37:20 PM
 #161

Hmm, you must have been using shares_history different that I am.  My "shares" is only as large as the current round, old round gets cut and pasted into history.  Never have to do joins or unions.

So you throw away the hash data for shares counted?  I haven't been brave enough to do that on my history.
simplecoin (OP)
Sr. Member
****
Offline Offline

Activity: 406
Merit: 250



View Profile WWW
August 07, 2011, 06:35:15 PM
 #162

Hmm, you must have been using shares_history different that I am.  My "shares" is only as large as the current round, old round gets cut and pasted into history.  Never have to do joins or unions.

So you throw away the hash data for shares counted?  I haven't been brave enough to do that on my history.

I do, once it the round is paid out it's already been verified. I don't see much historical value in past blocks outside of share counts and block finder.

Donations: 1VjGJHPtLodwCFBDWsHJMdEhqRcRKdBQk
simplecoin (OP)
Sr. Member
****
Offline Offline

Activity: 406
Merit: 250



View Profile WWW
August 10, 2011, 12:19:25 AM
 #163

Holy incoming updates!

I may have to deem this release 4.0 because the changes are that drastic!

Donations: 1VjGJHPtLodwCFBDWsHJMdEhqRcRKdBQk
Paul4games
Newbie
*
Offline Offline

Activity: 46
Merit: 0


View Profile
August 10, 2011, 09:51:21 AM
 #164

Holy incoming updates!

I may have to deem this release 4.0 because the changes are that drastic!
Looking forward for this update.
sareea
Member
**
Offline Offline

Activity: 78
Merit: 10


View Profile
August 10, 2011, 06:18:34 PM
 #165

Hello,
When will you release the new updated version ? And will it have sql injection security ?
I really wanna use simplecoin , and if i install the current one is it upgradable to 4 ? I am looking up to open my pool today or tomorrow .
Please answer me Smiley Thanks !
simplecoin (OP)
Sr. Member
****
Offline Offline

Activity: 406
Merit: 250



View Profile WWW
August 10, 2011, 06:22:29 PM
 #166

Hello,
When will you release the new updated version ? And will it have sql injection security ?
I really wanna use simplecoin , and if i install the current one is it upgradable to 4 ? I am looking up to open my pool today or tomorrow .
Please answer me Smiley Thanks !

Currently there will not be an easy upgrade path from 2-4. The database changes are drastic.
Version 2 should have sql injection security as should the expirimental branch in the repository.

Donations: 1VjGJHPtLodwCFBDWsHJMdEhqRcRKdBQk
sareea
Member
**
Offline Offline

Activity: 78
Merit: 10


View Profile
August 10, 2011, 06:25:31 PM
 #167

Hello,
When will you release the new updated version ? And will it have sql injection security ?
I really wanna use simplecoin , and if i install the current one is it upgradable to 4 ? I am looking up to open my pool today or tomorrow .
Please answer me Smiley Thanks !

Currently there will not be an easy upgrade path from 2-4. The database changes are drastic.
Version 2 should have sql injection security as should the expirimental branch in the repository.
So what do you suggest ?
I wanna work with simplecoin !! Smiley
simplecoin (OP)
Sr. Member
****
Offline Offline

Activity: 406
Merit: 250



View Profile WWW
August 10, 2011, 06:44:57 PM
 #168

Hello,
When will you release the new updated version ? And will it have sql injection security ?
I really wanna use simplecoin , and if i install the current one is it upgradable to 4 ? I am looking up to open my pool today or tomorrow .
Please answer me Smiley Thanks !

Currently there will not be an easy upgrade path from 2-4. The database changes are drastic.
Version 2 should have sql injection security as should the expirimental branch in the repository.
So what do you suggest ?
I wanna work with simplecoin !! Smiley

I'm ironing out the last bits now. I'll have v4 in the repository soon enough.

Donations: 1VjGJHPtLodwCFBDWsHJMdEhqRcRKdBQk
sareea
Member
**
Offline Offline

Activity: 78
Merit: 10


View Profile
August 10, 2011, 06:54:44 PM
Last edit: August 10, 2011, 09:33:35 PM by sareea
 #169

Hello,
When will you release the new updated version ? And will it have sql injection security ?
I really wanna use simplecoin , and if i install the current one is it upgradable to 4 ? I am looking up to open my pool today or tomorrow .
Please answer me Smiley Thanks !

Currently there will not be an easy upgrade path from 2-4. The database changes are drastic.
Version 2 should have sql injection security as should the expirimental branch in the repository.
So what do you suggest ?
I wanna work with simplecoin !! Smiley

I'm ironing out the last bits now. I'll have v4 in the repository soon enough.
OOOO ok i will wait man Smiley
mich
Legendary
*
Offline Offline

Activity: 3360
Merit: 1034


#1 VIP Crypto Casino


View Profile
August 11, 2011, 06:18:05 AM
Last edit: August 11, 2011, 09:28:16 AM by mich
 #170

Just testing new 3rd version, and got this mistakes:

Warning: array_key_exists() expects parameter 2 to be array, boolean given in /var/www/includes/stats.php on line 150

Warning: Division by zero in /var/www/includes/header.php on line 99

PS: It was until pool accept shares from worker.
PPS: When no one worker conected the same mistakes ((((

█████████████████████████
███████████▄█████████████
██████▀░▀█▀░▀█▀░▀████████
███████▄███▄███▄█████████
████▀██▀██▀░▀████▀░▀█████
███████████░███▀██▄██████
████▀██▀██░░░█░░░████████
███████████░███▄█▀░▀█████
████▀██▀██▄░▄███▄░░░▄████
███████▀███▀███▀██▄██████
██████▄░▄█▄░▄█▄░▄████████
███████████▀█████████████
█████████████████████████
 
.Bitcasino.io.
 
.BTC  ✦  Where winners play  BTC.
.
..
.
    ..





████
████
░░▄████▄████████████▄███▄▄
░███████▄██▄▄▄▄▄▄█████████▄
███████████████████████████
▀████████████████████████▀
░░▀▀████████████████████
██████████████████▄█████████
██
▐███████▀███████▀██▄██████
███████▄██▄█▀████▀████████
░░██████▀▀▀▄▄▄████▀▀████
██▐██████████▀███▀█████████████    ████
███
████████████
███████████████    ████
█████▀████████████████▀
███████▀▀▀█████████▀▀
..
....
 
 ..✦ Play now... 
.
..
sareea
Member
**
Offline Offline

Activity: 78
Merit: 10


View Profile
August 11, 2011, 05:14:45 PM
 #171

Any updates Simplecoin ? i am very curious about this Smiley
Thanks !
simplecoin (OP)
Sr. Member
****
Offline Offline

Activity: 406
Merit: 250



View Profile WWW
August 11, 2011, 07:24:40 PM
 #172

Version 4 is now in the master and experimental branches!

There is no clear upgrade path from 2.0-4.0, It would be faster to migrate the shares/user data over manually than to rely on a script that may take hours to run.

Additionally version 4 is not without a few bugs, but overall it is more stable and usable than version 2 or 3.

There is a known issue with the stats, share count doesn't seem to be going up. This doesn't affect payout, just a quirk with the stats page.

Donations: 1VjGJHPtLodwCFBDWsHJMdEhqRcRKdBQk
sareea
Member
**
Offline Offline

Activity: 78
Merit: 10


View Profile
August 11, 2011, 09:12:19 PM
Last edit: August 12, 2011, 12:39:52 PM by sareea
 #173

The other files of the script are not running, all i see is a white screen , all i see is the header and thats it . nothing else .

I am checking what is not installed , i am having everything being running fine .

Please help !
Code:
[Fri Aug 12 16:11:18 2011] [error] [client 109.66.112.62
] PHP Warning:  fopen(/var/www/api/pool/speed): failed t
o open stream: No such file or directory in /var/www/inc
ludes/stats.php on line 62

[Fri Aug 12 16:11:19 2011] [error] [client 109.66.112.62
] PHP Warning:  fopen(/var/www/api/pool/speed): failed t
o open stream: No such file or directory in /var/www/inc
ludes/stats.php on line 62, referer: http://78.47.162.16
4/register.php

[Fri Aug 12 16:11:21 2011] [error] [client 109.66.112.62
] PHP Warning:  fopen(/var/www/api/pool/speed): failed t
o open stream: No such file or directory in /var/www/inc
ludes/stats.php on line 62, referer: http://78.47.162.16
4/stats.php

PHP Warning:  fopen(/var/www/api/pool/speed): failed t
o open stream: No such file or directory in /var/www/inc
ludes/stats.php on line 62, referer: http://78.47.162.16
4/gettingstarted.php

[error] [client 58.218.199.22
7] script '/var/www/proxyheader.php' not found or unable
 to stat

[Fri Aug 12 16:10:52 2011] [error] [client 109.66.112.62
] PHP Warning:  fopen(/var/www/api/pool/speed): failed t
o open stream: No such file or directory in /var/www/inc
ludes/stats.php on line 62, referer: http://78.47.162.16
4/register.php

[Fri Aug 12 16:11:13 2011] [error] [client 109.66.112.62
] PHP Warning:  fopen(/var/www/api/pool/speed): failed t
o open stream: No such file or directory in /var/www/inc
ludes/stats.php on line 62, referer: http://78.47.162.16
4/register.php

[Fri Aug 12 16:11:16 2011] [error] [client 109.66.112.62
] PHP Warning:  fopen(/var/www/api/pool/speed): failed t
o open stream: No such file or directory in /var/www/inc
ludes/stats.php on line 62, referer: http://78.47.162.16
4/register.

] PHP Warning:  fopen(/var/www/api/pool/speed): failed t
o open stream: No such file or directory in /var/www/inc
ludes/stats.php on line 62, referer: http://78.47.162.16
4/about.php

[Fri Aug 12 16:10:49 2011] [error] [client 109.66.112.62
] PHP Warning:  fopen(/var/www/api/pool/speed): failed t
o open stream: No such file or directory in /var/www/inc
ludes/stats.php on line 62, referer: http://78.47.162.16
4/about.php

[Fri Aug 12 16:10:51 2011] [error] [client 109.66.112.62
] PHP Warning:  fopen(/var/www/api/pool/speed): failed t
o open stream: No such file or directory in /var/www/inc
ludes/stats.php on line 62, referer: http://78.47.162.16
4/stats.php

What are these ?
sareea
Member
**
Offline Offline

Activity: 78
Merit: 10


View Profile
August 12, 2011, 01:28:19 PM
 #174

I checked in this file
https://github.com/simplecoin/simplecoin/blob/master/includes/stats.php

and i think the source of this is here : ( it is true that this file doesn't exist :S )
Code:
setCache("pool_hashrate", $currenthashrate, 300);
try {
$fileName = "/var/www/api/pool/speed";
$fileHandle = fopen($fileName, 'w') or die("can't open file");
fwrite($fileHandle, ($currenthashrate/1000));
fclose($fileHandle);
} catch (Exception $e) {
//echo $e->getMessage();
}

Sorry for the double post
simplecoin (OP)
Sr. Member
****
Offline Offline

Activity: 406
Merit: 250



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

it's a hashrate file used by stats sites.

make the missing directory.  Wink

Donations: 1VjGJHPtLodwCFBDWsHJMdEhqRcRKdBQk
sareea
Member
**
Offline Offline

Activity: 78
Merit: 10


View Profile
August 12, 2011, 04:36:52 PM
Last edit: August 12, 2011, 04:52:43 PM by sareea
 #176

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 (OP)
Sr. Member
****
Offline Offline

Activity: 406
Merit: 250



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

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: 68
Merit: 10


View Profile
August 15, 2011, 01:34:41 AM
Last edit: August 25, 2011, 02:59:45 PM by DiamondPlus
 #178

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
Merit: 11

Hillariously voracious


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

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 (OP)
Sr. Member
****
Offline Offline

Activity: 406
Merit: 250



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

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
Pages: « 1 2 3 4 5 6 7 8 [9] 10 11 12 13 »  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!