-
Notifications
You must be signed in to change notification settings - Fork 202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parsed transaction don't have all the data #281
Comments
I understand the library tries to get addresses from witness data, and it's certainly possible for it to fail in some cases. As mentioned here. For those stumbling upon this in future, as that stackexchange answer suggests, it's not recommended to do this. A better (more reliable) way to get addresses of the inputs being spent is to make another RPC call of |
Good point, I will take a look into it. |
I've also bumped into this issue while bulk-exporting the blocks into another format. |
I get the same error, even with bitcoinlib/bitcoinlib/scripts.py Line 336 in a61f490
only after it runs for ~24hrs on all incoming transactions! If this is intended then why does the warning go away after restarting the app? bitcoinlib==0.6.10 |
Example snippet:
It logs the error
Malformed script, not enough data found
but returns the Transaction object.This Transaction object has some empty params.
For eg: Notice that the
address
field is empty in theinputs
I tried leaving a comment on my previously closed issue, but no response, so posting as a new issue. Also, noticed the same behavior on blocksmurfer, so I assume this is known?
The text was updated successfully, but these errors were encountered: