def __init__(self, wallet, testing_mode=False, carol_class=CoinSwapCarol,
                 fail_carol_state=None):
        self.testing_mode = testing_mode
        self.wallet = wallet
        self.carol_class = carol_class
        self.fail_carol_state = fail_carol_state
        self.carols = {}
        self.fee_policy = FeePolicy(cs_single().config)
        self.update_status()
        jsonrpc.JSONRPC.__init__(self)