Itay Weinberger
Itay Weinberger
If you have an JSON key that contains some null values it will throw an exception when you try to save the key. `TL;DR` demo of the issue: https://gist.github.com/itayw/7566317 JSON...
The current use of setInterval may cause the application to open additional connections and attempts ignoring hangs and errors. I suggest moving to setTimeout which is triggered at the end...
Some re-factoring is needed to the main executable code, minor changes, mainly for aesthetics and flow.
Blockchain provide an API key that increases the limits, maybe it would be good to add support to specify an API key (if one is available). Registration to the API...
The current flow is set with setTimeout that will query the service for more blocks, regardless if there are any. I think it would be wise to add a check...