Closed mmvds closed 2 years ago
I tested your script with a local node endpoint and experienced no connection problems, so I guess it is a (probably intended) throttling limitation of the public endpoints..
I guess the best solution is to host your own nodes, as you will probably improve performance significantly even without using threads.
ok, thank you very much! will check it
I've tried to use Threading to increase an execution speed simple example - get hashes for blocks in range(11704730, 11704741) I wrote the following:
when I run, it works well for several blocks and after that I get "socket is already closed" error
so, we lost several blocks is there any way how to avoid this issue?