1. Fixed a bug, which reads certs even TLS is disabled
2. Persists Stratum TCP connection with auto-reconnect.
(retry backoff increases from 1s to 60s maximum)
3. Stratum update jobs on previous notifications are canceled
when a new notification arrives.
Usually, the jobs are so short and completed immediately.
However, if the Stratum connection is broken, this prevents
the bridge from accumulating stale jobs.
* rpcclient: Export sendCmd and response
This facilitates using custom commands with rpcclient.
See https://github.com/btcsuite/btcd/issues/1083
* rpcclient: Export receiveFuture
This facilitates using custom commands with rpcclient.
See https://github.com/btcsuite/btcd/issues/1083
* rpcclient: Add customcommand example
* rpcclient: remove "Namecoin" from customcommand readme heading
This commit contains the entire btcrpcclient repository along with
several changes needed to move all of the files into the rpcclient
directory in order to prepare it for merging. This does NOT update btcd
or any of the other packages to use the new location as that will be
done separately.
- All import paths in the old btcrpcclient files have been changed to
the new location
- All references to btcrpcclient as the package name have been changed to
rpcclient