Bitcoin Forum
April 28, 2024, 04:42:04 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
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 220734 times)
rossen
Hero Member
*****
Offline Offline

Activity: 567
Merit: 500

In gold I trust - Aurumcoin www.cointech.net


View Profile WWW
February 12, 2017, 05:58:03 AM
 #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?

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
1714279324
Hero Member
*
Offline Offline

Posts: 1714279324

View Profile Personal Message (Offline)

Ignore
1714279324
Reply with quote  #2

1714279324
Report to moderator
1714279324
Hero Member
*
Offline Offline

Posts: 1714279324

View Profile Personal Message (Offline)

Ignore
1714279324
Reply with quote  #2

1714279324
Report to moderator
"There should not be any signed int. If you've found a signed int somewhere, please tell me (within the next 25 years please) and I'll change it to unsigned int." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714279324
Hero Member
*
Offline Offline

Posts: 1714279324

View Profile Personal Message (Offline)

Ignore
1714279324
Reply with quote  #2

1714279324
Report to moderator
hoop
Legendary
*
Offline Offline

Activity: 1523
Merit: 1001


NOBT - WNOBT your saving bank◕◡◕


View Profile WWW
April 10, 2017, 08:24:06 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?

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

            ██████████  ██████████▄▄
         █████████████  ██████████████▄▄
   ▄███  █████▄                  ▀▀███████▄
  ██████   ▀█████▄          ████     ▀▀█████
 █████        ▀█████▄       ████        █████
 ████            ▀████      ████         ████
 ████         ██▄   ▀█  ██▄ ████         ████
 ████▌        █████▄    ████████        ▐████
 ▐████        ████████    ▀█████        ████▌
  █████       ████ ▀██  █▄   ▀██       █████
   █████      ████      ████▄         █████
    █████▄    ████       ▀█████▄    ▄█████
     ▀█████▄  ████          ▀█████▄   ██▀
       ▀█████▄                 ▀█████
         ▀██████▄▄          ▄▄██████▀
            ▀▀████████  ████████▀▀
                ▀▀████  ████▀▀
Take care of your financial privacy
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
A blockchain loyalty scheme and more
██
██
██
██
██
██
██
██
██
██
██
██


███████████████
███          ██████████████████
████████████████████████████████
███                          ███
███                          ███
███             ██           ███
███       ██   ██   ██       ███
███      ██    ██    ██      ███
███       ██  ██    ██       ███
███                          ███
███                          ███
████████████████████████████████


           ████    ████
       █████████ ████████
                           
████████████████████████████
█████████████████████████████
██████████████████
██████████████████ ███████████
██████████████████ ██    █████
██████████████████ ███████████
██████████████████
█████████████████████████████
████████████████████████████


        ▄█████▄
      ▄█████████
     ████    ███▌
    ███       ██▌
   ▐██ ███  ████
   ▄███████████
  ███████████▀
 ████  ███ ██▌
▐██       ███
▐███    ████
 █████████▀
  ▀█████▀
██
██
██
██
██
██
██
██
██
██
██
██
ANN         Discord
Twitter    Telegram
Nobt-plataform
Scalextrix
Full Member
***
Offline Offline

Activity: 185
Merit: 100


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

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
Pinkcoin Address: 2GTnp7oRn2i6KnuwfGaFh1Ps7RZFyDe6nH    MannaCurrency Address: GXDwi6W888jbQZ7a79GTaStxiQsYehisfi
SpotCash
Newbie
*
Offline Offline

Activity: 48
Merit: 0


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

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: 255
Merit: 260


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


   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
 #1026

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
Newbie
*
Offline Offline

Activity: 50
Merit: 0


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

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
 #1028

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?
Ambawi22
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
September 26, 2018, 12:51:22 PM
 #1029

What happens if there is a catch-up triggered by request A, then request B comes in?

B tries to "help" A catch up.  Which would be okay if the loader code were free of bugs.  Probably the easiest fix (when I--or someone--has time) is to enforce single-threaded loading with a database lock.


Your suggested workaround (one instance with --no-load, one with --no-serve) works like a charm and solves the problem.

Haven't had a problem since, thank you 1000!

I agree using some db-lock to only ever have one "db updater" would likely solve it, too.

php717
Copper Member
Jr. Member
*
Offline Offline

Activity: 53
Merit: 1


View Profile
January 18, 2019, 03:34:14 PM
 #1030

is it possible to customize abe interface ?
mowiad
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
August 23, 2019, 05:56:40 PM
 #1031

Is that possible to find utxo using Abe via python. Or its impossible.
toonboi
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
January 27, 2021, 09:41:07 PM
 #1032

Hi all

I've been trying to get an instance of Abe up and running but have run into a bit of a snag.  Hoping someone can help me out here.  I am running MySQL 5.7.33 and everything seems to be OK on that side.  Abe is configured as below, and the data directory is working and reading blk*****.dat files seems to be fine.

Code:
dbtype MySQLdb
connect-args {"user":"abe1","db":"abe"}
upgrade
port 2750

I let it run on initial startup and everything seemed to be working as expected but I quickly ran into an error.  The snippet below is from trying to force a rescan, but the error itself is the same.

Code:
block 4175 already in chain 1
block 4176 already in chain 1
Exception at 969746
Failed to catch up {'blkfile_offset': 968753, 'blkfile_number': 100000, 'chain_id': 1, 'loader': u'blkfile', 'conf': None, 'dirname': 'G:/Users/****/Downloads/Bitcoin Database/Bitcoin', 'id': Decimal('1')}
Traceback (most recent call last):
  File "Abe\DataStore.py", line 2557, in catch_up
    store.catch_up_dir(dircfg)
  File "Abe\DataStore.py", line 2855, in catch_up_dir
    store.import_blkdat(dircfg, ds, blkfile['name'])
  File "Abe\DataStore.py", line 2977, in import_blkdat
    b = chain.ds_parse_block(ds)
  File "Abe\Chain\__init__.py", line 81, in ds_parse_block
    for i in xrange(nTransactions):
OverflowError: Python int too large to convert to C long


I found this in the config, but it doesn't seem to do anything. 

Code:
# Some databases have trouble with the large integers that Abe uses
# for statistics.  Setting int-type=str causes Abe to pass certain
# integers to the database as strings and cast them to floating point
# in SQL expressions that calculate statistics.  Try this if SQLite
# complains "OverflowError: long too big to convert".

int-type=str
int-type str

I've already tried deleting the database and rebuilding it, no luck.  I've also made sure I'm running 64bit python and not 32bit - heard there were issues with int lengths.  OS = Win 10

Any ideas on how to get this up and running?

Thanks in advance


realdantreccia
Hero Member
*****
Offline Offline

Activity: 666
Merit: 516


Fuck BlackRock


View Profile WWW
May 02, 2022, 05:26:07 AM
 #1033

Is it possible to make Abe from a version of Tenebrix that uses the original Berkeley DB and is a clone of Multicoin unchanged since September 2011? I understand I might be able to run a localhost version to test out while I run my full node. It's the first Scrypt coin - Litecoin was the third but I understand they forked Bitcoin code and not MultiCoin.

From the many one, from one, the source
DaveF
Legendary
*
Offline Offline

Activity: 3458
Merit: 6239


Crypto Swap Exchange


View Profile WWW
May 09, 2022, 11:21:00 AM
Merited by ABCbits (1)
 #1034

Is it possible to make Abe from a version of Tenebrix that uses the original Berkeley DB and is a clone of Multicoin unchanged since September 2011? I understand I might be able to run a localhost version to test out while I run my full node. It's the first Scrypt coin - Litecoin was the third but I understand they forked Bitcoin code and not MultiCoin.

Yes you can. I guess the question is why would you want to?
Abe is (was) a nice project, but there are many better explorers out there at the moment.
Kind of like tenebrix, was interesting back in 2011 now.......

-Dave

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!