Branch: refs/heads/master
Home: https://github.com/conformal/btcd
Commit: d702e371419e64c20e3d93326a84af4769edd675
https://github.com/conformal/btcd/commit/d702e371419e64c20e3d93326a84af4769edd675
Author: Josh Rickmar <[email protected]>
Date: 2014-03-28 (Fri, 28 Mar 2014)
Changed paths:
M rpcwebsocket.go
Log Message:
-----------
Update websocket clients with rescan progress.
This change periodically (about every 10 seconds) notifies the
connected websocket client of the height of the last processed block
as part of the rescan. This enables clients to listen for the
notification and keep track of how much progress a rescan has made
even without any results being found. If the websocket connection is
lost during the rescan, on reconnect, clients may safely start over at
the last notified height.