Thanks again for your reply roundrobin,
I already checked that, and I discarded it as the source of my problem because my version of pycrypto is 2.6.2.
May I ask you what version of abe are you running? Mine is 0.8pre:
i'm running the exact same version. Did you change the module import name in Abe/util.py? Because new pycrypto calls it RIPEMD not RIPEMD160. it should look like this:
try:
import Crypto.Hash.RIPEMD as RIPEMD160 <----
except Exception:
import ripemd_via_hashlib as RIPEMD160
btw you may need to rebuild the whole database between these changes to make things work.
Nothing, still the same. I'm about to give up with abe, it's a complete mess and it does not look like it's going to change, judging by how often the files are updated on its github account...
Anyway, thank you very much for your help roundrobin.
I think I found it. In abe.py, at about line ~570, I found:
# change by chenhongyan
#-is_stake_chain = chain.has_feature('nvc_proof_of_stake')
is_stake_chain = True
is_stake_block = is_stake_chain and b['is_proof_of_stake']
I'm not a python guru, but I can't understand why 'is_stake_chain' is always given True value, being the chain PoS or not. But anyway, my LTC clone coin is not PoS, so I simply commented that line and uncommented and modified a bit the previous one, resulting in this code:
# change by chenhongyan
is_stake_chain = chain.has_feature('nvc_proof_of_stake')
#is_stake_chain = True
is_stake_block = is_stake_chain and b['is_proof_of_stake']
And now it works. I still have to reassure that all values on the web output are right, but they look fine so far.
Anyway, many thanks for all your replies roundrobin.
P.S.: I still think that Abe is a huge mess...