Post
Topic
Board Project Development
Re: [ANNOUNCE] Abe 0.7: Open Source Block Explorer Knockoff
by
xpansive
on 26/07/2014, 21:33:30 UTC
I've finally managed to get Abe to work with a standard Litecoin clone. I don't understand what the LtcScryptChain module is for when it's THE WRONG MODULE for Scrypt chains, it must use Sha256Chain policy............... why no mention of this in the bitcoin-abe docs?!?!?!?

Anyway too much work with this, it's a big mess, I will keep using RPC Ace instead only need to see so the blockchain is working and check hashrates etc, it's much simpler and easier than bitcoin-abe.

Hey roundrobin, I am also working with a Litecoin clone, and I noticed the same: if you use 'LtcScryptChain', blocks are loaded in the DB but only block 0 is displayed on the web. As you say, if you choose 'Sha256Chain' as policy, all blocks are loaded and displayed in the initial table, but if you click on any of the blocks it fails, showing a web with the message 'A server error occurred.  Please contact the administrator.' Console shows up this error:

Code:
Traceback (most recent call last):
  File "/usr/lib/python2.7/wsgiref/handlers.py", line 85, in run
    self.result = application(self.environ, self.start_response)
  File "/home/angel/progs/abe-master/Abe/abe.py", line 250, in __call__
    handler(page)
  File "/home/angel/progs/abe-master/Abe/abe.py", line 680, in handle_block
    abe._show_block(page, '', None, block_hash=block_hash)
  File "/home/angel/progs/abe-master/Abe/abe.py", line 571, in _show_block
    is_stake_block = is_stake_chain and b['is_proof_of_stake']
KeyError: 'is_proof_of_stake'
127.0.0.1 - - [26/Jul/2014 23:29:40] "GET /block/5a105718caaee10194af4a438e161a5258deffbf88ebefcbe60a85aade06a8ba HTTP/1.1" 500 59

So, did you managed to overcome this error with your Litecoin clone coin? And if yes, how did you do it?

Cheers!