'Check the initial state of the wallet.  Subscribe to all its
addresses, and request any transactions in its address history
we don\'t have.'

def initialize(self):

    for history in self.wallet.history.values():
        if (history == ['*']):
            continue
        self.request_missing_txs(history)
    if self.requested_tx:
        self.print_error('missing    tx', self.requested_tx)
    self.subscribe_to_addresses(set(self.wallet.get_addresses()))
