Pages:
Author

Topic: CryptoCoin Explorer - Coin Block Explorers. - page 19. (Read 30831 times)

legendary
Activity: 1064
Merit: 1000
Freicoin explorer source is now published:

https://github.com/Hartland/ABE_for_FRC
legendary
Activity: 1064
Merit: 1000
I have decided to publish the source code to the explorers on Github. I do this in the spirit of open source and to encourage others to make suggestions and improve upon them.

1st one published is the PPC explorer:

https://github.com/Hartland/ABE_for_PPC

I have little experience with publishing on Github, so I am making the explorer code a new repository as forking from jtobey's repository and implementing the changes just got too confusing.

However I still want to make sure John Tobey gets the credit for the ABE project.  https://github.com/jtobey/bitcoin-abe

I will keep everybody updated as I publish the other two explorers.  Smiley
legendary
Activity: 1064
Merit: 1000
The Terracoin explorer will be down for awhile.

I am getting some new errors I have not seen before and it is making the explorer crash quite often.


The TRC explorer is provisionally back up.

It turned out to be a corrupt Terracoin (daemon) database.


legendary
Activity: 1064
Merit: 1000
February 27, 2013, 11:59:38 AM
#72
I see that Balthazar has posted ABE configured for NVC in git hub.

Though it needs a bit of tweaking, it would not be difficult to include it on CCE (CryptoCoinExplorer).

I am on the fence about adding it.

On one hand I try to be fair and include all Alt-coins that need an explorer on CCE. (Hence why there are no LTC or DEV explorers on site, they already have well established explorers available)

On the other hand, there has been some concerns raised about its origins and relation to BTC-E.

I would like to hear from the people who use CCE. Do you want NVC added to CCE?

Please do not make this into a debate about the coin itself, there are plenty of threads on that subject. I just want opinions on whether I should add NVC to CCE.




The issue is a moot point now.

A NVC explorer has been established at:

http://explorer.khore.org/

I will revisit the issue if the other NVC explorers go offline, or if there is a compelling reason to include NVC on CCE.   Smiley
member
Activity: 111
Merit: 10
February 27, 2013, 02:50:33 AM
#71
Well,

It appears TRC is still having the deadlock issue even after I placed a copy of the config from the old server on the new server and restarted PostgreSQL and ABE.

I will have to put my idea of using RPC to get the difficulty on the current block of TRC explorer at the top of my to-do list.

Until then, I will keep a eye on it and reset the deadlocks as I see them happen.



Sorry about that... Sad

I might have an idea for you to try. Is it possible to implement a broken-pipe shutoff (aka ABE shuts off for TRC when it gets a broken pipe error) and then implement a cron job to check for the process to see if it is running and if it isn't, to start it up again?
sr. member
Activity: 476
Merit: 250
Bytecoin: 8VofSsbQvTd8YwAcxiCcxrqZ9MnGPjaAQm
February 26, 2013, 09:22:29 PM
#70
I see that Balthazar has posted ABE configured for NVC in git hub.

Though it needs a bit of tweaking, it would not be difficult to include it on CCE (CryptoCoinExplorer).

I am on the fence about adding it.

On one hand I try to be fair and include all Alt-coins that need an explorer on CCE. (Hence why there are no LTC or DEV explorers on site, they already have well established explorers available)

On the other hand, there has been some concerns raised about its origins and relation to BTC-E.

I would like to hear from the people who use CCE. Do you want NVC added to CCE?

Please do not make this into a debate about the coin itself, there are plenty of threads on that subject. I just want opinions on whether I should add NVC to CCE.




I would see no problem with adding NVC, if you think anyone would be interested.  Or if you would just be interested in the project yourself!  It's just a piece of information, which if anything helps to make a market more honest.
legendary
Activity: 1064
Merit: 1000
February 26, 2013, 07:42:25 PM
#69
Well,

It appears TRC is still having the deadlock issue even after I placed a copy of the config from the old server on the new server and restarted PostgreSQL and ABE.

I will have to put my idea of using RPC to get the difficulty on the current block of TRC explorer at the top of my to-do list.

Until then, I will keep a eye on it and reset the deadlocks as I see them happen.



Sorry about that... Sad
legendary
Activity: 1064
Merit: 1000
February 26, 2013, 07:21:18 PM
#68
I see that Balthazar has posted ABE configured for NVC in git hub.

Though it needs a bit of tweaking, it would not be difficult to include it on CCE (CryptoCoinExplorer).

I am on the fence about adding it.

On one hand I try to be fair and include all Alt-coins that need an explorer on CCE. (Hence why there are no LTC or DEV explorers on site, they already have well established explorers available)

On the other hand, there has been some concerns raised about its origins and relation to BTC-E.

I would like to hear from the people who use CCE. Do you want NVC added to CCE?

Please do not make this into a debate about the coin itself, there are plenty of threads on that subject. I just want opinions on whether I should add NVC to CCE.


legendary
Activity: 1064
Merit: 1000
February 26, 2013, 07:01:32 PM
#67
dreamwatcher, thanks for the free service and for keeping my donation address on the pages!

I am curious to see your changes to Abe, it would be nice to integrate them upstream... eventually in my copious spare time.   Wink

Also, would you mind sharing the database tweak intended to stop the deadlocks, and does it still appear to work?  If I were doing it all over, I would decide on a transaction isolation level at the outset and code to that.  I think READ COMMITTED ought to be sufficient for this app, though it would have been worth the effort to retry deadlocks in order to support stricter isolation.  Maybe still worth the effort.

Given my time constraints, I really don't adequately test Abe but do appreciate bug reports.


For the most part, I needed to add variables to the deserialize module to account for extra fields in the transactions. Besides setting Name, 3 code, address version and "magic numbers",
in all cases I disabled the merkle tree check. If it becomes necessary I will fix it the "right way"

I also had to change the parameters for the SCRYPT_PUBKEY_RE in all cases to  "\x21(.{33})\xac\\Z"

PPC:
Extra timestamp on the Txin
Added the ability to tell the difference between POW and POS blocks, and change the webpage header and block display accordingly.

FRC:
Extra field "Block Reference" in TXout.
TO DO: Account for demurrage in the account balance page.

TRC:
Not much, although ABE does produce a non-fatal error when trying to calculate the current block difficulty.
Code:
Traceback (most recent call last):
  File "/home/xxxxx/terracoin/Abe/DataStore.py", line 2389, in catch_up
    store.catch_up_dir(dircfg)
  File "/home/xxxxx/terracoin/Abe/DataStore.py", line 2442, in catch_up_dir
    store.import_blkdat(dircfg, ds, filename[0])
  File "/home/xxxxx/terracoin/Abe/DataStore.py", line 2566, in import_blkdat
    store.import_block(b, chain_ids = chain_ids)
  File "/home/xxxxx/terracoin/Abe/DataStore.py", line 1655, in import_block
    b['chain_work'] = util.calculate_work(prev_work, b['nBits'])
  File "/home/xxxxx/terracoin/Abe/util.py", line 74, in calculate_work
    return prev_work + target_to_work(calculate_target(nBits))
  File "/home/xxxxx/terracoin/Abe/util.py", line 56, in calculate_target
    return (nBits & 0xffffff) << (8 * ((nBits >> 24) - 3))
ValueError: negative shift count

Datastore is sending a "0" nbits, causing the error. ABE does correct the difficulty once the block is solved and is placed in the database.

This is also the issue I have with "deadlock" after a long catch up and this error. The error delays ABE long enough that the database will close the connection and ABE will lock due to a broken pipe. The error only occurs on the current block, so the catch up in relation to past blocks runs normal.

I think the correct way to solve the problem is to use a bitcoinrpc module and just get the difficulty directly from the daemon. Ultimately this will be my solution, but for now I have opened up the database parameters to allow more time before closing the connection.

There were a couple of more tweaks to the database that were done, but it was over a period of months and I had forgotten what they were... Cheesy (I know, I know...document).
That was the reason for the current lock-ups with the Hosting switch, I tried to tweak the database from memory. I have since copied over the config file from the old host and hopefully it will start to run smooth again.


I could put the current explorers up on git hub, though there would be quite a bit of repetitive data between the repositories.

vedalken254:

As mentioned above, I have replaced the database config with the config from the old server. Hopefully this will solve the "deadlock" issue on TRC for now.
member
Activity: 111
Merit: 10
February 25, 2013, 06:53:25 PM
#66
Terracoin part of the site seems to be down. I've tried in both IE (not by choice really, i use chrome mainly) and my usual browser of choice, Chrome. Error 103 (net::ERR_CONNECTION_ABORTED): Unknown error. <--- Error from Chrome

Veddy
hero member
Activity: 481
Merit: 529
February 24, 2013, 04:55:18 PM
#65
dreamwatcher, thanks for the free service and for keeping my donation address on the pages!

I am curious to see your changes to Abe, it would be nice to integrate them upstream... eventually in my copious spare time.   Wink

Also, would you mind sharing the database tweak intended to stop the deadlocks, and does it still appear to work?  If I were doing it all over, I would decide on a transaction isolation level at the outset and code to that.  I think READ COMMITTED ought to be sufficient for this app, though it would have been worth the effort to retry deadlocks in order to support stricter isolation.  Maybe still worth the effort.

Given my time constraints, I really don't adequately test Abe but do appreciate bug reports.
legendary
Activity: 1420
Merit: 1010
February 23, 2013, 11:01:34 AM
#64
GTz on the move Smiley and site still looks as beautiful as ever Smiley

will be considering LiteHosting once my demands for hosting can be met by my LTC and BTC wallet size!!
legendary
Activity: 1064
Merit: 1000
February 22, 2013, 07:14:47 PM
#63
WWW.CRYPTOCOINEXPLORER.COM

The explorer has moved to a new hosting service, LiteHosting. The switchover is complete.

This will only effect situations where an application uses the numerical IP address instead of the DNS address (www.cryptocoinexplorer.com)

The new IP address is 84.200.84.74. I will keep the explorer running on both hosts for a bit longer, but no longer then the end of the month.

The owner of LiteHosting offered me a great rate, and was responsive and helpful getting things started. Please consider using LiteHosting for your hosting needs.
legendary
Activity: 1064
Merit: 1000
February 16, 2013, 05:18:27 PM
#62
I have been experimenting with changing database parameters on the database TRC uses on the site for some time.

A change was made a couple of days ago which appears to fix the deadlock issue. I have not had to reset TRC since Thursday night when the change was made.

(The couple of resets this afternoon were due to placing the donation information in the page template.)

I hope I have not spoken too soon   Cheesy
legendary
Activity: 1204
Merit: 1002
RUM AND CARROTS: A PIRATE LIFE FOR ME
February 04, 2013, 03:12:00 AM
#61
Should be back up.

I am still having issues with database deadlock and continue to try and find a solution. Strangely enough it is still mostly with TRC and not PPC or FRC.

I am considering changing to a blockchain.info type system, now that the base system is available on github.

* I have changed the TRC search shortcuts to reflect 30,60,120,480 and 1920 items.




I have been busy over the last few weeks with things other than cryptocoinexplorer, though I should have a bit more time now. However spring semester started last week, so I will try my best to dedicate some time to cryptocoinexplorer.


Do you think you could post a link to the blockchain.info on github?

thanks!


https://github.com/zootreeves/blockchain.info

Lots and lots of JavaScript, after familiarizing myself with python for ABE, now I have to do the same with JavaScript development..  Cheesy

Wow, I looked at it and it's super dense. I think there being no readme file might be on purpose to discourage competition? Let me know if you start going through it. Maybe we could raise a bounty to support you documenting the whole thing so others can set it up without as much trouble.
legendary
Activity: 1064
Merit: 1000
February 03, 2013, 06:41:15 PM
#60
Should be back up.

I am still having issues with database deadlock and continue to try and find a solution. Strangely enough it is still mostly with TRC and not PPC or FRC.

I am considering changing to a blockchain.info type system, now that the base system is available on github.

* I have changed the TRC search shortcuts to reflect 30,60,120,480 and 1920 items.




I have been busy over the last few weeks with things other than cryptocoinexplorer, though I should have a bit more time now. However spring semester started last week, so I will try my best to dedicate some time to cryptocoinexplorer.


Do you think you could post a link to the blockchain.info on github?

thanks!


https://github.com/zootreeves/blockchain.info

Lots and lots of JavaScript, after familiarizing myself with python for ABE, now I have to do the same with JavaScript development..  Cheesy
legendary
Activity: 1204
Merit: 1002
RUM AND CARROTS: A PIRATE LIFE FOR ME
February 03, 2013, 06:17:23 PM
#59
Should be back up.

I am still having issues with database deadlock and continue to try and find a solution. Strangely enough it is still mostly with TRC and not PPC or FRC.

I am considering changing to a blockchain.info type system, now that the base system is available on github.

* I have changed the TRC search shortcuts to reflect 30,60,120,480 and 1920 items.




I have been busy over the last few weeks with things other than cryptocoinexplorer, though I should have a bit more time now. However spring semester started last week, so I will try my best to dedicate some time to cryptocoinexplorer.


Do you think you could post a link to the blockchain.info on github?

thanks!
legendary
Activity: 1204
Merit: 1002
RUM AND CARROTS: A PIRATE LIFE FOR ME
February 03, 2013, 06:16:50 PM
#58
I think the TRC dameon needs to be restarted. :-)
legendary
Activity: 1064
Merit: 1000
http://www.cryptocoinexplorer.com:2750/
A server error occurred.  Please contact the administrator.

That error was due to a mysql security update and should be up now. (Both PPC and FRC)
legendary
Activity: 1064
Merit: 1000
Should be back up.

I am still having issues with database deadlock and continue to try and find a solution. Strangely enough it is still mostly with TRC and not PPC or FRC.

I am considering changing to a blockchain.info type system, now that the base system is available on github.

* I have changed the TRC search shortcuts to reflect 30,60,120,480 and 1920 items.




I have been busy over the last few weeks with things other than cryptocoinexplorer, though I should have a bit more time now. However spring semester started last week, so I will try my best to dedicate some time to cryptocoinexplorer.


Pages:
Jump to: