Bitcoin Forum
May 24, 2024, 07:33:02 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Project Development / Re: [ANNOUNCE] Abe 0.7: Open Source Block Explorer Knockoff on: March 25, 2014, 06:31:19 PM
Just posted a bounty for Memorycoin

https://bountify.co/get-memorycoin-working-with-bitcoin-abe
2  Bitcoin / Project Development / Re: [ANNOUNCE] Abe 0.7: Open Source Block Explorer Knockoff on: March 14, 2014, 06:53:28 PM
I am attempting to get this running on a postgresql database.  I have followed the instructions to the letter and this is the error that I get:

Code:
admin@ip-10-196-49-5:~$ python -m Abe.abe --config doge.conf --commit-bytes 100000 --no-serve
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 "/usr/local/lib/python2.7/dist-packages/Abe/abe.py", line 2276, in <module>
    sys.exit(main(sys.argv[1:]))
  File "/usr/local/lib/python2.7/dist-packages/Abe/abe.py", line 2270, in main
    store = make_store(args)
  File "/usr/local/lib/python2.7/dist-packages/Abe/abe.py", line 153, in make_store
    store = DataStore.new(args)
  File "/usr/local/lib/python2.7/dist-packages/Abe/DataStore.py", line 3445, in new
    return DataStore(args)
  File "/usr/local/lib/python2.7/dist-packages/Abe/DataStore.py", line 199, in __init__
    store._init_datadirs()
  File "/usr/local/lib/python2.7/dist-packages/Abe/DataStore.py", line 753, in _init_datadirs
    dircfg.get('policy', chain_name), decimals))
  File "/usr/local/lib/python2.7/dist-packages/Abe/DataStore.py", line 522, in sql
    store._execute(cached, params)
  File "/usr/local/lib/python2.7/dist-packages/Abe/DataStore.py", line 499, in _execute
    store.cursor.execute(stmt, params)
psycopg2.DataError: value too long for type character(3)

I am on Debain Wheezy running python 2.7 and postgresql 9.1
3  Bitcoin / Project Development / Re: [ANNOUNCE] Abe 0.7: Open Source Block Explorer Knockoff on: March 13, 2014, 02:13:01 AM
So I was finally able to get Dogecoin working.  I was using the wrong magic.  I have everything up on a live server now and it doesn't seem to be polling the database for the queries, instead it is opening up the block file every single time.

I am on the no-statistics branch using this config file:

Code:
dbtype sqlite3
connect-args doge.sqlite
port 2750
host 0.0.0.0
#upgrade
datadir = [{
        "dirname": "/home/ubuntu/.dogecoin",
        "chain": "Dogecoin",
        "code3": "DOGE",
        "address_version": "\u001e",
        "magic": "\u00c0\u00c0\u00c0\u00c0",
        "conf": "dogecoin.conf",
        "trim_depth": 40
        }]
commit-bytes = 100000
keep-scriptsig = false
int-type str

Here is what shows up on the server:

Code:
[13/Mar/2014 02:06:12] "GET /q/addressbalance/D9f7RRygjA7N91TLDoshLwNVoFxqCjvv7i HTTP/1.1" 200 83
failed to load /home/ubuntu/.dogecoin/bitcoin.conf: [Errno 2] No such file or directory: u'/home/ubuntu/.dogecoin/bitcoin.conf'
catch_up_rpc: abort
Opened /home/ubuntu/.dogecoin/blocks/blk00022.dat

4  Bitcoin / Project Development / Re: [ANNOUNCE] Abe 0.7: Open Source Block Explorer Knockoff on: March 06, 2014, 07:39:38 AM
I have been having a heck of a time getting this to work with dogecoin.  I have downloaded the blockchain and rescanned.  Here is my abe.conf:

Code:
dbtype sqlite3
connect-args abe.sqlite
upgrade
port 7000

datadir = [{
        "dirname": "/home/ubuntu/.dogecoin",
        "chain":   "Dogecoin",
        "code3":   "DOGE",
        "address_version": "\u001e" }]

I have applied the fix located at: https://bitcointalk.org/index.php?topic=22785.msg750417#msg750417

This is the error I am getting when I run:

Code:
python -m Abe.abe --config abe.sqlite.conf --commit-bytes 100000 --no-serve

Code:
Skipped 95 bytes at block end
block_tx 1170 1
Skipped 95 bytes at block end
block_tx 1171 1
Skipped 95 bytes at block end
block_tx 1172 1
Skipped 95 bytes at block end
block_tx 1173 1
Skipped 96 bytes at block end
block_tx 1174 1
Skipped 95 bytes at block end
block_tx 1175 1
Skipped 95 bytes at block end
block_tx 1176 1
Skipped 95 bytes at block end
block_tx 1177 1
Skipped 96 bytes at block end
block_tx 1178 1
Skipped 95 bytes at block end
block_tx 1179 1
Skipped 96 bytes at block end
block_tx 1180 1
Skipped 96 bytes at block end
block_tx 1181 1
Skipped 95 bytes at block end
Exception at 235523
Failed to catch up {'blkfile_number': 100000, 'dirname': u'/home/ubuntu/.dogecoin', 'chain_id': 8, 'id': 1, 'blkfile_offset': 208572}
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/Abe/DataStore.py", line 2422, in catch_up
    store.catch_up_dir(dircfg)
  File "/usr/local/lib/python2.7/dist-packages/Abe/DataStore.py", line 2475, in catch_up_dir
    store.import_blkdat(dircfg, ds, filename[0])
  File "/usr/local/lib/python2.7/dist-packages/Abe/DataStore.py", line 2596, in import_blkdat
    b = store.parse_block(ds, chain_id, magic, length)
  File "/usr/local/lib/python2.7/dist-packages/Abe/DataStore.py", line 2630, in parse_block
    d['transactions'].append(deserialize.parse_Transaction(ds))
  File "/usr/local/lib/python2.7/dist-packages/Abe/deserialize.py", line 90, in parse_Transaction
    for i in xrange(n_vout):
OverflowError: Python int too large to convert to C long
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!