Bitcoin Forum

Bitcoin => Project Development => Topic started by: stolendata on July 11, 2014, 11:36:11 AM



Title: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: stolendata on July 11, 2014, 11:36:11 AM
 
Wrote this half a year ago for a friend's cryptocurrency, thought I'd release it publically in case someone else would find use for it. Written in PHP, very compact, uses only RPC for parsing blocks in real-time, with optional database storage. Some drawbacks. Intended as a faster-to-setup low-feature alternative to the well-known Abe for just quickly getting some perspective of a block chain. Should work with pretty much any coin using the standard block fields and RPC/JSON scheme, but do let me know if you find something unexpected.

https://github.com/stolendata/rpc-ace/ (https://github.com/stolendata/rpc-ace/)
 
https://i.imgur.com/O5oLZSa.jpg (http://rpcace.solcoin.net/)
 
Latest version is 0.8.0 (07-Dec-2015).


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: stolendata on July 15, 2014, 05:33:32 PM
v0.6.5 available with experimental support for PoS coins. Only tested on CryptCoin so far, it may not be perfect on others.


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: CryptoBlox on July 25, 2014, 01:25:14 PM
Does this work with X11 and any other Algos other then Scrypt?


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: stolendata on July 26, 2014, 09:39:59 AM
Does this work with X11 and any other Algos other then Scrypt?

Yes. The algo doesn't matter at all for this block explorer, as it pulls finalized block data from the coin daemon using RPC.

Some coins may use unique non-standard data fields in their blocks which could require an update, but I've tested it with a few X11 and X13 coins, both plain PoW as well as PoS, and they have all worked fine.


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: blatchcorn on July 26, 2014, 10:11:18 AM
Who do you think would be most likely to benefit from this?


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: stolendata on July 26, 2014, 10:32:04 AM
Who do you think would be most likely to benefit from this?

Users who want a simple way of monitoring activity on a block chain.


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: stolendata on July 31, 2014, 10:14:49 PM
v0.6.6 released, containing some layout changes to make the block info page more readable. Also added extras/tally.php, which is a simple tool for creating a "rich list" of addresses holding the most coins in a block chain.


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: aeonpi on August 01, 2014, 12:14:57 PM

Wrote this half a year ago for a friend's cryptocurrency, thought I'd release it publically in case someone else would find use for it. Written in PHP, very compact, uses only RPC for parsing blocks in real-time - no database storage. Some drawbacks. Intended as a faster-to-setup low-feature alternative to the well-known Abe for just quickly getting some perspective of a block chain. Should work with pretty much any coin using the standard block fields and RPC/JSON scheme, but do let me know if you find something unexpected.

https://github.com/stolendata/rpc-ace/
 
Example of RPC Ace running: http://solcoin-explorer.tru.io/
 

Will this work on other Coins
We are having trouble with our Block explorer

Virtacoin.com

Would you like to help us
We are happing to share in what we got.  Many investment opps on our Reddit for Virtacoin


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: stolendata on August 01, 2014, 03:54:54 PM
Will this work on other Coins
We are having trouble with our Block explorer

Virtacoin.com

Would you like to help us
We are happing to share in what we got.  Many investment opps on our Reddit for Virtacoin

It should work with any coin. Just give it a try.


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: penambang on August 02, 2014, 12:24:51 PM
v0.6.6 released, containing some layout changes to make the block info page more readable. Also added extras/tally.php, which is a simple tool for creating a "rich list" of addresses holding the most coins in a block chain.
how to use tally.php?


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: stolendata on August 02, 2014, 09:20:24 PM
v0.6.6 released, containing some layout changes to make the block info page more readable. Also added extras/tally.php, which is a simple tool for creating a "rich list" of addresses holding the most coins in a block chain.
how to use tally.php?

Explained in the README for RPC Ace: put tally.php and easybitcoin.php in the same dir, edit the four parameters (rpc username and password, host, port) just at the start in tally.php and then simply run it from the command line, "php tally.php output.txt".


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: penambang on August 03, 2014, 12:15:59 PM
I try to get richlist for Qubitcoin, everything was set correctly but I get:

Code:
PHP Warning:  Invalid argument supplied for foreach() in /home/penambang/tally.php on line 46
PHP Warning:  Invalid argument supplied for foreach() in /home/penambang/tally.php on line 50
http://s28.postimg.org/wigxeqmgd/error.png

did I miss something?


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: stolendata on August 03, 2014, 07:31:42 PM
I try to get richlist for Qubitcoin, everything was set correctly but I get:

Code:
PHP Warning:  Invalid argument supplied for foreach() in /home/penambang/tally.php on line 46
PHP Warning:  Invalid argument supplied for foreach() in /home/penambang/tally.php on line 50

did I miss something?

Yes, your connection parameters are wrong. I just haven't added proper error reporting letting the user know if the connection failed, so instead you get loads of warnings/errors, but the cause is still the same. Verify that username, password, port etc. is correct and that your daemon/wallet is actually configured to allow RPC connections.

Typically you want something like this in your coin's .conf:

Code:
rpcuser=something
rpcpassword=someTHINGelseSECRET
rpcallowip=127.0.0.1
daemon=1
listen=1
txindex=1

The 'listen' and 'txindex' in particular are required.

The port you set in tally.php should be the RPC port of the coin, not its P2P port.


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: stolendata on August 03, 2014, 08:42:27 PM
I just tested to sample up to block 100,000 of the QubitCoin chain, and tally.php reads it fine:

GV5znAMrL4gQQipEamMLP5o9nQsXvz8m2R 4123863.94809
GaSLEnJqKZ4SygkJpKvPsrHpJwRhJFgX8f 4044806.0273
GaC4x6q8xohv15wrmYdjW2cTKxkeJKuVc6 3790772.4968
GMsikpkqUM77ssogYP9A5U53DG9S5Y3A1K 2487414.81441
GHzeTaoqKVj4c5FmM2SmDKngXwH5iyYw3q 2353153.35342
GbqPWyTWiGUzmwm6hZrgeyVzkXibhTntby 2299723.74961
GHu6SGwDNN2KuUwBqpyfRY8GSfuzcKovH2 2066643.3168
GP5JPXt2EvuEXSPboSmHdDDRWjfEGFhdRf 1972224.1013
...


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: birdonwheels5 on August 08, 2014, 01:09:40 AM
Hey, I'm trying to use your richlist generator, but I seem stuck when I try to run it... It keeps spitting out a PHP error, saying that there's an unexpected '[' at line 28... I'm trying to use this with Myriadcoin (multiple simultaneous hashing algos), if that makes any difference.


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: stolendata on August 08, 2014, 09:06:57 AM
Hey, I'm trying to use your richlist generator, but I seem stuck when I try to run it... It keeps spitting out a PHP error, saying that there's an unexpected '[' at line 28... I'm trying to use this with Myriadcoin (multiple simultaneous hashing algos), if that makes any difference.

The hashing algo itself makes no difference at all to tally.php (or RPC Ace for that matter). I think you accidentally removed a semicolon or string apostrophe or so when entering your RPC connection parameters.

Something like,  $rpcUser = 'something;  (missing ' before the semicolon)

or

$rpcPort = 1234  (missing ; at the end)


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: Michael Jackson on August 08, 2014, 10:05:56 AM
seems like  good scheme . lets wait what will happened on chart this night.


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: birdonwheels5 on August 08, 2014, 04:48:33 PM
Hey, I'm trying to use your richlist generator, but I seem stuck when I try to run it... It keeps spitting out a PHP error, saying that there's an unexpected '[' at line 28... I'm trying to use this with Myriadcoin (multiple simultaneous hashing algos), if that makes any difference.

The hashing algo itself makes no difference at all to tally.php (or RPC Ace for that matter). I think you accidentally removed a semicolon or string apostrophe or so when entering your RPC connection parameters.

Something like,  $rpcUser = 'something;  (missing ' before the semicolon)

or

$rpcPort = 1234  (missing ; at the end)

My syntax looks good, though. I'm not missing any semicolons or ' in any of the fields, in easybitcoin.php or tally.php. I'm running PHP 5.3.10 on my ownCloud server.


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: stolendata on August 08, 2014, 05:06:58 PM
My syntax looks good, though. I'm not missing any semicolons or ' in any of the fields, in easybitcoin.php or tally.php. I'm running PHP 5.3.10 on my ownCloud server.

I see where the problem is - RPC Ace (and tally.php) requires PHP version 5.4 or later.

PHP 5.3.10 is two and a half years old now. You should update, especially considering all the security fixes :)


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: birdonwheels5 on August 08, 2014, 06:07:56 PM
My syntax looks good, though. I'm not missing any semicolons or ' in any of the fields, in easybitcoin.php or tally.php. I'm running PHP 5.3.10 on my ownCloud server.

I see where the problem is - RPC Ace (and tally.php) requires PHP version 5.4 or later.

PHP 5.3.10 is two and a half years old now. You should update, especially considering all the security fixes :)

Dunno why it's so old, I set my server up a few weeks ago and grabbbed a lamp stack... Ok, I'll go ahead and fix that :p

I was gonna code my own block crawler but if I can get this working, it'll save me lots of work :)

Edit: A little research shows that that's the newest version that's packaged with Ubuntu 12.04



Welp now I'm getting this:

blocks... PHP Warning: natsort() expects parameter 1 to be array, null given in /home/birdonwheelss/rpc-ace/extras/tally.php on line 64

Then lines 65 and 68 throw errors as well because they also expect arrays.

...

Fixed it. That was because of an error in my config. I had rpc=xxx instead of rpcuser=xxx.

Seems to be working as expected (it's going through the transactions). Thanks for the help! :)


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: birdonwheels5 on August 09, 2014, 06:44:05 PM
Here, you can see what I did with it over at http://birdonwheels5.no-ip.org:3000/richlist.html

(commas coming tomorrow)

Thanks again!


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: stolendata on August 09, 2014, 09:46:28 PM
Here, you can see what I did with it over at http://birdonwheels5.no-ip.org:3000/richlist.html

(commas coming tomorrow)

Thanks again!

No problem, you're welcome.

I'm working on a little update that will save the progress from each run in order to resume from where tally.php ended last so users don't have to start from block 1 each time they want to update the list.


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: birdonwheels5 on August 09, 2014, 09:56:54 PM

No problem, you're welcome.

I'm working on a little update that will save the progress from each run in order to resume from where tally.php ended last so users don't have to start from block 1 each time they want to update the list.

That would be awesome! Is the file it generates going to be large though?


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: stolendata on August 09, 2014, 10:55:07 PM

No problem, you're welcome.

I'm working on a little update that will save the progress from each run in order to resume from where tally.php ended last so users don't have to start from block 1 each time they want to update the list.

That would be awesome! Is the file it generates going to be large though?

That depends on how many unique addresses tally.php encounters. Each stored address uses less than 80 bytes in the progress array, so stretching this to the limit we can say that 1000 addresses yields a progress file of 80kb; 1 million addresses yields a progress file of 80mb (think large chains like Bitcoin or Litecoin).

Real example: the progress file of the Solcoin chain, with 121992 addresses at block 95756, is 5.4mb in size.


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: stolendata on August 09, 2014, 11:02:40 PM
New update to tally.php available, containing an automatic resume feature allowing it to continue from where it last stopped, to avoid having to start from block 1 each time a list is generated. tally.php will now also save its progress for later if the user aborts the script with ctrl+c.

Give it a try and let me know if you notice any warnings or errors, or inaccurate results.


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: birdonwheels5 on August 10, 2014, 05:13:24 AM
New update to tally.php available, containing an automatic resume feature allowing it to continue from where it last stopped, to avoid having to start from block 1 each time a list is generated. tally.php will now also save its progress for later if the user aborts the script with ctrl+c.

Give it a try and let me know if you notice any warnings or errors, or inaccurate results.

Working great! I modified it to include my code (for formatting output) and it's syncing every time (after multiple screwups with the html..). Thanks for the great generator. Wasn't expecting an update so soon.


That depends on how many unique addresses tally.php encounters. Each stored address uses less than 80 bytes in the progress array, so stretching this to the limit we can say that 1000 addresses yields a progress file of 80kb; 1 million addresses yields a progress file of 80mb (think large chains like Bitcoin or Litecoin).

Real example: the progress file of the Solcoin chain, with 121992 addresses at block 95756, is 5.4mb in size.

Ok, it doesn't seem to take up much space at all. That's perfect. Also, the feeling of not having to wait 1 hour between formatting tests is awesome!


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: stolendata on August 26, 2014, 02:24:55 PM
RPC Ace v0.6.7 released, with connection verification alerting the user if RPC Ace couldn't connect to the daemon, and simple automatic page refresh when displaying the block list.


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: HotSwap on September 05, 2014, 08:59:38 AM
I am having one small issue with the richlist generator. I currently have it generating to a txt file and then that's imported into a site. My problem is tally will just add to the file and not write over it. So its duplicating addresses every time the cronjob runs.

Any ideas?


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: liteuser on September 05, 2014, 01:27:41 PM
I am having one small issue with the richlist generator. I currently have it generating to a txt file and then that's imported into a site. My problem is tally will just add to the file and not write over it. So its duplicating addresses every time the cronjob runs.

Any ideas?

Use the cron job to move or remove the previous txt file before running tally.


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: stolendata on September 05, 2014, 09:23:05 PM
I am having one small issue with the richlist generator. I currently have it generating to a txt file and then that's imported into a site. My problem is tally will just add to the file and not write over it. So its duplicating addresses every time the cronjob runs.

Any ideas?

Ah, thanks for pointing out my silly mistake. It's corrected and extras/tally.php has been updated so it will overwrite the output.


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: dE_logics on September 12, 2014, 03:21:16 PM
This's great stuff.

Other block explorers are just hacks, this one's real and the only accurate one, cause it's using all official altcoin backend.

Any new algo coin, and this's the best thing that happened to it.

Keep up the good work!!


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: dE_logics on September 14, 2014, 05:39:44 AM
I would suggest a caching feature.

It would simply cache the response of transactions/blocks etc... to a file or a local database (like sqlite etc...).


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: stolendata on September 14, 2014, 11:44:29 AM
I would suggest a caching feature.

It would simply cache the response of transactions/blocks etc... to a file or a local database (like sqlite etc...).

I've already implemented DB storage of the block contents but haven't gotten around to polish and complete it, and I'm still a bit torn over what that turns my block explorer into. Its original purpose was to be a real-time pure RPC explorer with as little extra setup (and storage) as possible. Dropping blocks over PDO/SQLite (or even using serialized arrays) requires no extra hassle on the behalf of the user, but...

I'll probably release the DB feature version in the near future.


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: MystPhysX on September 17, 2014, 04:51:59 AM
How do I specify which daemon rpc-ace should talk to? I've set the rpcport and such but nothing shows up on my page at chainexplorer.info


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: iron man on September 17, 2014, 07:53:22 AM
Who do you think would be most likely to benefit from this?

those who want a simple method to solve this kind of problem.


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: stolendata on September 17, 2014, 11:27:15 AM
How do I specify which daemon rpc-ace should talk to? I've set the rpcport and such but nothing shows up on my page at chainexplorer.info

The port (and the username and password) is what decides which daemon it connects to. If nothing shows up then either the daemon isn't accepting RPC calls because of your .conf, or your PHP component doesn't have CURL and JSON support enabled.

RPC Ace (and the extras) requires PHP version 5.4 or later, with CURL and JSON support enabled.

Remember that you need to tell the daemon to accept incoming RPC calls by setting daemon=1 (and server=1 if you are running the Qt GUI wallet), as well as correctly setting rpcallowip, rpcusername and rpcpassword in the .conf. Also, don't forget that you need to start the daemon/wallet too ;)


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: MystPhysX on September 18, 2014, 08:52:52 AM
Finally managed to get it to work, never figured out what was wrong but it works now so I'm happy.

Thanks for this, it's a lot easier to manage when compared to abe.


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: MystPhysX on September 20, 2014, 04:47:17 AM
Okay problem. tally.php only counts up to block 1864 out of 369840 when I try to resume it I get this error:

Quote
resuming from block 1864 - 369840 blocks ... PHP Notice:  Undefined index: EegVUeqn1NkpxsXAppk93yBWvVDWXj91Eu in /usr/share/nginx/www/rpc-ace/tally/tally.php on line 82
2000 (tx# 23664)   PHP Warning:  Invalid argument supplied for foreach() in /usr/share/nginx/www/rpc-ace/tally/tally.php on line 71
PHP Warning:  Invalid argument supplied for foreach() in /usr/share/nginx/www/rpc-ace/tally/tally.php on line 75
PHP Warning:  Invalid argument supplied for foreach() in /usr/share/nginx/www/rpc-ace/tally/tally.php on line 71
PHP Warning:  Invalid argument supplied for foreach() in /usr/share/nginx/www/rpc-ace/tally/tally.php on line 75
PHP Warning:  Invalid argument supplied for foreach() in /usr/share/nginx/www/rpc-ace/tally/tally.php on line 71
PHP Warning:  Invalid argument supplied for foreach() in /usr/share/nginx/www/rpc-ace/tally/tally.php on line 75
PHP Warning:  Invalid argument supplied for foreach() in /usr/share/nginx/www/rpc-ace/tally/tally.php on line 71
PHP Warning:  Invalid argument supplied for foreach() in /usr/share/nginx/www/rpc-ace/tally/tally.php on line 75
PHP Warning:  Invalid argument supplied for foreach() in /usr/share/nginx/www/rpc-ace/tally/tally.php on line 71
PHP Warning:  Invalid argument supplied for foreach() in /usr/share/nginx/www/rpc-ace/tally/tally.php on line 75
PHP Warning:  Invalid argument supplied for foreach() in /usr/share/nginx/www/rpc-ace/tally/tally.php on line 71
PHP Warning:  Invalid argument supplied for foreach() in /usr/share/nginx/www/rpc-ace/tally/tally.php on line 75
PHP Warning:  Invalid argument supplied for foreach() in /usr/share/nginx/www/rpc-ace/tally/tally.php on line 71
PHP Warning:  Invalid argument supplied for foreach() in /usr/share/nginx/www/rpc-ace/tally/tally.php on line 75
PHP Warning:  Invalid argument supplied for foreach() in /usr/share/nginx/www/rpc-ace/tally/tally.php on line 71
PHP Warning:  Invalid argument supplied for foreach() in /usr/share/nginx/www/rpc-ace/tally/tally.php on line 75
PHP Warning:  Invalid argument supplied for foreach() in /usr/share/nginx/www/rpc-ace/tally/tally.php on line 71
PHP Warning:  Invalid argument supplied for foreach() in /usr/share/nginx/www/rpc-ace/tally/tally.php on line 75
PHP Warning:  Invalid argument supplied for foreach() in /usr/share/nginx/www/rpc-ace/tally/tally.php on line 71
PHP Warning:  Invalid argument supplied for foreach() in /usr/share/nginx/www/rpc-ace/tally/tally.php on line 75
PHP Warning:  Invalid argument supplied for foreach() in /usr/share/nginx/www/rpc-ace/tally/tally.php on line 71
PHP Warning:  Invalid argument supplied for foreach() in /usr/share/nginx/www/rpc-ace/tally/tally.php on line 75
PHP Warning:  Invalid argument supplied for foreach() in /usr/share/nginx/www/rpc-ace/tally/tally.php on line 71
PHP Warning:  Invalid argument supplied for foreach() in /usr/share/nginx/www/rpc-ace/tally/tally.php on line 75
PHP Warning:  Invalid argument supplied for foreach() in /usr/share/nginx/www/rpc-ace/tally/tally.php on line 71
PHP Warning:  Invalid argument supplied for foreach() in /usr/share/nginx/www/rpc-ace/tally/tally.php on line 75
PHP Warning:  Invalid argument supplied for foreach() in /usr/share/nginx/www/rpc-ace/tally/tally.php on line 71
PHP Warning:  Invalid argument supplied for foreach() in /usr/share/nginx/www/rpc-ace/tally/tally.php on line 75
PHP Warning:  Invalid argument supplied for foreach() in /usr/share/nginx/www/rpc-ace/tally/tally.php on line 66
aborted - 42370 transactions through 42023 unique addresses counted

The thing is I haven't edited anything other than the username and password for tally.php


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: stolendata on September 20, 2014, 02:18:49 PM
Okay problem. tally.php only counts up to block 1864 out of 369840 when I try to resume it I get this error:

Quote
resuming from block 1864 - 369840 blocks ... PHP Notice:  Undefined index: EegVUeqn1NkpxsXAppk93yBWvVDWXj91Eu in /usr/share/nginx/www/rpc-ace/tally/tally.php on line 82
2000 (tx# 23664)   PHP Warning:  Invalid argument supplied for foreach() in /usr/share/nginx/www/rpc-ace/tally/tally.php on line 71
PHP Warning:  Invalid argument supplied for foreach() in /usr/share/nginx/www/rpc-ace/tally/tally.php on line 75
PHP Warning:  Invalid argument supplied for foreach() in /usr/share/nginx/www/rpc-ace/tally/tally.php on line 71
...
aborted - 42370 transactions through 42023 unique addresses counted

The thing is I haven't edited anything other than the username and password for tally.php

This is because the block chain you are trying to account for isn't complete. You have built it without full transaction indexing. You need to delete the entire block chain, set "txindex=1" in the .conf and then sync the chain from scratch. Without indexing the info in the block chain is incomplete and you can't trace transactions.


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: MystPhysX on September 20, 2014, 02:56:51 PM
Okay problem. tally.php only counts up to block 1864 out of 369840 when I try to resume it I get this error:

Quote
resuming from block 1864 - 369840 blocks ... PHP Notice:  Undefined index: EegVUeqn1NkpxsXAppk93yBWvVDWXj91Eu in /usr/share/nginx/www/rpc-ace/tally/tally.php on line 82
2000 (tx# 23664)   PHP Warning:  Invalid argument supplied for foreach() in /usr/share/nginx/www/rpc-ace/tally/tally.php on line 71
PHP Warning:  Invalid argument supplied for foreach() in /usr/share/nginx/www/rpc-ace/tally/tally.php on line 75
PHP Warning:  Invalid argument supplied for foreach() in /usr/share/nginx/www/rpc-ace/tally/tally.php on line 71
...
aborted - 42370 transactions through 42023 unique addresses counted

The thing is I haven't edited anything other than the username and password for tally.php

This is because the block chain you are trying to account for isn't complete. You have built it without full transaction indexing. You need to delete the entire block chain, set "txindex=1" in the .conf and then sync the chain from scratch. Without indexing the info in the block chain is incomplete and you can't trace transactions.
Oh, okay let me try that. Thanks again.


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: MystPhysX on September 20, 2014, 07:49:11 PM
Deleted all block data and made sure the .conf with txindex=1 was in place before starting the daemon again. Downloaded all the blocks and tried again, same issue.


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: stolendata on September 20, 2014, 10:01:20 PM
Deleted all block data and made sure the .conf with txindex=1 was in place before starting the daemon again. Downloaded all the blocks and tried again, same issue.

Are you running PHP 5.4 or newer? I tried syncing 75k blocks on Fedoracoin and then tallying all addresses found and it worked just fine with no errors.


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: MystPhysX on September 20, 2014, 11:45:48 PM
Deleted all block data and made sure the .conf with txindex=1 was in place before starting the daemon again. Downloaded all the blocks and tried again, same issue.

Are you running PHP 5.4 or newer? I tried syncing 75k blocks on Fedoracoin and then tallying all addresses found and it worked just fine with no errors.
PHP 5.4.4-14+deb7u14 (cli) (built: Aug 21 2014 08:36:44)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies

What am I doing wrong? :/


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: stolendata on September 20, 2014, 11:56:03 PM
Are you running PHP 5.4 or newer? I tried syncing 75k blocks on Fedoracoin and then tallying all addresses found and it worked just fine with no errors.
PHP 5.4.4-14+deb7u14 (cli) (built: Aug 21 2014 08:36:44)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies

What am I doing wrong? :/

What error are you getting now with full transaction indexing? You didn't change anything in tally.php apart from configuring port/user/pass?


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: MystPhysX on September 21, 2014, 12:06:58 AM
Are you running PHP 5.4 or newer? I tried syncing 75k blocks on Fedoracoin and then tallying all addresses found and it worked just fine with no errors.
PHP 5.4.4-14+deb7u14 (cli) (built: Aug 21 2014 08:36:44)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies

What am I doing wrong? :/

What error are you getting now with full transaction indexing? You didn't change anything in tally.php apart from configuring port/user/pass?

Here is my current tally.php: http://pastebin.com/Ctn4hgYQ (http://pastebin.com/Ctn4hgYQ)

It runs for a couple thousand blocks and then just stops.

Quote
php tally.php output.txt
resuming from block 30286 - 371043 blocks ... PHP Notice:  Undefined index: ELGq9GF2BbaF8XqhMipf1nnaCUQELNSU4j in /usr/share/nginx/www/tally/tallytips.php on line 82
PHP Notice:  Undefined index: EdQy8hvZDFDyoo9twwxxkoEyY9Q8vMQJqn in /usr/share/nginx/www/tally/tallytips.php on line 82
PHP Notice:  Undefined index: ELRiUWnnfYwUcWJySdbtbP83YSRLf6V5mH in /usr/share/nginx/www/tally/tallytips.php on line 82
PHP Notice:  Undefined index: EaXMJdGA7ne7sLayH7vV7t7cM3x6pDxx6w in /usr/share/nginx/www/tally/tallytips.php on line 82
PHP Notice:  Undefined index: ERwtvqxmK36VSP34Pw6TidkYjgeH4TT2AV in /usr/share/nginx/www/tally/tallytips.php on line 82
PHP Notice:  Undefined index: Ee8Zeb7amTDMRpR5Y6EyscCTRMbuBif97k in /usr/share/nginx/www/tally/tallytips.php on line 82
PHP Notice:  Undefined index: EZJ2SMsJpnAFXrHpSDEsmeHyNQmw2Dfi22 in /usr/share/nginx/www/tally/tallytips.php on line 82
PHP Notice:  Undefined index: EXp2TEnZcYKSMGgVb3jWZsQS6sWM3X6Por in /usr/share/nginx/www/tally/tallytips.php on line 82
PHP Notice:  Undefined index: EVaqNaWdUJeru8eRJ5Y1QuH2pirvV4Bc31 in /usr/share/nginx/www/tally/tallytips.php on line 82
PHP Notice:  Undefined index: EeirvLuiQoddCJazniWMXuyNoNYV3euGAD in /usr/share/nginx/www/tally/tallytips.php on line 82
PHP Notice:  Undefined index: EYcqCnPqYWEspVNbNMrnoDchF8SVrc9jJV in /usr/share/nginx/www/tally/tallytips.php on line 82
PHP Notice:  Undefined index: EVdcajnBBAQWGow83knbZ6sgfWApLUNvEX in /usr/share/nginx/www/tally/tallytips.php on line 82
PHP Notice:  Undefined index: ER5MoXnrvowL5c6D2HjHMHgLBzMv259swL in /usr/share/nginx/www/tally/tallytips.php on line 82
PHP Notice:  Undefined index: EQVD7cPE3P4YHisARmnfYUbjU3QoGNJXKk in /usr/share/nginx/www/tally/tallytips.php on line 82
PHP Notice:  Undefined index: EZAiTpcMpqr4qKWtr1uPrRvv12XQHK1PMy in /usr/share/nginx/www/tally/tallytips.php on line 82
PHP Notice:  Undefined index: EPqbSsaaemsPrp2d389CiyURA7z7gcg1hs in /usr/share/nginx/www/tally/tallytips.php on line 82
PHP Notice:  Undefined index: ERR72owfrMDnLMXtM82eW7AkhfwtrJ9PdX in /usr/share/nginx/www/tally/tallytips.php on line 82
PHP Notice:  Undefined index: EcoRSc386PgzGutQFQ2HtxB19i8mU4LZGr in /usr/share/nginx/www/tally/tallytips.php on line 82
31000 (tx# 409187)   32000 (tx# 417046)   PHP Warning:  Invalid argument supplied for foreach() in /usr/share/nginx/www/tally/tallytips.php on line 71
PHP Warning:  Invalid argument supplied for foreach() in /usr/share/nginx/www/tally/tallytips.php on line 75
PHP Warning:  Invalid argument supplied for foreach() in /usr/share/nginx/www/tally/tallytips.php on line 71
PHP Warning:  Invalid argument supplied for foreach() in /usr/share/nginx/www/tally/tallytips.php on line 75
PHP Warning:  Invalid argument supplied for foreach() in /usr/share/nginx/www/tally/tallytips.php on line 71
PHP Warning:  Invalid argument supplied for foreach() in /usr/share/nginx/www/tally/tallytips.php on line 75
PHP Warning:  Invalid argument supplied for foreach() in /usr/share/nginx/www/tally/tallytips.php on line 71
PHP Warning:  Invalid argument supplied for foreach() in /usr/share/nginx/www/tally/tallytips.php on line 75
PHP Warning:  Invalid argument supplied for foreach() in /usr/share/nginx/www/tally/tallytips.php on line 71
PHP Warning:  Invalid argument supplied for foreach() in /usr/share/nginx/www/tally/tallytips.php on line 75
PHP Warning:  Invalid argument supplied for foreach() in /usr/share/nginx/www/tally/tallytips.php on line 71
PHP Warning:  Invalid argument supplied for foreach() in /usr/share/nginx/www/tally/tallytips.php on line 75
PHP Warning:  Invalid argument supplied for foreach() in /usr/share/nginx/www/tally/tallytips.php on line 71
PHP Warning:  Invalid argument supplied for foreach() in /usr/share/nginx/www/tally/tallytips.php on line 75
PHP Warning:  Invalid argument supplied for foreach() in /usr/share/nginx/www/tally/tallytips.php on line 71
PHP Warning:  Invalid argument supplied for foreach() in /usr/share/nginx/www/tally/tallytips.php on line 75
PHP Warning:  Invalid argument supplied for foreach() in /usr/share/nginx/www/tally/tallytips.php on line 66
aborted - 421905 transactions through 398644 unique addresses counted

Then I basically run the command again, it runs again for a couple thousand blocks and then stops. Cue repeating till it tells me there are no more blocks.


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: stolendata on September 21, 2014, 12:14:16 AM
Then I basically run the command again, it runs again for a couple thousand blocks and then stops. Cue repeating till it tells me there are no more blocks.

It definitely looks like your block chain still isn't built with full transaction indexing. Are you sure you set "txindex=1" in the .conf (and saved the file), daemon/wallet shut down, all block chain files and databases deleted, then starting daemon up again?

See what happens if you update that old PHP 5.4 to something new like 5.6.

Add.: yep, you're not doing full transaction indexing. I just synced the Fedoracoin chain again and tallied up to block 31k - it gives me tx# 409538 at 31k blocks, but your log shows tx# 409187.


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: MystPhysX on September 21, 2014, 09:34:59 AM
Then I basically run the command again, it runs again for a couple thousand blocks and then stops. Cue repeating till it tells me there are no more blocks.

It definitely looks like your block chain still isn't built with full transaction indexing. Are you sure you set "txindex=1" in the .conf (and saved the file), daemon/wallet shut down, all block chain files and databases deleted, then starting daemon up again?

See what happens if you update that old PHP 5.4 to something new like 5.6.

Add.: yep, you're not doing full transaction indexing. I just synced the Fedoracoin chain again and tallied up to block 31k - it gives me tx# 409538 at 31k blocks, but your log shows tx# 409187.
Okay let me try that again.


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: MystPhysX on September 21, 2014, 11:35:55 AM
http://pastebin.com/mQhBeWf5

I rebooted the system (no wallet daemons running), deleted all blocks and chainstate, ran the daemon for Deepcoin and confirmed it was redownloading blocks, ran tally.php and still got the same error.

Current Deepcoin.conf:

Quote
rpcuser=deepcoinrpc
rpcpassword=CjpsPgaiduokE6wWmYkA9iTPnS2FFp5aTbxKEgEFaTZz
daemon=1
rpcallowip=127.0.0.1
txindex=1
listen=1

I'll try updating to php 5.6 next.


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: stolendata on September 21, 2014, 11:57:11 AM
I'll try updating to php 5.6 next.

Or even updating that old 5.4.4 to the latest 5.4 might do the trick. 5.4.30 or so is the latest build, so I suspect some old bug in 5.4.4 is getting in your way.


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: MystPhysX on September 21, 2014, 01:35:10 PM
I'll try updating to php 5.6 next.

Or even updating that old 5.4.4 to the latest 5.4 might do the trick. 5.4.30 or so is the latest build, so I suspect some old bug in 5.4.4 is getting in your way.
Okay I installed php 5.5:

PHP 5.5.17-1~dotdeb.1 (cli) (built: Sep 19 2014 01:56:56)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
    with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2014, by Zend Technologies


Deleted all blockchain info and started over, same .conf same error. I have php5-cli php5-common php5-curl php5-fpm php5-mysql installed. Am I missing anything? I'll give you root access to my vps if I can get you to troubleshoot.

BTW RPC-Ace runs beautifully, I don't have any problems with it.


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: HotSwap on September 21, 2014, 03:42:08 PM
http://pastebin.com/mQhBeWf5

I rebooted the system (no wallet daemons running), deleted all blocks and chainstate, ran the daemon for Deepcoin and confirmed it was redownloading blocks, ran tally.php and still got the same error.

Current Deepcoin.conf:

Quote
rpcuser=deepcoinrpc
rpcpassword=CjpsPgaiduokE6wWmYkA9iTPnS2FFp5aTbxKEgEFaTZz
daemon=1
rpcallowip=127.0.0.1
txindex=1
listen=1

I'll try updating to php 5.6 next.

Could try adding server=1


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: stolendata on September 21, 2014, 03:47:39 PM
Deleted all blockchain info and started over, same .conf same error. I have php5-cli php5-common php5-curl php5-fpm php5-mysql installed. Am I missing anything? I'll give you root access to my vps if I can get you to troubleshoot.

BTW RPC-Ace runs beautifully, I don't have any problems with it.

If you set up a user who is a "sudoer" I can take a look. Just message me with the details.


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: MystPhysX on September 21, 2014, 03:49:14 PM
http://pastebin.com/mQhBeWf5

I rebooted the system (no wallet daemons running), deleted all blocks and chainstate, ran the daemon for Deepcoin and confirmed it was redownloading blocks, ran tally.php and still got the same error.

Current Deepcoin.conf:

Quote
rpcuser=deepcoinrpc
rpcpassword=CjpsPgaiduokE6wWmYkA9iTPnS2FFp5aTbxKEgEFaTZz
daemon=1
rpcallowip=127.0.0.1
txindex=1
listen=1

I'll try updating to php 5.6 next.

Could try adding server=1
Didn't make a difference, thanks though.

Deleted all blockchain info and started over, same .conf same error. I have php5-cli php5-common php5-curl php5-fpm php5-mysql installed. Am I missing anything? I'll give you root access to my vps if I can get you to troubleshoot.

BTW RPC-Ace runs beautifully, I don't have any problems with it.

If you set up a user who is a "sudoer" I can take a look. Just message me with the details.

Sweet, let me set that up.


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: MystPhysX on September 24, 2014, 01:39:06 PM
Same exact problem on my Mac.

PHP 5.6.0 (cli) (built: Sep 24 2014 18:20:14)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2014 Zend Technologies


Can I get one of you guys who isn't having the issue to tell me what php version and modules they have installed?


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: penambang on September 24, 2014, 02:18:14 PM
Same exact problem on my Mac.

PHP 5.6.0 (cli) (built: Sep 24 2014 18:20:14)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2014 Zend Technologies


Can I get one of you guys who isn't having the issue to tell me what php version and modules they have installed?

Here is mine:

Code:
penambang@host:~/rpc-ace/extras$ php -v
PHP 5.5.9-1ubuntu4.4 (cli) (built: Sep  4 2014 06:57:30)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
    with Zend OPcache v7.0.3, Copyright (c) 1999-2014, by Zend Technologies

penambang@host:~/rpc-ace/extras$ php -m
[PHP Modules]
bcmath
bz2
calendar
Core
ctype
curl
date
dba
dom
ereg
exif
fileinfo
filter
ftp
gettext
hash
iconv
json
libxml
mbstring
mhash
openssl
pcntl
pcre
PDO
Phar
posix
readline
Reflection
session
shmop
SimpleXML
soap
sockets
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
xmlreader
xmlwriter
Zend OPcache
zip
zlib

[Zend Modules]
Zend OPcache

Working fine generating TIPS richlist wallet.


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: stolendata on September 24, 2014, 04:43:16 PM
Same exact problem on my Mac.

PHP 5.6.0 (cli) (built: Sep 24 2014 18:20:14)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2014 Zend Technologies


Can I get one of you guys who isn't having the issue to tell me what php version and modules they have installed?

Fedoracoin tallies perfectly for me on OS X 10.9 with PHP 5.4 and 5.6, and on Linux Mint with PHP 5.5. The extensions required are JSON and CURL, no more. Are you using the latest version of easybitcoin.php, from the link I provide on my RPC Ace github repository?

I'm starting to think your computer equipment is cursed with bad luck :-\


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: MystPhysX on September 24, 2014, 05:14:49 PM
Same exact problem on my Mac.

PHP 5.6.0 (cli) (built: Sep 24 2014 18:20:14)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2014 Zend Technologies


Can I get one of you guys who isn't having the issue to tell me what php version and modules they have installed?

Fedoracoin tallies perfectly for me on OS X 10.9 with PHP 5.4 and 5.6, and on Linux Mint with PHP 5.5. The extensions required are JSON and CURL, no more. Are you using the latest version of easybitcoin.php, from the link I provide on my RPC Ace github repository?

I'm starting to think your computer equipment is cursed with bad luck :-\
Yes to both. JSON support is enabled and version 1.2.1. I compiled --with-curl as well. I'm using the easybitcoin.php version which you linked to. I'm sorry man, I don't want to make it look like everyone is having this issue but it's strange that I'm having the problem on a VPS and my personal mac. I really must be missing something else.


Are you using homebrew? If so can you give me a list of stuff you installed? I've got php56 --with-curl, php56-pcntl and curl.


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: stolendata on September 24, 2014, 05:52:43 PM
Fedoracoin tallies perfectly for me on OS X 10.9 with PHP 5.4 and 5.6, and on Linux Mint with PHP 5.5. The extensions required are JSON and CURL, no more. Are you using the latest version of easybitcoin.php, from the link I provide on my RPC Ace github repository?

I'm starting to think your computer equipment is cursed with bad luck :-\
Yes to both. JSON support is enabled and version 1.2.1. I compiled --with-curl as well. I'm using the easybitcoin.php version which you linked to. I'm sorry man, I don't want to make it look like everyone is having this issue but it's strange that I'm having the problem on a VPS and my personal mac. I really must be missing something else.

Are you using homebrew? If so can you give me a list of stuff you installed? I've got php56 --with-curl, php56-pcntl and curl.

No, not using homebrew. On OS X I am using both the PHP 5.4 build that is part of the OS X developer suite, and my own PHP 5.6 build. Both work identically and both run tally.php for Fedoracoin and all other coins I test just fine - just as when I test RPC Ace/tally on Linux Mint.

The modules and configuration options PHP is built with are irrelevant in this case as nothing in RPC Ace or tally.php depends on that. The only thing that matters is that JSON and CURL support is available (required by easybitcoin.php), and that you're running PHP 5.4 at minimum.

I'm out of clues, too. When you run tally.php on OS X, do you get the same erratic and random behavior I noticed on your VPS, where the daemon sometimes respond to RPC calls and sometimes not?


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: MystPhysX on September 24, 2014, 06:04:02 PM
Fedoracoin tallies perfectly for me on OS X 10.9 with PHP 5.4 and 5.6, and on Linux Mint with PHP 5.5. The extensions required are JSON and CURL, no more. Are you using the latest version of easybitcoin.php, from the link I provide on my RPC Ace github repository?

I'm starting to think your computer equipment is cursed with bad luck :-\
Yes to both. JSON support is enabled and version 1.2.1. I compiled --with-curl as well. I'm using the easybitcoin.php version which you linked to. I'm sorry man, I don't want to make it look like everyone is having this issue but it's strange that I'm having the problem on a VPS and my personal mac. I really must be missing something else.

Are you using homebrew? If so can you give me a list of stuff you installed? I've got php56 --with-curl, php56-pcntl and curl.
I'm out of clues, too. When you run tally.php on OS X, do you get the same erratic and random behavior I noticed on your VPS, where the daemon sometimes respond to RPC calls and sometimes not?
Yes

With both the default 5.4 and homebrew's 5.6


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: stolendata on September 24, 2014, 06:32:45 PM
I'm out of clues, too. When you run tally.php on OS X, do you get the same erratic and random behavior I noticed on your VPS, where the daemon sometimes respond to RPC calls and sometimes not?
Yes

With both the default 5.4 and homebrew's 5.6

Mhm... I'm all dried up on ideas. I can't manage to reproduce this problem on OS X or any version of Mint, Arch or Debian no matter what I try, not with Fedoracoin or any other cryptocurrency.


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: h0lybyte on September 24, 2014, 06:36:43 PM
I would love an option to allow the output to be in JSON form, so people can use as a makeshift API :O


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: stolendata on September 24, 2014, 06:38:50 PM
I would love an option to allow the output to be in JSON form, so people can use as a makeshift API :O

It's already in my TO-DO list :) Can't quite say when I'll get around to release it, though, but it's coming.


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: h0lybyte on September 24, 2014, 06:51:06 PM
Is it fully open source?
I was looking at your github and noticed it was requiring files that you dont have up there..

I am down to do the JSON for you, probably this weekend (if its all open source).


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: stolendata on September 24, 2014, 06:59:06 PM
Is it fully open source?
I was looking at your github and noticed it was requiring files that you dont have up there..

I am down to do the JSON for you, probably this weekend (if its all open source).

It's all open source. Easybitcoin is an external dependency and doesn't affect RPC Ace's status. Fork as you want, as long as the license is respected.


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: brian_nguyen on September 25, 2014, 04:53:33 PM
Is it fully open source?
I was looking at your github and noticed it was requiring files that you dont have up there..

I am down to do the JSON for you, probably this weekend (if its all open source).

It's all open source. Easybitcoin is an external dependency and doesn't affect RPC Ace's status. Fork as you want, as long as the license is respected.

Looks good and thanks for sharing.


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: hardforkcoin on October 11, 2014, 08:19:13 AM
Website running this explorer --

http://explorer.hardforkcoin.org/


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: burnbabyburn71 on October 11, 2014, 01:01:44 PM
I don't have a dedicated VPS, but I do have a basic web host. I am trying to run a RPC Ace blockchain explorer by keeping the php files on my web host and the cryptocurrency wallet on my desktop that runs Windows 7 at home. So the RPC Ace on my web host will connect to my wallet at home and get the data like that. I'm pretty sure I configured everything correctly but RPC Ace will not connect to my wallet. The webpage is http://leechrisbrown.com/deepcoin/rpcace.php

First of all, is what I'm trying to do actually possible? If so, what am I doing wrong here? Am I missing something?

.conf file for deepcoin wallet on my desktop (the wallet is always open on my desktop):

Code:
rpcuser=user
rpcpassword=pass
rpcallowip= The Shared IP Address found on CPanel on my webhost
rpcthreads=1
port=22871
rpcport=22872
server=1
listen=1
txindex=1


and in rpcace.php on my web host:

Code:
$rpcHost = my ipv4 address found in ipconfig;
$rpcPort = 22872;
$rpcUser = 'user';
$rpcPass = 'pass';
$coinName = 'Deepcoin';

Thanks


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: MystPhysX on October 11, 2014, 01:42:35 PM
I don't have a dedicated VPS, but I do have a basic web host. I am trying to run a RPC Ace blockchain explorer by keeping the php files on my web host and the cryptocurrency wallet on my desktop that runs Windows 7 at home. So the RPC Ace on my web host will connect to my wallet at home and get the data like that. I'm pretty sure I configured everything correctly but RPC Ace will not connect to my wallet. The webpage is http://leechrisbrown.com/deepcoin/rpcace.php

First of all, is what I'm trying to do actually possible? If so, what am I doing wrong here? Am I missing something?

.conf file for deepcoin wallet on my desktop (the wallet is always open on my desktop):

Code:
rpcuser=user
rpcpassword=pass
rpcallowip= The Shared IP Address found on CPanel on my webhost
rpcthreads=1
port=22871
rpcport=22872
server=1
listen=1
txindex=1


and in rpcace.php on my web host:

Code:
$rpcHost = my ipv4 address found in ipconfig;
$rpcPort = 22872;
$rpcUser = 'user';
$rpcPass = 'pass';
$coinName = 'Deepcoin';

Thanks
Usernames and passwords that are too short don't seem to register. Try something like:

rpcuser=fedoracoinrpc
rpcpassword=7ydepugKcPc8mutWQgnzDKeN9HSFw6gnuvPUCAzZrvnD




Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: burnbabyburn71 on October 11, 2014, 02:05:10 PM
Usernames and passwords that are too short don't seem to register. Try something like:

rpcuser=fedoracoinrpc
rpcpassword=7ydepugKcPc8mutWQgnzDKeN9HSFw6gnuvPUCAzZrvnD

Hmm, doesn't seem to be working, I literally used the username and password you gave me.

I get "Failed to connect. Check your coin's .conf file and your RPC parameters."


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: MystPhysX on October 11, 2014, 02:22:42 PM
Usernames and passwords that are too short don't seem to register. Try something like:

rpcuser=fedoracoinrpc
rpcpassword=7ydepugKcPc8mutWQgnzDKeN9HSFw6gnuvPUCAzZrvnD

Hmm, doesn't seem to be working, I literally used the username and password you gave me.

I get "Failed to connect. Check your coin's .conf file and your RPC parameters."
Port forwarded?


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: stolendata on October 11, 2014, 05:21:58 PM
I don't have a dedicated VPS, but I do have a basic web host. I am trying to run a RPC Ace blockchain explorer by keeping the php files on my web host and the cryptocurrency wallet on my desktop that runs Windows 7 at home. So the RPC Ace on my web host will connect to my wallet at home and get the data like that. I'm pretty sure I configured everything correctly but RPC Ace will not connect to my wallet. The webpage is http://leechrisbrown.com/deepcoin/rpcace.php

First of all, is what I'm trying to do actually possible? If so, what am I doing wrong here? Am I missing something?

Yes, it's doable. That you can't connect could be because your coin client's RPC port might not be accessible externally - maybe you have forgotten to forward the port through your router and/or firewall on your PC. It could also be due to your web host blocking certain outgoing traffic from their PHP component, which is a pretty common practice among shared web hosts in order to avoid certain abuse.

Here's a simple test you can do to see if at least SOME outgoing traffic is allowed:

Code:
<?php
echo file_get_contents'http://stolendata.net/' );
?>



and in rpcace.php on my web host:

Code:
$rpcHost = my ipv4 address found in ipconfig;
$rpcPort = 22872;
$rpcUser = 'user';
$rpcPass = 'pass';
$coinName = 'Deepcoin';

I have to ask, you are quoting that IP in apostrophes or quotation marks, right? Like so: '1.2.3.4';

Also, are you sure your PC isn't connected to a local network, meaning the IP you see with ipconfig is something like 192.168.x.x, 10.x.x.x? If so, you can get your real external IP from sites like http://www.whatsmyip.org/ and similar.


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: MystPhysX on October 11, 2014, 05:28:17 PM
He was putting his internal ip into the rpcPort field in rpcace.php.


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: stolendata on October 11, 2014, 05:29:43 PM
He was putting his internal ip into the rpcPort field in rpcace.php.

Ah. Yeah I almost suspected that, just added that to my questions before you posted. I hope he got everything sorted out now.


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: hardforkcoin on October 12, 2014, 05:38:23 PM
A search feature will be useful.

Search by TXid (yes it does work with the wallets using getrawtransaction), block number (separate), block hash.


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: SirLolicon on October 12, 2014, 05:40:17 PM
it looks quite simple indeed.
lives up to its purpose :) I like it


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: MystPhysX on October 13, 2014, 12:15:23 PM
it looks quite simple indeed.
lives up to its purpose :) I like it
How many people know what your name means?


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: getSpark on October 13, 2014, 07:57:46 PM
Does this support outputting in a JSON format, saw someone post about it a page or so ago unsure if it has/will be added?

Loving the work so far by the way!


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: stolendata on October 13, 2014, 08:54:05 PM
Does this support outputting in a JSON format, saw someone post about it a page or so ago unsure if it has/will be added?

Loving the work so far by the way!

Next release will have the JSON output feature. I'm completely swamped with work at the moment so I can't say when, but it's coming.


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: getSpark on October 13, 2014, 09:40:53 PM
Does this support outputting in a JSON format, saw someone post about it a page or so ago unsure if it has/will be added?

Loving the work so far by the way!

Next release will have the JSON output feature. I'm completely swamped with work at the moment so I can't say when, but it's coming.

Awesome work! Great to hear, looking forward to it.


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: akk123 on November 04, 2014, 05:44:37 PM
I am trying tally.php with viacoin but script aborts after 1200 blocks. I am wondering if someone help me on this. Viacoin didnt issue any coins in first 10000 block apart from 1st block with 10 million premine. I am thinking if there is a limit for empty rpc calls. Thanks in advance.

xxxx@ubuntu:/var/www/html/rpc-ace-via/extras$ php tally.php tally.txt373652 blocks ... 1000 (tx# 999)   1200 (tx# 1199)   PHP Warning:  Invalid argument supplied for foreach() in /var/www/html/rpc-ace-via/extras/tally.php on line 56
aborted - 1199 transactions through 1 unique addresses counted




Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: MystPhysX on November 05, 2014, 05:14:04 AM
I am trying tally.php with viacoin but script aborts after 1200 blocks. I am wondering if someone help me on this. Viacoin didnt issue any coins in first 10000 block apart from 1st block with 10 million premine. I am thinking if there is a limit for empty rpc calls. Thanks in advance.

xxxx@ubuntu:/var/www/html/rpc-ace-via/extras$ php tally.php tally.txt373652 blocks ... 1000 (tx# 999)   1200 (tx# 1199)   PHP Warning:  Invalid argument supplied for foreach() in /var/www/html/rpc-ace-via/extras/tally.php on line 56
aborted - 1199 transactions through 1 unique addresses counted



Same error maybe a page back, dev is not sure about what the problem is but I hope he can figure it out for you.


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: stolendata on November 06, 2014, 03:04:25 PM
I am trying tally.php with viacoin but script aborts after 1200 blocks. I am wondering if someone help me on this. Viacoin didnt issue any coins in first 10000 block apart from 1st block with 10 million premine. I am thinking if there is a limit for empty rpc calls. Thanks in advance.

xxxx@ubuntu:/var/www/html/rpc-ace-via/extras$ php tally.php tally.txt373652 blocks ... 1000 (tx# 999)   1200 (tx# 1199)   PHP Warning:  Invalid argument supplied for foreach() in /var/www/html/rpc-ace-via/extras/tally.php on line 56
aborted - 1199 transactions through 1 unique addresses counted

I tried tallying Viacoin on my dev system (PHP5.6/OS X) and my two test systems (PHP5.6/FreeBSD and PHP5.5.4/Mint~Ubuntu) and it works perfectly on all three setups, no hiccups:

Code:
380101 blocks ... 1000 (tx# 999)   2000 (tx# 1999)   3000 (tx# 2999)
...
379000 (tx# 483117)   380000 (tx# 484442)   done! 484569 transactions through 96909 unique addresses counted
 
VbWdvrSjUcNmXbzcV8RoM1NmJNGXLk6f8h 2500000
VvFp7K6JH2tpEdCWDqKoZSHYFPzCYpQHRE 1500000.018
Via2XCHoqQxACVuXf4vrajVDJetwVgxLMz 1087512.7926959
Vi1CCHqqeAwxaKTmvLeY9FVNG4QMW1GFex 507061.96643365
VboG1dsDJfFD83M6fMtftfLfMXmLEe5KQV 254000
VutuLs7wbpWbmHby7gZVtL18FRvi3Jc34e 253399.998
VaXuoUBVpN671ynbNQ4Lno86MEfYXhqn76 204856.8025629
VbckMJ2iuWs9QCwtHAnUczZKTyqfgJ6jtJ 200000
Vn6XAtzqpYbWdpsVPGMAma8HivZo9vd3t4 199449.998
VqPrpeAYGGrkDtWqZ7i71LrnaQhaAH5di3 186871.35337862
Vkco4M3ZagejS8LAzXWh14D2B3L1sGi1ZG 179439.61787044
...

I'm not sure what "empty RPC calls" mean. Inspecting individual blocks in the Viacoin chain I don't see anything out of the ordinary. All blocks (including blocks 1-9999) contain coinbases and legitimate transactions with inputs and outputs, and even if they amount to 0 coins this doesn't affect anything.

With the risk of sounding like a broken record, I suspect that you didn't build the block chain with full transaction indexing from the start, as the instructions demand. It's not enough to just add "txindex=1" in your viacoin.conf and start the daemon/wallet up again - you need to remove the entire block chain and rebuild it from scratch, from block 0, with txindex=1 set already from the start.


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: akk123 on November 06, 2014, 04:45:21 PM
I am trying tally.php with viacoin but script aborts after 1200 blocks. I am wondering if someone help me on this. Viacoin didnt issue any coins in first 10000 block apart from 1st block with 10 million premine. I am thinking if there is a limit for empty rpc calls. Thanks in advance.

xxxx@ubuntu:/var/www/html/rpc-ace-via/extras$ php tally.php tally.txt373652 blocks ... 1000 (tx# 999)   1200 (tx# 1199)   PHP Warning:  Invalid argument supplied for foreach() in /var/www/html/rpc-ace-via/extras/tally.php on line 56
aborted - 1199 transactions through 1 unique addresses counted

I tried tallying Viacoin on my dev system (PHP5.6/OS X) and my two test systems (PHP5.6/FreeBSD and PHP5.5.4/Mint~Ubuntu) and it works perfectly on all three setups, no hiccups:

Code:
380101 blocks ... 1000 (tx# 999)   2000 (tx# 1999)   3000 (tx# 2999)
...
379000 (tx# 483117)   380000 (tx# 484442)   done! 484569 transactions through 96909 unique addresses counted
 
VbWdvrSjUcNmXbzcV8RoM1NmJNGXLk6f8h 2500000
VvFp7K6JH2tpEdCWDqKoZSHYFPzCYpQHRE 1500000.018
Via2XCHoqQxACVuXf4vrajVDJetwVgxLMz 1087512.7926959
Vi1CCHqqeAwxaKTmvLeY9FVNG4QMW1GFex 507061.96643365
VboG1dsDJfFD83M6fMtftfLfMXmLEe5KQV 254000
VutuLs7wbpWbmHby7gZVtL18FRvi3Jc34e 253399.998
VaXuoUBVpN671ynbNQ4Lno86MEfYXhqn76 204856.8025629
VbckMJ2iuWs9QCwtHAnUczZKTyqfgJ6jtJ 200000
Vn6XAtzqpYbWdpsVPGMAma8HivZo9vd3t4 199449.998
VqPrpeAYGGrkDtWqZ7i71LrnaQhaAH5di3 186871.35337862
Vkco4M3ZagejS8LAzXWh14D2B3L1sGi1ZG 179439.61787044
...

I'm not sure what "empty RPC calls" mean. Inspecting individual blocks in the Viacoin chain I don't see anything out of the ordinary. All blocks (including blocks 1-9999) contain coinbases and legitimate transactions with inputs and outputs, and even if they amount to 0 coins this doesn't affect anything.

With the risk of sounding like a broken record, I suspect that you didn't build the block chain with full transaction indexing from the start, as the instructions demand. It's not enough to just add "txindex=1" in your viacoin.conf and start the daemon/wallet up again - you need to remove the entire block chain and rebuild it from scratch, from block 0, with txindex=1 set already from the start.

Thanks for the reply. I will try again with your recommendations.


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: stolendata on November 06, 2014, 06:14:49 PM
Thanks for the reply. I will try again with your recommendations.

Let me know how it works out. If you can't get it to work, let me know the details of your PHP environment, your viacoin.conf and so on and we might be able to figure out what's wrong.


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: akk123 on November 07, 2014, 07:31:04 AM
Thanks for the reply. I will try again with your recommendations.

Let me know how it works out. If you can't get it to work, let me know the details of your PHP environment, your viacoin.conf and so on and we might be able to figure out what's wrong.
Yes thanks again. I did re-downloaded blockchain. It took less than half an hour and all blockchain was parsed without a hitch.


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: stolendata on December 24, 2014, 11:25:55 PM
RPC Ace v0.7.0 released, introducing optional JSON output and a bit more accurate detection of hashrate and PoS difficulty/stake. This update allows for removing the example block explorer in order to just get PHP array or JSON output for working with the block chain data in other ways - just don't forget to credit the author ;)
 
https://github.com/stolendata/rpc-ace
 
Merry christmas, crypto pioneers.


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: hardforkcoin on January 26, 2015, 06:25:01 AM
Can you specify the tally.php php compile time requirements?

I get
Code:
PHP Warning:  Unknown: Unable to find the wrapper "php" - did you forget to enable it when you configured PHP? in Unknown on line 0

Warning: Unknown: Unable to find the wrapper "php" - did you forget to enable it when you configured PHP? in Unknown on line 0
PHP Warning:  Unknown: Unable to find the wrapper "php" - did you forget to enable it when you configured PHP? in Unknown on line 0

Warning: Unknown: Unable to find the wrapper "php" - did you forget to enable it when you configured PHP? in Unknown on line 0
PHP Warning:  Unknown: Unable to find the wrapper "php" - did you forget to enable it when you configured PHP? in Unknown on line 0

Warning: Unknown: Unable to find the wrapper "php" - did you forget to enable it when you configured PHP? in Unknown on line 0


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: hardforkcoin on January 26, 2015, 09:30:42 AM
These are the USE flags required for Gentoo's PHP install

cli curl filter gd hash json pcntl posix readline sockets unicode xml zlib


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: stolendata on January 27, 2015, 05:17:11 PM
Can you specify the tally.php php compile time requirements?

I get
Code:
PHP Warning:  Unknown: Unable to find the wrapper "php" - did you forget to enable it when you configured PHP? in Unknown on line 0

Warning: Unknown: Unable to find the wrapper "php" - did you forget to enable it when you configured PHP? in Unknown on line 0
PHP Warning:  Unknown: Unable to find the wrapper "php" - did you forget to enable it when you configured PHP? in Unknown on line 0

Warning: Unknown: Unable to find the wrapper "php" - did you forget to enable it when you configured PHP? in Unknown on line 0
PHP Warning:  Unknown: Unable to find the wrapper "php" - did you forget to enable it when you configured PHP? in Unknown on line 0

Warning: Unknown: Unable to find the wrapper "php" - did you forget to enable it when you configured PHP? in Unknown on line 0

This is because your PHP CLI component isn't working as it should. I suspect you are using PHP-Pear, and not the regular PHP? Also, keep in mind that RPC Ace and tally.php requires PHP 5.4 or later.


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: sp00lin9 on March 18, 2015, 05:38:17 PM
Code:
PHP Notice:  Use of undefined constant user123 - assumed 'user123' in /var/www/html/easybitcoin.php on line 93
PHP Notice:  Use of undefined constant password123 - assumed 'password123' in /var/www/html/easybitcoin.php on line 94
PHP Notice:  Undefined index: num_blocks in /var/www/html/rpcace.php on line 164

I dont understand which part of easybitcoin im supposed to edit ?


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: stolendata on March 22, 2015, 10:23:58 PM
Code:
PHP Notice:  Use of undefined constant user123 - assumed 'user123' in /var/www/html/easybitcoin.php on line 93
PHP Notice:  Use of undefined constant password123 - assumed 'password123' in /var/www/html/easybitcoin.php on line 94
PHP Notice:  Undefined index: num_blocks in /var/www/html/rpcace.php on line 164

I dont understand which part of easybitcoin im supposed to edit ?

You're not supposed to change anything in easybitcoin.php - all tunable parameters are in rpcace.php. From the looks of it you have accidentally broken the syntax in rpcace.php, probably by removing a single quote or a semicolon:

private static $rpcUser = 'user123'; <- note the single quotes on both sides of 'user123', and the semicolon at the end of the line.


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: GTX980Power on March 29, 2015, 11:35:25 PM
Code:
PHP Notice:  Undefined index: num_blocks in /var/www/rpcace.php on line 164

Anyone else have this issue?


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: stolendata on March 30, 2015, 02:13:12 PM
Code:
PHP Notice:  Undefined index: num_blocks in /var/www/rpcace.php on line 164

Anyone else have this issue?

I presume that underneath it also says "failed to connect"? The problem is that RPC Ace can't reach your wallet/node. Make sure the username, password, IP and port is correct (and that the port is reachable in case the wallet/node is on a different computer), and make sure your wallet/node's .conf contains "server=1" so that it accepts RPC requests.


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: @boutiuqe on June 19, 2015, 06:28:51 AM
I try but it show blank page.
What am i doing wrong?


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: @boutiuqe on June 19, 2015, 03:02:41 PM
PHP Parse error:  syntax error, unexpected '[' in /var/public_html/5/rpcace.php on line 35

anyone ?



Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: hamburger on June 19, 2015, 10:13:36 PM
PHP Parse error:  syntax error, unexpected '[' in /var/public_html/5/rpcace.php on line 35
anyone ?

Your code on line 35 in rpcace.php should look like this;

Code:
private static $blockFields = [ 'hash', 'nextblockhash', 'previousblockhash', 'confirmations', 'size', 'height', 'version', 'merkleroot', 'time', 'nonce', 'bits', 'difficulty', 'mint', 'proofhash' ];

if you can not find the bracket "[" that is out of place, look at a few lines before line 35.

If that fail, just replace the file with a copy from the original and make sure that you only change the required variables leaving the rest of the file in tact.





Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: stolendata on June 20, 2015, 11:20:44 AM
PHP Parse error:  syntax error, unexpected '[' in /var/public_html/5/rpcace.php on line 35

anyone ?

I suspect you accidentally removed a parenthesis, apostrophe or semicolon from the rows of defines further up when configuring RPC Ace, or in the require_once() statement referencing easybitcoin.php.


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: stolendata on December 06, 2015, 11:32:48 PM
RPC Ace v0.8.0 released, adding optional database storage for faster page generation and reduced burden on the coin daemon, a bit cleaner configuration syntax, and a slightly touched-up version of the example explorer. The database storage is currently rather simplistic, but lays the groundwork for future versions of RPC Ace that will offer transaction/block/address searches and more.

https://github.com/stolendata/rpc-ace

https://i.imgur.com/O5oLZSa.jpg
 


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: jacko0088 on April 03, 2016, 11:03:11 AM
Hi mate, thank you for sharing!
But I can`t find a way to get the db working, can you please help me? :(


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: stolendata on April 04, 2016, 06:09:12 PM
Hi mate, thank you for sharing!
But I can`t find a way to get the db working, can you please help me? :(

Sure. Can you give me any details on errors or so?

For starters you need to give the web server write access to the filename you configure in the DB_FILE parameter, either by making the file itself writable by the web server process, or making the entire directory RPC Ace is located in writable - the first method is preferred. I suspect you may not be used to working in a shell environment, so the simlpest solution in your case is to create an empty file using f.e. Notepad, give it the same name as the filename you set in DB_FILE, upload it to the same dir as RPC Ace, right-click it in your ftp client and look at the file's properties/info and you should see a set of permission flags indicating user/group/other, read/write/execute - click the check box that indicates that the file will be writable by "other", and then give RPC Ace a try again.


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: jacko0088 on April 05, 2016, 09:02:25 PM
Hi mate, thank you for sharing!
But I can`t find a way to get the db working, can you please help me? :(

Sure. Can you give me any details on errors or so?

For starters you need to give the web server write access to the filename you configure in the DB_FILE parameter, either by making the file itself writable by the web server process, or making the entire directory RPC Ace is located in writable - the first method is preferred. I suspect you may not be used to working in a shell environment, so the simlpest solution in your case is to create an empty file using f.e. Notepad, give it the same name as the filename you set in DB_FILE, upload it to the same dir as RPC Ace, right-click it in your ftp client and look at the file's properties/info and you should see a set of permission flags indicating user/group/other, read/write/execute - click the check box that indicates that the file will be writable by "other", and then give RPC Ace a try again.

Got it! Thank you!  :)


Title: Re: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative
Post by: mrankin on June 23, 2017, 04:58:58 AM
Did anyone ever get search functionality running with this?