conformal/btcsim — pull request #28 by tuxcanfly (2014-08-07 07:31:14+00:00)
Title: shutdown if miner client fails to connect

Right now, there's a hang which can be reproduced by hardcoding `1` in place of `*maxConnRetries` while trying to connect to the miner:

https://github.com/conformal/btcsim/blob/master/miner.go#L110

We should cleanup and shutdown instead.