Bitcoin Forum
May 21, 2018, 12:01:23 AM *
News: Latest stable version of Bitcoin Core: 0.16.0  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 [52]
  Print  
Author Topic: [ANNOUNCE] Abe 0.7: Open Source Block Explorer Knockoff  (Read 200759 times)
Green Lantern
Jr. Member
*
Offline Offline

Activity: 43
Merit: 0


View Profile
February 06, 2017, 06:11:40 PM
 #1021

Do I need to set another network config in *.conf file except these to get Abe running?
Code:
# Specify port and/or host to serve HTTP instead of FastCGI:
port 2750
host localhost
It does not work after python -m Abe.abe --config abe-my.conf
But this python -m Abe.abe --config abe-my.conf --commit-bytes 100000 --no-serve command works as expected
I am using Ubuntu 14.04.
Any suggestions?
1526860883
Hero Member
*
Offline Offline

Posts: 1526860883

View Profile Personal Message (Offline)

Ignore
1526860883
Reply with quote  #2

1526860883
Report to moderator
1526860883
Hero Member
*
Offline Offline

Posts: 1526860883

View Profile Personal Message (Offline)

Ignore
1526860883
Reply with quote  #2

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

Activity: 552
Merit: 500

In gold I trust - Aurumcoin www.cointech.net


View Profile WWW
February 12, 2017, 05:58:03 AM
 #1022

Do I need to set another network config in *.conf file except these to get Abe running?
Code:
# Specify port and/or host to serve HTTP instead of FastCGI:
port 2750
host localhost
It does not work after python -m Abe.abe --config abe-my.conf
But this python -m Abe.abe --config abe-my.conf --commit-bytes 100000 --no-serve command works as expected
I am using Ubuntu 14.04.
Any suggestions?

It's better to use Apache or other web server instead of internal one. For every new coin you must make only new datadir += .... etc.
I use separated config files, because some of my coins are hard to support (separate database and virtualhost).

If you want a mining pool, addnode or blockexplorer - PM me https://cointech.net/block-explorers. Free BTC every 10 minutes https://satoshinow.com/?ref=163215
http://webchat.freenode.net/?channels=%23aurumcoin&uio=d4
hoop
Legendary
*
Offline Offline

Activity: 1386
Merit: 1001


NOBT - WNOBT your saving bank◕◡◕


View Profile WWW
April 10, 2017, 08:24:06 AM
 #1023

Do I need to set another network config in *.conf file except these to get Abe running?
Code:
# Specify port and/or host to serve HTTP instead of FastCGI:
port 2750
host localhost
It does not work after python -m Abe.abe --config abe-my.conf
But this python -m Abe.abe --config abe-my.conf --commit-bytes 100000 --no-serve command works as expected
I am using Ubuntu 14.04.
Any suggestions?

You may ask your question at Ubuntu forum, you will get fast answer there.

Scalextrix
Full Member
***
Offline Offline

Activity: 160
Merit: 100


View Profile WWW
June 18, 2017, 04:14:52 PM
 #1024

Hi Im having problems with Abe, I keep getting an

    Failed: CREATE TABLE configvar (
    configvar_name  VARCHAR(100) NOT NULL PRIMARY KEY,
    configvar_value VARCHAR(255)
   

    sqlite3.OperationalError table configvar already exists

Any ideas wht im doing wrong?

SolarCoin Address: 8cESoZyjFvx2Deq6VjQLqPfAwu8UXjcBkK
Gridcoin Address: SAuPu8zarzQykWLGwxc6JRvW3imM8YU9wc
SpotCash
Newbie
*
Offline Offline

Activity: 19
Merit: 0


View Profile
July 08, 2017, 03:58:34 PM
 #1025

I am running website on vps windows server 2012 IIS installed.
Now i want run mycoin daemon and block explorer on same server.
Any easiest method build block explorer?
I don't have much knowledge of codes.
Help me thru entire set up process and good tip will be sent.

Reply as soon as possible

Thanks in advance.
dpapaemc
Sr. Member
****
Offline Offline

Activity: 265
Merit: 260


View Profile
August 08, 2017, 05:17:32 PM
 #1026


   Hey Guys.
 I got Abe Explorer up and showing. Ran cmd to load chain data for my coin, but for some reason it started sync. with WorldCoin instead of my-coin. Hhhhhmmmm, can't seem to find anything in script depicting WorldCoin at all.
   Any ideas...

SFox
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
September 30, 2017, 09:37:25 AM
 #1027

Hello all,
Need help with configuration for Paccoin , I have posted issue here https://github.com/bitcoin-abe/bitcoin-abe/issues/234

Pulled latest version from git (master) and configured it for Paccoin (PAC).
abe.conf
Code:
dbtype MySQLdb
 connect-args {"user":"abe","db":"abe","passwd":"pass"}
 port 2750
 host 0.0.0.0
 upgrade
 datadir += [{"dirname": "/root/.paccoin","chain": "Paccoin","code3": "PAC","address_version": "18"}]
 address-history-rows-max 100000
 default-loader = blkfile

Datastore.py
Code:
CONFIG_DEFAULTS = {
     "dbtype":             None,
     "connect_args":       None,
     "binary_type":        None,
     "int_type":           None,
     "upgrade":            None,
     "rescan":             None,
     "commit_bytes":       None,
     "log_sql":            None,
     "log_rpc":            None,
     "default_chain":      "Paccoin",
     "datadir":            None,
     "ignore_bit8_chains": None,
     "use_firstbits":      False,
     "keep_scriptsig":     True,
     "import_tx":          [],
     "default_loader":     "default",
     "rpc_load_mempool":   False,
 }
 WORK_BITS = 304  # XXX more than necessary.
 CHAIN_CONFIG = [{"chain":"Paccoin"}]


Chain/Paccoin.py
Code:
from .Sha256Chain import Sha256Chain
 
 class Paccoin(Sha256Chain):
     def __init__(chain, **kwargs):
         chain.name = 'Paccoin'
         chain.dirname = '/root/.paccoin/'
         chain.code3 = 'PAC'
         # MultiChain handshake is randomly created, so use Bitcoin compatible network settings as the default.
         chain.address_version = '\x18' # dec 24 = hex 18 -- FROM paccoin/src/base58.h dec value PUBKEY_ADDRESS
         chain.script_addr_vers = '\x1e' # dec 30 = hex 1e.
         chain.magic = '\xe4\xe8\xe9\xe5' # \xe4\xe8\xe9\xe5 -- FROM paccoin/src/main.cpp value char pchMessageStart
         #chain.address_checksum = '\x00\x00\x00\x00'
         Sha256Chain.__init__(chain, **kwargs)
 datadir_conf_file_name = "paccoin.conf"

After start got this error:

Code:
Opened /root/.paccoin/blk0001.dat
 Exception at 146191074854428494
 Failed to catch up {'blkfile_offset': 515780, 'blkfile_number': 1, 'chain_id': 1, 'loader': u'blkfile', 'conf': u'paccoin.conf', 'dirname': '/root/.paccoin/', 'id': Decimal('5')}
 Traceback (most recent call last):
   File "Abe/DataStore.py", line 2535, in catch_up
     store.catch_up_dir(dircfg)
   File "Abe/DataStore.py", line 2821, in catch_up_dir
     store.import_blkdat(dircfg, ds, blkfile['name'])
   File "Abe/DataStore.py", line 2943, in import_blkdat
     b = chain.ds_parse_block(ds)
   File "Abe/Chain/__init__.py", line 82, in ds_parse_block
     d['transactions'].append(chain.ds_parse_transaction(ds))
   File "Abe/Chain/__init__.py", line 75, in ds_parse_transaction
     return deserialize.parse_Transaction(ds)
   File "Abe/deserialize.py", line 91, in parse_Transaction
     d['txIn'].append(parse_TxIn(vds))
   File "Abe/deserialize.py", line 46, in parse_TxIn
     d['sequence'] = vds.read_uint32()
   File "Abe/BCDataStream.py", line 71, in read_uint32
     def read_uint32 (self): return self._read_num('<I')
   File "Abe/BCDataStream.py", line 110, in _read_num
     (i,) = struct.unpack_from(format, self.input, self.read_cursor)
 error: unpack_from requires a buffer of at least 4 bytes

After few hours of searching for solution, I tried edit next files.

in deserialize.py :

Code:
         d['nTime'] = vds.read_uint32()
         #  if has_nTime:
         #    d['nTime'] = vds.read_uint32()

got error:

Code:
Opened /root/.paccoin/blk0001.dat
 Exception at 515981
 Failed to catch up {'blkfile_offset': 515780, 'blkfile_number': 1, 'chain_id': 1, 'loader': u'blkfile', 'conf': u'paccoin.conf', 'dirname': '/root/.paccoin/', 'id': Decimal('5')}
 Traceback (most recent call last):
   File "Abe/DataStore.py", line 2535, in catch_up
     store.catch_up_dir(dircfg)
   File "Abe/DataStore.py", line 2821, in catch_up_dir
     store.import_blkdat(dircfg, ds, blkfile['name'])
   File "Abe/DataStore.py", line 2953, in import_blkdat
     store.import_block(b, chain = chain)
   File "Abe/DataStore.py", line 1069, in import_block
     raise MerkleRootMismatch(b['hash'], tx_hash_array)
 MerkleRootMismatch: Block header Merkle root does not match its transactions. block hash=00000000001b6bd7774c118eb7e14669d6e2099e1ca7d8b135031e8d091bb363


next recommendation was edit
in Datastore.py :

Code:
         #if chain is not None:
             # Verify Merkle root.
             #if b['hashMerkleRoot'] != chain.merkle_root(tx_hash_array):
             #    raise MerkleRootMismatch(b['hash'], tx_hash_array)

I got next error:

Code:
Exception at 9671054941915873462
 Failed to catch up {'blkfile_offset': 515780, 'blkfile_number': 1, 'chain_id': 1, 'loader': u'blkfile', 'conf': u'paccoin.conf', 'dirname': '/root/.paccoin/', 'id': Decimal('5')}
 Traceback (most recent call last):
   File "Abe/DataStore.py", line 2535, in catch_up
     store.catch_up_dir(dircfg)
   File "Abe/DataStore.py", line 2821, in catch_up_dir
     store.import_blkdat(dircfg, ds, blkfile['name'])
   File "Abe/DataStore.py", line 2943, in import_blkdat
     b = chain.ds_parse_block(ds)
   File "Abe/Chain/__init__.py", line 82, in ds_parse_block
     d['transactions'].append(chain.ds_parse_transaction(ds))
   File "Abe/Chain/__init__.py", line 75, in ds_parse_transaction
     return deserialize.parse_Transaction(ds)
   File "Abe/deserialize.py", line 91, in parse_Transaction
     d['txIn'].append(parse_TxIn(vds))
   File "Abe/deserialize.py", line 46, in parse_TxIn
     d['sequence'] = vds.read_uint32()
   File "Abe/BCDataStream.py", line 71, in read_uint32
     def read_uint32 (self): return self._read_num('<I')
   File "Abe/BCDataStream.py", line 110, in _read_num
     (i,) = struct.unpack_from(format, self.input, self.read_cursor)
 OverflowError: Python int too large to convert to C long

Here is my maxsize:

Code:
   Python 2.7.6 (default, Oct 26 2016, 20:30:19)
   [GCC 4.8.4] on linux2
   Type "help", "copyright", "credits" or "license" for more information.
   >>> import sys
   >>> sys.maxsize
   9223372036854775807
   >>>

I'm stuck at this point, looking for advice.
Tuan Kuan
Jr. Member
*
Offline Offline

Activity: 42
Merit: 0


View Profile
January 27, 2018, 03:12:38 PM
 #1028

I'm very interested in seeing Firstbits support.  Wink
qu4ntum
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
February 01, 2018, 05:11:35 PM
 #1029

Helly guys,
I'm new here, and i would like to clarify some points that i don't really understand so far.
1 - Is Abe a feasible explorer at this date (feb. 01 2018 ) ? How long it takes to load a full database in average?
2 - Where do i find the API containing all the calls and functions from Abe?
3 - Could anyone explain to me what function abe allow to query the bitcoin database?
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 [52]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!