Skip to content
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

Problems with large transactions and problems with a lot of address history #94

Closed
Teimoon opened this issue Jan 29, 2021 · 2 comments
Closed

Comments

@Teimoon
Copy link

Teimoon commented Jan 29, 2021

Hello there.

This bitcoin-tx
0048c164bf6da763bcae4983d570af709d96310987c6ae3cbde4f3ecb81a0e57
with many outputs delivers the error:
json.decoder.JSONDecodeError: Unterminated string starting at: line 1 column 99998 (char 99997)
command: get_from_electrum('blockchain.transaction.get',[txhash,True])

Another issue:
An very busy address with many transactions delivers the error:
#{'jsonrpc': '2.0', 'error': {'code': 1, 'message': 'history too large'}, 'id': 0}
command: get_from_electrum('blockchain.scripthash.get_history', scripthash)

any ideas?

thank you.

@ecdsa
Copy link
Member

ecdsa commented Jan 29, 2021

the transaction loads normally in Electrum
I have no idea what get_from_electrum is, but you should not ask us to debug it

"history too large" is a server error message. we are working on a protocol update to deal with those cases.

@ecdsa ecdsa closed this as completed Jan 29, 2021
@Teimoon
Copy link
Author

Teimoon commented Feb 2, 2021

I ask my electrumx server via socket and json from python.
The first error "unterminated string" is probably a buffer error.

I was not complaining. I like your work.

Because of the second error, i will wait for the protocol update.

Thank you for answering.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants