Transaction history not updated in Explorer since a few days.

+2 votes

->See Title.

sudo python -m Mce.abe --config chain1.conf --commit-bytes 100000 --no-serve
Failed to catch up {'blkfile_offset': 0, 'blkfile_number': 1, 'chain_id': 1, 'loader': u'default', 'conf': None, 'dirname': u'/home/PwCAdmin/.multichain/chain1', 'id': 10}
Traceback (most recent call last):
  File "Mce/DataStore.py", line 2899, in catch_up
    if not store.catch_up_rpc(dircfg):
  File "Mce/DataStore.py", line 3132, in catch_up_rpc
    store.import_block(block, chain = chain)
  File "Mce/DataStore.py", line 1201, in import_block
    tx['tx_id'] = store.import_tx(tx, pos == 0, chain)
  File "Mce/DataStore.py", line 1961, in import_tx
    pubkey_id = store.script_to_pubkey_id(chain, txout['scriptPubKey'])
  File "Mce/DataStore.py", line 2819, in script_to_pubkey_id
    script_type, data = chain.parse_txout_script(script)
  File "Mce/Chain/__init__.py", line 247, in parse_txout_script
    return chain.parse_decoded_txout_script(decoded)
  File "Mce/Chain/__init__.py", line 270, in parse_decoded_txout_script
    if len(decoded) >= 6 and decoded[2][1].startswith("spkk"):
AttributeError: 'NoneType' object has no attribute 'startswith'

-------------------------------------------------

sudo python -m Mce.abe --config chain1.conf
Failed to catch up {'blkfile_offset': 0, 'blkfile_number': 1, 'chain_id': 1, 'loader': u'default', 'conf': None, 'dirname': u'/home/PwCAdmin/.multichain/chain1', 'id': 11}
Traceback (most recent call last):
  File "Mce/DataStore.py", line 2899, in catch_up
    if not store.catch_up_rpc(dircfg):
  File "Mce/DataStore.py", line 3132, in catch_up_rpc
    store.import_block(block, chain = chain)
  File "Mce/DataStore.py", line 1199, in import_block
    tx['tx_id'] = store.import_and_commit_tx(tx, pos == 0, chain)
  File "Mce/DataStore.py", line 2221, in import_and_commit_tx
    tx_id = store.import_tx(tx, is_coinbase, chain)
  File "Mce/DataStore.py", line 1961, in import_tx
    pubkey_id = store.script_to_pubkey_id(chain, txout['scriptPubKey'])
  File "Mce/DataStore.py", line 2819, in script_to_pubkey_id
    script_type, data = chain.parse_txout_script(script)
  File "Mce/Chain/__init__.py", line 247, in parse_txout_script
    return chain.parse_decoded_txout_script(decoded)
  File "Mce/Chain/__init__.py", line 270, in parse_decoded_txout_script
    if len(decoded) >= 6 and decoded[2][1].startswith("spkk"):
AttributeError: 'NoneType' object has no attribute 'startswith'
Abe initialized.
Listening on http://0.0.0.0:2750
Launched background thread to catch up tx every 60.0 seconds

-------------------------------------------------

https://drive.google.com/file/d/1KYwlwL9Fr0kT5yisseRnfYdykEc1Sa_m/view?usp=sharing
https://drive.google.com/file/d/1G89gJLm5lr7x-3qp19y-gcxjw8GpT1pJ/view?usp=sharing

asked Nov 27, 2019 by JoToTheHannes

1 Answer

+1 vote
It looks like the Explorer is choking on a particular transaction in a block and we would need to take a detailed look at this. Do you have an idea about any unusual transactions in that block that it's getting stuck on, i.e. the block immediately after the last one that the Explorer is showing?
answered Nov 28, 2019 by MultiChain
I think it happened during the multisignature-transactions tutorial (https://www.multichain.com/developers/multisignature-transactions/).
My last shown Transaction was creating the Stream9 in the "Creating a multisig-only stream" section.
Could it be that the transaction was granting a permission for that stream?
It could be. Do you know a possible solution? Thank you already!
...