I'm parsing the blockchain to extract certain information I need for a script.
One thing I do is parsing transactions. What I do is:
This works on most of the transactions (>99%) but some are very huge and the bitcoin client cant handle them. I wonder what else can handle them if not bitcoind itself. The error I get in bitcoind:
TX decode failed (code -22)
Thats because it cant accept very long arguments. My ruby script dies with
Arguement list too long - (Errno::E2BIG)
How to decode such transactions? Here are some examples:
Update: I just tried to paste the rawtransaction to this online parser and this one decodes that transaction without any problems. How is that possible programmatically?