def __init__(self, transport, ask_for_pin_fun, ask_for_pass_fun, passphrase_encoding): keepkey_ProtocolMixin.__init__(self, transport, ask_for_pin_fun, ask_for_pass_fun, passphrase_encoding) MyKeepkeyTextUIMixin.__init__(self, transport, ask_for_pin_fun, ask_for_pass_fun, passphrase_encoding) keepkey_BaseClient.__init__(self, transport)
def __init__(self, transport, handler, plugin): BaseClient.__init__(self, transport) ProtocolMixin.__init__(self, transport) assert hasattr(self, 'tx_api') # ProtocolMixin already constructed? self.proto = proto self.device = plugin.device self.handler = handler self.tx_api = plugin self.msg = None self.creating_wallet = False self.used()
def call_raw(self, msg): try: resp = BaseClient.call_raw(self, msg) except ConnectionError: self.bad = True raise return resp
def __init__(self, transport, handler, plugin): BaseClient.__init__(self, transport) ProtocolMixin.__init__(self, transport) KeepKeyClientBase.__init__(self, handler, plugin, proto)
def __init__(self, transport, handler, plugin, hid_id): BaseClient.__init__(self, transport) ProtocolMixin.__init__(self, transport) TrezorClientBase.__init__(self, handler, plugin, hid_id, proto)