Bitcoin Forum
April 26, 2024, 09:33:33 AM *
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 »  All
  Print  
Author Topic: [Pushpool Web Frontend] Simplecoin v5.0 Opensource PHP/MySQL - NEW RELEASE  (Read 57147 times)
Keninishna
Hero Member
*****
Offline Offline

Activity: 556
Merit: 500



View Profile
September 05, 2011, 07:16:04 PM
Last edit: September 06, 2011, 07:58:04 AM by Keninishna
 #201

Does anyone know where simplecoin writes to the unconfirmed_rewards table in the database? I see a function that reads from it but where does it write to it?
edit: found it in rewards

mysql_query("INSERT INTO unconfirmed_rewards (userId, blockNumber, amount, shares) VALUES ($userid, $blockNumber, '$totalReward', $uncountedShares)");
1714124013
Hero Member
*
Offline Offline

Posts: 1714124013

View Profile Personal Message (Offline)

Ignore
1714124013
Reply with quote  #2

1714124013
Report to moderator
1714124013
Hero Member
*
Offline Offline

Posts: 1714124013

View Profile Personal Message (Offline)

Ignore
1714124013
Reply with quote  #2

1714124013
Report to moderator
1714124013
Hero Member
*
Offline Offline

Posts: 1714124013

View Profile Personal Message (Offline)

Ignore
1714124013
Reply with quote  #2

1714124013
Report to moderator
Transactions must be included in a block to be properly completed. When you send a transaction, it is broadcast to miners. Miners can then optionally include it in their next blocks. Miners will be more inclined to include your transaction if it has a higher transaction fee.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714124013
Hero Member
*
Offline Offline

Posts: 1714124013

View Profile Personal Message (Offline)

Ignore
1714124013
Reply with quote  #2

1714124013
Report to moderator
simplecoin (OP)
Sr. Member
****
Offline Offline

Activity: 406
Merit: 250



View Profile WWW
September 13, 2011, 02:56:49 PM
 #202

Sorry I've been AWOL from this thread, but between developing the new version and my best friends marriage things have been hectic.

The new version is so close to stable. The current slowdown is the creation of a dynamic long-polling proxy to use with the new frontend.

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

Activity: 406
Merit: 250



View Profile WWW
September 13, 2011, 02:58:23 PM
 #203

Hello everyone,

I set all the parameters of my previous scripts and everything works fine, but I want to move to this one because I prefer this script, but I get the following error:

Fatal error: Uncaught BitcoinClientException:
  • : Connect error: Connection refused (111) thrown in on line 0

bitcoind working on port 8332
Workers have a communication with a pushpoold on 8341 and 8344 port.

I entered all that is needed in requiredFunctions.php, and tried different ports but still get that error.

What could be the problem?

Thank you in advance for your reply,


You should have port 8332 set then. Also, make sure the calling machine has access in the bitcoin.conf file as well as the firewall.

Donations: 1VjGJHPtLodwCFBDWsHJMdEhqRcRKdBQk
mich
Legendary
*
Offline Offline

Activity: 3122
Merit: 1032


#1 VIP Crypto Casino


View Profile
September 27, 2011, 04:05:24 AM
Last edit: September 27, 2011, 04:20:20 AM by mich
 #204

Got a problem. Pool has found 2 blocks, I can see in wallet about 100 btc, but pool stat does not show founded blocks Sad
Need your urgent help!!!
Table "winning_shares" is empty.
Table "networkBlocks" is empty.

Simplecoin v.5
Mysql 5.1.54

cronjob.php returns "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1"

.
.BITCASINO.. 
.
#1 VIP CRYPTO CASINO

▄██████████████▄
█▄████████████▄▀▄▄▄
█████████████████▄▄▄
█████▄▄▄▄▄▄██████████████▄
███████████████████████████████
████▀█████████████▄▄██████████
██████▀██████████████████████
████████████████▀██████▌████
███████████████▀▀▄█▄▀▀█████▀
███████████████████▀▀█████▀
 ▀▀▀▀▀▀▀██████████████
          ▀▀▀████████
                ▀▀▀███

.
......PLAY......
simplecoin (OP)
Sr. Member
****
Offline Offline

Activity: 406
Merit: 250



View Profile WWW
September 27, 2011, 04:39:27 AM
 #205

Got a problem. Pool has found 2 blocks, I can see in wallet about 100 btc, but pool stat does not show founded blocks Sad
Need your urgent help!!!
Table "winning_shares" is empty.
Table "networkBlocks" is empty.

Simplecoin v.5
Mysql 5.1.54

cronjob.php returns "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1"


Ok, what line number is the error coming from (there are LOTS of sql calls from many classes in cronjob) ?

V5 was fairly solid out of the box, so hopefully this is a simple fix.

Donations: 1VjGJHPtLodwCFBDWsHJMdEhqRcRKdBQk
mich
Legendary
*
Offline Offline

Activity: 3122
Merit: 1032


#1 VIP Crypto Casino


View Profile
September 27, 2011, 04:46:03 AM
 #206

/cronjobs/cronjob.php

Warning: mysql_fetch_row() expects parameter 1 to be resource, boolean given in /var/www/mpool/includes/block.php on line 6 Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /var/www/mpool/includes/block.php on line 16 Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /var/www/mpool/includes/block.php on line 24 Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /var/www/mpool/includes/block.php on line 54 Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /var/www/mpool/includes/block.php on line 59 Notice: Trying to get property of non-object in /var/www/mpool/includes/block.php on line 60 Notice: Trying to get property of non-object in /var/www/mpool/includes/block.php on line 61 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

My table networkBlocks is empty. Which script does update it? And can I get somewhere dump of this table?

.
.BITCASINO.. 
.
#1 VIP CRYPTO CASINO

▄██████████████▄
█▄████████████▄▀▄▄▄
█████████████████▄▄▄
█████▄▄▄▄▄▄██████████████▄
███████████████████████████████
████▀█████████████▄▄██████████
██████▀██████████████████████
████████████████▀██████▌████
███████████████▀▀▄█▄▀▀█████▀
███████████████████▀▀█████▀
 ▀▀▀▀▀▀▀██████████████
          ▀▀▀████████
                ▀▀▀███

.
......PLAY......
simplecoin (OP)
Sr. Member
****
Offline Offline

Activity: 406
Merit: 250



View Profile WWW
September 27, 2011, 05:09:26 AM
 #207

networkBlocks is updated by cronjob.php

try putting a networkBlock of 1 in the table, that should force it to start updating.

I'm currently running a wholly new version of the source (working the kinks out now, especially merged-mining), so I'm referencing the git repo for answers.

Donations: 1VjGJHPtLodwCFBDWsHJMdEhqRcRKdBQk
mich
Legendary
*
Offline Offline

Activity: 3122
Merit: 1032


#1 VIP Crypto Casino


View Profile
September 27, 2011, 05:18:11 AM
 #208

What can I do now for make visible founded two blocks in stat and for paying out to users? I can see that shares in table shares, I see who found it, but which moves I have to do for correct stats and distribution of mined amount?

.
.BITCASINO.. 
.
#1 VIP CRYPTO CASINO

▄██████████████▄
█▄████████████▄▀▄▄▄
█████████████████▄▄▄
█████▄▄▄▄▄▄██████████████▄
███████████████████████████████
████▀█████████████▄▄██████████
██████▀██████████████████████
████████████████▀██████▌████
███████████████▀▀▄█▄▀▀█████▀
███████████████████▀▀█████▀
 ▀▀▀▀▀▀▀██████████████
          ▀▀▀████████
                ▀▀▀███

.
......PLAY......
mich
Legendary
*
Offline Offline

Activity: 3122
Merit: 1032


#1 VIP Crypto Casino


View Profile
September 27, 2011, 05:26:21 AM
 #209

networkBlocks is updated by cronjob.php

try putting a networkBlock of 1 in the table, that should force it to start updating.

I'm currently running a wholly new version of the source (working the kinks out now, especially merged-mining), so I'm referencing the git repo for answers.

I did but updating not started  Sad

.
.BITCASINO.. 
.
#1 VIP CRYPTO CASINO

▄██████████████▄
█▄████████████▄▀▄▄▄
█████████████████▄▄▄
█████▄▄▄▄▄▄██████████████▄
███████████████████████████████
████▀█████████████▄▄██████████
██████▀██████████████████████
████████████████▀██████▌████
███████████████▀▀▄█▄▀▀█████▀
███████████████████▀▀█████▀
 ▀▀▀▀▀▀▀██████████████
          ▀▀▀████████
                ▀▀▀███

.
......PLAY......
simplecoin (OP)
Sr. Member
****
Offline Offline

Activity: 406
Merit: 250



View Profile WWW
September 27, 2011, 05:45:59 PM
 #210

networkBlocks is updated by cronjob.php

try putting a networkBlock of 1 in the table, that should force it to start updating.

I'm currently running a wholly new version of the source (working the kinks out now, especially merged-mining), so I'm referencing the git repo for answers.

I did but updating not started  Sad

Still the same error?

Donations: 1VjGJHPtLodwCFBDWsHJMdEhqRcRKdBQk
mich
Legendary
*
Offline Offline

Activity: 3122
Merit: 1032


#1 VIP Crypto Casino


View Profile
September 27, 2011, 07:04:38 PM
 #211

No, fix by edited requiredFunctions.php (lock - unlock "shares")...
I hope that it was fixed...
Will see on next found block. Good sign - networkBlocks updates by every next block and part of last row in winningshares has been updated automatically.

.
.BITCASINO.. 
.
#1 VIP CRYPTO CASINO

▄██████████████▄
█▄████████████▄▀▄▄▄
█████████████████▄▄▄
█████▄▄▄▄▄▄██████████████▄
███████████████████████████████
████▀█████████████▄▄██████████
██████▀██████████████████████
████████████████▀██████▌████
███████████████▀▀▄█▄▀▀█████▀
███████████████████▀▀█████▀
 ▀▀▀▀▀▀▀██████████████
          ▀▀▀████████
                ▀▀▀███

.
......PLAY......
simplecoin (OP)
Sr. Member
****
Offline Offline

Activity: 406
Merit: 250



View Profile WWW
September 27, 2011, 07:17:38 PM
 #212

No, fix by edited requiredFunctions.php (lock - unlock "shares")...
I hope that it was fixed...
Will see on next found block. Good sign - networkBlocks updates by every next block and part of last row in winningshares has been updated automatically.

That's good news! The next version has better locking, but it takes a lot more database work to get it off the ground.

I'm going to need to build a serious manual or an install interface at this rate.

Donations: 1VjGJHPtLodwCFBDWsHJMdEhqRcRKdBQk
mich
Legendary
*
Offline Offline

Activity: 3122
Merit: 1032


#1 VIP Crypto Casino


View Profile
September 29, 2011, 01:13:50 PM
 #213

I think you have to make name of pool as variable in some settings file and use it in files who send notifications and etc.

.
.BITCASINO.. 
.
#1 VIP CRYPTO CASINO

▄██████████████▄
█▄████████████▄▀▄▄▄
█████████████████▄▄▄
█████▄▄▄▄▄▄██████████████▄
███████████████████████████████
████▀█████████████▄▄██████████
██████▀██████████████████████
████████████████▀██████▌████
███████████████▀▀▄█▄▀▀█████▀
███████████████████▀▀█████▀
 ▀▀▀▀▀▀▀██████████████
          ▀▀▀████████
                ▀▀▀███

.
......PLAY......
simplecoin (OP)
Sr. Member
****
Offline Offline

Activity: 406
Merit: 250



View Profile WWW
September 29, 2011, 02:11:11 PM
 #214

I think you have to make name of pool as variable in some settings file and use it in files who send notifications and etc.

Thanks, I'll try to get that in the next version.

Donations: 1VjGJHPtLodwCFBDWsHJMdEhqRcRKdBQk
Keninishna
Hero Member
*****
Offline Offline

Activity: 556
Merit: 500



View Profile
October 15, 2011, 11:21:56 AM
 #215

merged mining source code plz  Grin
worldinacoin
Hero Member
*****
Offline Offline

Activity: 756
Merit: 500



View Profile
October 15, 2011, 12:11:33 PM
 #216

I am hoping to run it on Centos 6, will there be any issues?  Or is it more suited for Debian based distros only?
simplecoin (OP)
Sr. Member
****
Offline Offline

Activity: 406
Merit: 250



View Profile WWW
October 16, 2011, 02:30:00 AM
 #217

merged mining source code plz  Grin

It's coming..... the real issue isn't the source, the source is good. The issue is making it usable for the masses. Right now, 90% of the setup is undocumented database tables and fields. I'm working on beefing up the admin panel so that it isn't nearly impossible to manage and install.

I am hoping to run it on Centos 6, will there be any issues?  Or is it more suited for Debian based distros only?

I'm not sure. In theory it should run on any PHP/Mysql setup. I personally use ubuntu with mysql 5.5, but I've heard of others even using windows.

Donations: 1VjGJHPtLodwCFBDWsHJMdEhqRcRKdBQk
Coinbuck @ BTCLot
Hero Member
*****
Offline Offline

Activity: 540
Merit: 500

The future begins today


View Profile WWW
October 17, 2011, 06:21:00 PM
 #218

Share counting and block update isn't working, what is wrong with my minipool ? I've setup cronjobs (of all files in cronjobs folder). Could you please show me a example of crontab -e ?

Bitcoin is the future !
mich
Legendary
*
Offline Offline

Activity: 3122
Merit: 1032


#1 VIP Crypto Casino


View Profile
October 18, 2011, 11:41:58 AM
 #219

Share counting and block update isn't working, what is wrong with my minipool ? I've setup cronjobs (of all files in cronjobs folder). Could you please show me a example of crontab -e ?

Yes, I would like to take a look this too. I need correct time interval for each of cronjobs file. When last my block was found frontend shown me balance >1000 except ~23... unknown mistake again Sad

.
.BITCASINO.. 
.
#1 VIP CRYPTO CASINO

▄██████████████▄
█▄████████████▄▀▄▄▄
█████████████████▄▄▄
█████▄▄▄▄▄▄██████████████▄
███████████████████████████████
████▀█████████████▄▄██████████
██████▀██████████████████████
████████████████▀██████▌████
███████████████▀▀▄█▄▀▀█████▀
███████████████████▀▀█████▀
 ▀▀▀▀▀▀▀██████████████
          ▀▀▀████████
                ▀▀▀███

.
......PLAY......
Coinbuck @ BTCLot
Hero Member
*****
Offline Offline

Activity: 540
Merit: 500

The future begins today


View Profile WWW
October 18, 2011, 02:21:58 PM
 #220

Share counting and block update isn't working, what is wrong with my minipool ? I've setup cronjobs (of all files in cronjobs folder). Could you please show me a example of crontab -e ?

Yes, I would like to take a look this too. I need correct time interval for each of cronjobs file. When last my block was found frontend shown me balance >1000 except ~23... unknown mistake again Sad

Could you please show yours ? it seems the block & earnings are updating in yours, in mine they aren't.

Bitcoin is the future !
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!