I'm trying to run abe-blockexplorer. I have found "magic number" and "address_version", modified DataStore.py and abe.conf.
If I use this version -
https://github.com/bitcoin-abe/bitcoin-abeit can't find litecoin module:
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/root/bitcoin-abe/Abe/abe.py", line 2096, in
sys.exit(main(sys.argv[1:]))
File "/root/bitcoin-abe/Abe/abe.py", line 2090, in main
store = make_store(args)
File "/root/bitcoin-abe/Abe/abe.py", line 156, in make_store
store = DataStore.new(args)
File "Abe/DataStore.py", line 3275, in new
return DataStore(args)
File "Abe/DataStore.py", line 185, in __init__
store.initialize()
File "Abe/DataStore.py", line 839, in initialize
chain = Chain.create(policy, **conf)
File "Abe/Chain/__init__.py", line 21, in create
mod = __import__(__name__ + '.' + policy, fromlist=[policy])
ImportError: No module named Litecoin
If I use version with litecoin module:
https://github.com/CryptoManiac/bitcoin-abeIt starts to scan but then it crashes:
Exception at 762842
Failed to catch up {'blkfile_number': 100000, 'dirname': '/root/.litecoin', 'chain_id': 8, 'id': Decimal('4'), 'blkfile_offset': 762707}
Traceback (most recent call last):
File "Abe/DataStore.py", line 2422, in catch_up
store.catch_up_dir(dircfg)
File "Abe/DataStore.py", line 2475, in catch_up_dir
store.import_blkdat(dircfg, ds, filename[0])
File "Abe/DataStore.py", line 2596, in import_blkdat
b = store.parse_block(ds, chain_id, magic, length)
File "Abe/DataStore.py", line 2630, in parse_block
d['transactions'].append(deserialize.parse_Transaction(ds))
File "Abe/deserialize.py", line 90, in parse_Transaction
for i in xrange(n_vout):
OverflowError: Python int too large to convert to C long
What's the problem? Which version should I use?