Bitcoin Forum
May 02, 2024, 01:50:22 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 [3] 4 5 6 »  All
  Print  
Author Topic: [ANNOUNCE] RPC Ace - a simple cut-down block explorer alternative  (Read 15644 times)
MystPhysX
Hero Member
*****
Offline Offline

Activity: 597
Merit: 500


View Profile
September 20, 2014, 07:49:11 PM
 #41

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.

1714614622
Hero Member
*
Offline Offline

Posts: 1714614622

View Profile Personal Message (Offline)

Ignore
1714614622
Reply with quote  #2

1714614622
Report to moderator
1714614622
Hero Member
*
Offline Offline

Posts: 1714614622

View Profile Personal Message (Offline)

Ignore
1714614622
Reply with quote  #2

1714614622
Report to moderator
1714614622
Hero Member
*
Offline Offline

Posts: 1714614622

View Profile Personal Message (Offline)

Ignore
1714614622
Reply with quote  #2

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

Posts: 1714614622

View Profile Personal Message (Offline)

Ignore
1714614622
Reply with quote  #2

1714614622
Report to moderator
1714614622
Hero Member
*
Offline Offline

Posts: 1714614622

View Profile Personal Message (Offline)

Ignore
1714614622
Reply with quote  #2

1714614622
Report to moderator
1714614622
Hero Member
*
Offline Offline

Posts: 1714614622

View Profile Personal Message (Offline)

Ignore
1714614622
Reply with quote  #2

1714614622
Report to moderator
stolendata (OP)
Sr. Member
****
Offline Offline

Activity: 264
Merit: 250


View Profile
September 20, 2014, 10:01:20 PM
 #42

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.
MystPhysX
Hero Member
*****
Offline Offline

Activity: 597
Merit: 500


View Profile
September 20, 2014, 11:45:48 PM
 #43

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? :/

stolendata (OP)
Sr. Member
****
Offline Offline

Activity: 264
Merit: 250


View Profile
September 20, 2014, 11:56:03 PM
 #44

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?
MystPhysX
Hero Member
*****
Offline Offline

Activity: 597
Merit: 500


View Profile
September 21, 2014, 12:06:58 AM
 #45

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

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.

stolendata (OP)
Sr. Member
****
Offline Offline

Activity: 264
Merit: 250


View Profile
September 21, 2014, 12:14:16 AM
Last edit: September 21, 2014, 01:38:53 AM by stolendata
 #46

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.
MystPhysX
Hero Member
*****
Offline Offline

Activity: 597
Merit: 500


View Profile
September 21, 2014, 09:34:59 AM
 #47

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.

MystPhysX
Hero Member
*****
Offline Offline

Activity: 597
Merit: 500


View Profile
September 21, 2014, 11:35:55 AM
 #48

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.

stolendata (OP)
Sr. Member
****
Offline Offline

Activity: 264
Merit: 250


View Profile
September 21, 2014, 11:57:11 AM
 #49

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.
MystPhysX
Hero Member
*****
Offline Offline

Activity: 597
Merit: 500


View Profile
September 21, 2014, 01:35:10 PM
Last edit: September 21, 2014, 02:47:10 PM by MystPhysX
 #50

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.

HotSwap
Hero Member
*****
Offline Offline

Activity: 806
Merit: 1000


COINMIXER.NET


View Profile
September 21, 2014, 03:42:08 PM
 #51

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

High Volume, Secure Bitcoin Mixer: https://CoinMixer.net
stolendata (OP)
Sr. Member
****
Offline Offline

Activity: 264
Merit: 250


View Profile
September 21, 2014, 03:47:39 PM
 #52

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.
MystPhysX
Hero Member
*****
Offline Offline

Activity: 597
Merit: 500


View Profile
September 21, 2014, 03:49:14 PM
 #53

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.

MystPhysX
Hero Member
*****
Offline Offline

Activity: 597
Merit: 500


View Profile
September 24, 2014, 01:39:06 PM
 #54

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?

penambang
Hero Member
*****
Offline Offline

Activity: 548
Merit: 501


View Profile WWW
September 24, 2014, 02:18:14 PM
 #55

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

Activity: 264
Merit: 250


View Profile
September 24, 2014, 04:43:16 PM
 #56

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 Undecided
MystPhysX
Hero Member
*****
Offline Offline

Activity: 597
Merit: 500


View Profile
September 24, 2014, 05:14:49 PM
 #57

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 Undecided
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.

stolendata (OP)
Sr. Member
****
Offline Offline

Activity: 264
Merit: 250


View Profile
September 24, 2014, 05:52:43 PM
 #58

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 Undecided
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?
MystPhysX
Hero Member
*****
Offline Offline

Activity: 597
Merit: 500


View Profile
September 24, 2014, 06:04:02 PM
 #59

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 Undecided
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

stolendata (OP)
Sr. Member
****
Offline Offline

Activity: 264
Merit: 250


View Profile
September 24, 2014, 06:32:45 PM
 #60

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.
Pages: « 1 2 [3] 4 5 6 »  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!