Bitcoin Forum
December 06, 2016, 10:01:17 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   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 »
  Print  
Author Topic: [ANNOUNCE] Abe 0.7: Open Source Block Explorer Knockoff  (Read 175693 times)
toolbag
Jr. Member
*
Offline Offline

Activity: 42


View Profile
October 25, 2013, 02:19:22 AM
 #561

I'm getting that same error. Anyone have any solutions that don't involve reloading everything? Heh...

Tips weclome and appreciated: 1LRxTZT76SE1UqB1ijvGp46qWJXV7BQczk
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
dashingriddler
Legendary
*
Offline Offline

Activity: 1009


Bringing Bitcoin to Billions!


View Profile WWW
October 26, 2013, 12:10:50 PM
 #562

I am facing the same error as well !

no chain_id
catch_up_rpc: abort
Opened /home/bitcoin/.bitcoin/blocks/blk00088.dat
Exception at 60375615
Failed to catch up {'blkfile_offset': 60143075, 'blkfile_number': 100088, 'chain_id': None, 'loader': None, 'dirname': '/home/bitcoin/.bitcoin', 'id': Decimal('1')}
Traceback (most recent call last):
  File "Abe/DataStore.py", line 2639, in catch_up
    store.catch_up_dir(dircfg)
  File "Abe/DataStore.py", line 2897, in catch_up_dir
    store.import_blkdat(dircfg, ds, blkfile['name'])
  File "Abe/DataStore.py", line 3027, in import_blkdat
    store.import_block(b, chain_ids = chain_ids)
  File "Abe/DataStore.py", line 1739, in import_block
    tx['tx_id'] = store.import_and_commit_tx(tx, pos == 0)
  File "Abe/DataStore.py", line 2261, in import_and_commit_tx
    tx_id = store.import_tx(tx, is_coinbase)
  File "Abe/DataStore.py", line 2195, in import_tx
    pubkey_id = store.script_to_pubkey_id(txout['scriptPubKey'])
  File "Abe/DataStore.py", line 2575, in script_to_pubkey_id
    for opcode, data, i in deserialize.script_GetOp(script):
  File "Abe/deserialize.py", line 247, in script_GetOp
    nSize = ord(bytes)
IndexError: string index out of range

I hope there will be a fix soon !

https://www.unocoin.com - India's most popular bitcoin wallet. We make it super easy to securely buy, sell, store, use and accept bitcoin.

http://www.twitter.com/unocoin | http://www.facebook.com/unocoin | http://www.indiabitcoin.com | http://www.meetup.com/IndiaBitcoin | http://www.bitcoinalliance.in
Jouke
Sr. Member
****
Offline Offline

Activity: 427



View Profile WWW
October 26, 2013, 06:52:02 PM
 #563

I have never ever programmed in python, but I think I know what is going wrong. I have changed the code in deserialize.py . The import does continue, and the data seems right. But be sure to make a backup of the database!!

You can't lookup the transaction itself in Abe, but at least the rest of the transactions seem to work just fine.


def script_GetOp(bytes):
  i = 0
  while i < len(bytes):
    vch = None
    opcode = ord(bytes)
    i += 1

    if opcode <= opcodes.OP_PUSHDATA4:
      nSize = opcode
      if len(bytes) > 1:
        if opcode == opcodes.OP_PUSHDATA1:
          nSize = ord(bytes)
          i += 1
        elif opcode == opcodes.OP_PUSHDATA2:
          (nSize,) = struct.unpack_from('<H', bytes, i)
          i += 2
        elif opcode == opcodes.OP_PUSHDATA4:
          (nSize,) = struct.unpack_from('<I', bytes, i)
          i += 4
        if i+nSize > len(bytes):
          vch = "_INVALID_"+bytes[i:]
          i = len(bytes)
        else:
          vch = bytes[i:i+nSize]
          i += nSize
      else:
        vch = "_INVALID_NULL"
        i = len(bytes)

    yield (opcode, vch, i)

Koop en verkoop snel en veilig bitcoins via iDeal op Bitonic.nl
bradford
Newbie
*
Offline Offline

Activity: 12



View Profile
October 29, 2013, 12:29:12 AM
 #564

I have never ever programmed in python, but I think I know what is going wrong. I have changed the code in deserialize.py . The import does continue, and the data seems right. But be sure to make a backup of the database!!

Your snippet worked for me. Back up and running. Thanks Jouke!
Mannfred
Jr. Member
*
Offline Offline

Activity: 41



View Profile
October 29, 2013, 10:43:09 AM
 #565

I´m getting this Error-Masssage:

no chain_id
catch_up_rpc: abort
Opened e:\datenbank\bitcoin\daten\blocks\blk00080.dat
Exception at 13228858152345733452
Failed to catch up {'blkfile_offset': 123332745, 'blkfile_number': 100080, 'chai
n_id': None, 'loader': None, 'dirname': 'e:\\datenbank\\bitcoin\\daten', 'id': D
ecimal('2')}
Traceback (most recent call last):
  File "Abe\DataStore.py", line 2639, in catch_up
    store.catch_up_dir(dircfg)
  File "Abe\DataStore.py", line 2897, in catch_up_dir
    store.import_blkdat(dircfg, ds, blkfile['name'])
  File "Abe\DataStore.py", line 3024, in import_blkdat
    b = store.parse_block(ds, chain_id, magic, length)
  File "Abe\DataStore.py", line 3055, in parse_block
    d['transactions'].append(deserialize.parse_Transaction(ds))
  File "Abe\deserialize.py", line 92, in parse_Transaction
    d['txOut'].append(parse_TxOut(vds))
  File "Abe\deserialize.py", line 67, in parse_TxOut
    d['value'] = vds.read_int64()
  File "Abe\BCDataStream.py", line 72, in read_int64
    def read_int64  (self): return self._read_num('<q')
  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
fsb4000
Legendary
*
Offline Offline

Activity: 1358



View Profile
November 06, 2013, 01:14:09 PM
 #566

Hello!
I started ABE for CopperLark.
And ABE doesn't recognize the address generated coins.
For example: http://copperlarkabe.no-ip.biz/tx/0853f50766f64e15e1e0ad779e598534099e79094fe314108d844f9ab76931d6

though raw_transaction has
Code:
"out": [
    {
      "raw_scriptPubKey": "21026bbf078c7e4a0d5dfcdd415de2de4510e0d5ca85e906116bc5cea0698a8e88f0ac",
      "value": "50.00050000"
    }
  ],

What shoud I fix in ABE for recognize the address generated coins?
fsb4000
Legendary
*
Offline Offline

Activity: 1358



View Profile
November 09, 2013, 04:31:04 PM
 #567

Anyone knows how to work with ABE?

How to add recognition of the transaction "33: pubkey CHECKSIG"
Deserialize.py has only:
Code:
# non-generated TxIn transactions push a signature
  # (seventy-something bytes) and then their public key
  # (65 bytes) onto the stack:
  match = [ opcodes.OP_PUSHDATA4, opcodes.OP_PUSHDATA4 ]
  if match_decoded(decoded, match):
    return public_key_to_bc_address(decoded[1][1])

  # The Genesis Block, self-payments, and pay-by-IP-address payments look like:
  # 65 BYTES:... CHECKSIG
  match = [opcodes.OP_PUSHDATA4, opcodes.OP_CHECKSIG ]
  if match_decoded(decoded, match):
    return public_key_to_bc_address(decoded[0][1])


  # Pay-by-Bitcoin-address TxOuts look like:
  # DUP HASH160 20 BYTES:... EQUALVERIFY CHECKSIG
  match = [ opcodes.OP_DUP, opcodes.OP_HASH160, opcodes.OP_PUSHDATA4, opcodes.OP_EQUALVERIFY, opcodes.OP_CHECKSIG ]
  if match_decoded(decoded, match):
    return hash_160_to_bc_address(decoded[2][1])

  return "(None)"

what should I add  to recognize the type of transaction( http://copperlarkabe.no-ip.biz/tx/f2c627ec63da1d68142e4c439ac5b6cd2e58390e99a3e18f14bd317f36cc685f)
("33: pubkey CHECKSIG") ?
hayek
Sr. Member
****
Offline Offline

Activity: 371


View Profile
November 13, 2013, 02:38:40 AM
 #568

Question:

It's my understanding you cannot derive a public key from an address. Yet when I give Abe my address it finds my transactions. When I check the database I can't find the address stored anywhere, just the public keys.

Am I missing something in the database? The pubkey_hash column does not appear to be valid for addresses. Is Abe doing anything when it starts to compute the addresses? This is something I expected to find in the db that would be computationally intense to do on the fly otherwise.
emsit
Jr. Member
*
Offline Offline

Activity: 37


View Profile WWW
November 17, 2013, 06:04:29 PM
 #569

I can see with ABE only one block without using database?
Something like https://blockchain.info/rawblock/1

Donations: 1PMQRjDnkuSwpfydQ6zjdunorDeu9gjWmy
m00x!
Member
**
Offline Offline

Activity: 91


View Profile
November 19, 2013, 07:12:32 PM
 #570

What would it take to develop a web based block explorer for I0coin?  Also I need the total coins mined to be displayed.
K1773R
Legendary
*
Offline Offline

Activity: 1526


/dev/null


View Profile
November 21, 2013, 04:52:09 PM
 #571

What would it take to develop a web based block explorer for I0coin?  Also I need the total coins mined to be displayed.
default Abe can handle i0coin

[GPG Public Key]  [Devcoin Builds]  [BBQCoin Builds]  [Multichain Blockexplorer]  [Multichain Blockexplorer - PoS Coins]  [Ufasoft Miner Linux Builds]
BTC/DVC/TRC/FRC: 1K1773RbXRZVRQSSXe9N6N2MUFERvrdu6y ANC/XPM AK1773RTmRKtvbKBCrUu95UQg5iegrqyeA NMC: NK1773Rzv8b4ugmCgX789PbjewA9fL9Dy1 LTC: LKi773RBuPepQH8E6Zb1ponoCvgbU7hHmd EMC: EK1773RxUes1HX1YAGMZ1xVYBBRUCqfDoF BQC: bK1773R1APJz4yTgRkmdKQhjhiMyQpJgfN
eiswuerfel
Sr. Member
****
Offline Offline

Activity: 246


View Profile
November 23, 2013, 06:22:02 AM
 #572

How could i get HunterCoin running? Bitcoin works fine

Code:
python -m Abe.abe --config /home/user/Downloads/bitcoin-abe-master/abe.conf
ddl_implicit_commit=true
create_table_epilogue=''
max_varchar=4294967295
clob_type=CLOB
binary_type=buffer
int_type=str
Created silly table abe_dual
sequence_type=update
limit_style=native
Assigned chain_id 9 to HunterCoin
failed to load /home/user/Downloads/bitcoin-abe-master/testnet/bitcoin.conf: [Errno 2] No such file or directory: u'/home/user/Downloads/bitcoin-abe-master/testnet/bitcoin.conf'
catch_up_rpc: abort
Opened /home/user/Downloads/bitcoin-abe-master/testnet/blk0001.dat
Exception at 89
Failed to catch up {'blkfile_offset': 0, 'blkfile_number': 1, 'chain_id': 9, 'loader': None, 'dirname': u'/home/user/Downloads/bitcoin-abe-master/testnet', 'id': 1}
Traceback (most recent call last):
  File "Abe/DataStore.py", line 2639, in catch_up
    store.catch_up_dir(dircfg)
  File "Abe/DataStore.py", line 2897, in catch_up_dir
    store.import_blkdat(dircfg, ds, blkfile['name'])
  File "Abe/DataStore.py", line 3027, in import_blkdat
    store.import_block(b, chain_ids = chain_ids)
  File "Abe/DataStore.py", line 1758, in import_block
    raise MerkleRootMismatch(b['hash'], tx_hash_array)
MerkleRootMismatch: Block header Merkle root does not match its transactions. block hash=0000000045b53004055a6839c46cce359a2fd6ca2b07ddfea02693a8b30b2836
Abe initialized.
Listening on http://localhost:2750
m00x!
Member
**
Offline Offline

Activity: 91


View Profile
November 28, 2013, 06:24:58 AM
 #573

What would it take to develop a web based block explorer for I0coin?  Also I need the total coins mined to be displayed.
default Abe can handle i0coin

Really?  How so?  I don't see an I0coin option on Abe Search ( http://block.al.tcoin.info/ ).  Please enlighten me.
AWSOM
Member
**
Offline Offline

Activity: 90


View Profile
November 28, 2013, 12:39:33 PM
 #574

I'm looking to set up a local blockchain/blockexplorer site with API functionality. Abe seems to do a lot, but as far as I could find it does not support the blockchain API option "addressbalance". Could anyone confirm this before I set up Abe in my Ubuntu server? Does someone maybe know a blockchain/blockexplorer knockoff that does support a likewise option?

Donations to help me save penguins stuck in the desert are welcome to: 
Bitcoin: 14h1puQLxPxZmGio3LC6Ke4259EDekfuqS Megacoin: MDgc7txspkyc9bdveUyKrjWKY2xhiexjCB
Lottocoin: Lz4rWa4zyo498faSMAV47u81wdcCCNB5TpQuarkcoin: QQWDUgTGCNKA5UEBDqXVongu9RU6QpBXfd
Lexiko
Sr. Member
****
Offline Offline

Activity: 358


View Profile
November 28, 2013, 03:07:57 PM
 #575

4 days
SSD/i7 2600 16Gb ram
mysql InnoDb
bitcoin base
current on: block_tx 206973 8681883
is this ok?
Can anybody upload the dump of bitcoin mysql database. Would be very grateful.
Or share your my.ini settings  , maybe I'am something doing wrong.
Btw, i'am using this command line options :
 --commit-bytes=1000000

moderate
Jr. Member
*
Offline Offline

Activity: 56

nearly dead


View Profile
November 28, 2013, 08:49:39 PM
 #576

4 days

4 days for starting up this block explorer ? I wasn't aware it was that slow.
crabel
Newbie
*
Offline Offline

Activity: 18


View Profile
December 10, 2013, 03:59:52 AM
 #577

FWIW, I got abe up and running natively on Mac OS 10.9. It was painful, OSX doesn't like python... I lost a weekend, if anyone wants a discussion of how and what I used to get the binaries compiled give me a shout.

Abe through MySQL allows me to directly access the database using Mathematica for data analytics.  Very nice tool.  Thanks John!

BTW, where is the data for the number of bitcoins in circulation? I can't seem to find the correct db location.
K1773R
Legendary
*
Offline Offline

Activity: 1526


/dev/null


View Profile
December 10, 2013, 07:19:34 AM
 #578

4 days
SSD/i7 2600 16Gb ram
mysql InnoDb
bitcoin base
current on: block_tx 206973 8681883
is this ok?
Can anybody upload the dump of bitcoin mysql database. Would be very grateful.
Or share your my.ini settings  , maybe I'am something doing wrong.
Btw, i'am using this command line options :
 --commit-bytes=1000000
so sad... use tmpfs!

[GPG Public Key]  [Devcoin Builds]  [BBQCoin Builds]  [Multichain Blockexplorer]  [Multichain Blockexplorer - PoS Coins]  [Ufasoft Miner Linux Builds]
BTC/DVC/TRC/FRC: 1K1773RbXRZVRQSSXe9N6N2MUFERvrdu6y ANC/XPM AK1773RTmRKtvbKBCrUu95UQg5iegrqyeA NMC: NK1773Rzv8b4ugmCgX789PbjewA9fL9Dy1 LTC: LKi773RBuPepQH8E6Zb1ponoCvgbU7hHmd EMC: EK1773RxUes1HX1YAGMZ1xVYBBRUCqfDoF BQC: bK1773R1APJz4yTgRkmdKQhjhiMyQpJgfN
Amitabh S
Legendary
*
Offline Offline

Activity: 976


View Profile
December 22, 2013, 06:07:32 AM
 #579

How realtime are Abe's updates?

Anyone willing to run "Abe as a service" for various alt coins? Its too much resources for me to host Abe but I need a private instance running all the time.

Amitabh S
Legendary
*
Offline Offline

Activity: 976


View Profile
December 22, 2013, 06:09:24 AM
 #580

... OSX doesn't like python...

Neither does windows. I lost a weekend too but could not get pycrypto to install. So in the end .. no abe.
A java version would be awesome!

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 »
  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!