hi guys,
I'm running pretty active and quite big (30k addresses) wallet using armory 0.95.1 - in some cases when I'm trying to create unsigned transaction I'm getting error from Transaction.py, lines around 2169:
cppPrevTx = TheBDM.bdv().getTxByHash(txhash)
if not cppPrevTx:
raise InvalidHashError, 'Could not find the referenced tx'
I'm not getting InvalidHashError, but below:
File "/home/armory/BitcoinArmory-0.95.1/armoryengine/Transaction.py", line 2259, in createFromTxOutSelection
return self.createFromPyTx(thePyTx, pubKeyMap, txMap, p2shMap)
File "/home/armory/BitcoinArmory-0.95.1/armoryengine/Transaction.py", line 2169, in createFromPyTx
cppPrevTx = TheBDM.bdv().getTxByHash(txhash)
File "/home/armory/BitcoinArmory-0.95.1/CppBlockUtils.py", line 1508, in getTxByHash
def getTxByHash(self, *args): return _CppBlockUtils.BlockDataViewer_getTxByHash(self, *args)
RuntimeError: unexpected return value
My first guess was that somehow this transaction is missing in db - and that's why its not being returned.
There is a piece of code called 'resolve missing tx hashes ' - could it be that in case tx hash is missing above function can return unexpected return value? Why resolving missing hashes is needed anyway?
Second thing to consider is transaction size - tx am missing has 26 inputs and thirteen outputs, tx hash is 1cc0cd0ed909dc5f7fa75e34821c7909a6daac7db47687a41c4dfea7d4f17972
any ideas why armorydb could have problems with serializing/unserializing/storing it?
Any help greatly appreciated