tuxcanfly/btcsim — pull request #2 by kargakis (2014-07-08 17:46:31+00:00)
Title: Move btcwallet kill, receive from spendAfter in a select

The reason behind ```btcwallet``` process kill being removed from ```a.Start``` is that it blocks the goroutine sending transactions. The process dies and the rpc call to ```SendFromMinConf``` never returns.

Also receiving from ```spendAfter``` is better to be done inside a select with ```a.quit```, since there is a possibility of a simulation ending before an actor acquires a mature coinbase.