In addition to moving BWS client side, create a flag for insight-api (and bitcore) to allow people to "announce" their insight nodes (similar to how Electrum's server software announces itself to the clients)
Then when a person connects, allow an argument to specify a whitelist of one or more ip/urls, if not provided, randomly pick an announced nodes.
In addition to moving BWS client side, create a flag for insight-api (and bitcore) to allow people to "announce" their insight nodes (similar to how Electrum's server software announces itself to the clients)
Then when a person connects, allow an argument to specify a whitelist of one or more ip/urls, if not provided, randomly pick an announced nodes.