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)
示例#2
0
 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
示例#4
0
        def call_raw(self, msg):
            try:
                resp = BaseClient.call_raw(self, msg)
            except ConnectionError:
                self.bad = True
                raise

            return resp
示例#5
0
 def __init__(self, transport, handler, plugin):
     BaseClient.__init__(self, transport)
     ProtocolMixin.__init__(self, transport)
     KeepKeyClientBase.__init__(self, handler, plugin, proto)
示例#6
0
 def __init__(self, transport, handler, plugin):
     BaseClient.__init__(self, transport)
     ProtocolMixin.__init__(self, transport)
     KeepKeyClientBase.__init__(self, handler, plugin, proto)
示例#7
0
文件: client.py 项目: bontaq/electrum
 def __init__(self, transport, handler, plugin, hid_id):
     BaseClient.__init__(self, transport)
     ProtocolMixin.__init__(self, transport)
     TrezorClientBase.__init__(self, handler, plugin, hid_id, proto)