Esempio n. 1
0
 def __init__(self, parent, config, name):
     BasePlugin.__init__(self, parent, config, name)
     self.listener = None
     self.obj = QReceiveSignalObject()
     self.obj.cosigner_receive_signal.connect(self.on_receive)
     self.keys = []  # type: List[Tuple[str, str, ElectrumSysWindow]]
     self.cosigner_list = []  # type: List[Tuple[ElectrumSysWindow, str, bytes, str]]
     self._init_qt_received = False
Esempio n. 2
0
 def __init__(self, parent, config, name):
     BasePlugin.__init__(self, parent, config, name)
     self.imap_server = self.config.get('email_server', '')
     self.username = self.config.get('email_username', '')
     self.password = self.config.get('email_password', '')
     if self.imap_server and self.username and self.password:
         self.processor = Processor(self.imap_server, self.username,
                                    self.password, self.on_receive)
         self.processor.start()
     self.obj = QEmailSignalObject()
     self.obj.email_new_invoice_signal.connect(self.new_invoice)
     self.wallets = set()  # type: Set[Abstract_Wallet]
Esempio n. 3
0
 def __init__(self, parent, config, name):
     BasePlugin.__init__(self, parent, config, name)
Esempio n. 4
0
 def __init__(self, parent, config, name):
     BasePlugin.__init__(self, parent, config, name)
     self.device = self.keystore_class.device
     self.keystore_class.plugin = self
     self._ignore_outdated_fw = False
Esempio n. 5
0
 def __init__(self, parent, config, name):
     BasePlugin.__init__(self, parent, config, name)
     self.target_host = 'labels.electrum.syscoin.org'
     self.wallets = {}
Esempio n. 6
0
 def __init__(self, parent, config, name):
     BasePlugin.__init__(self, parent, config, name)
     self.wallet_class.plugin = self
     self.requesting = False
Esempio n. 7
0
 def __init__(self, parent, config, name):
     BasePlugin.__init__(self, parent, config, name)
     if self.is_available():
         self.modem_config = amodem.config.slowest()
         self.library_name = {'Linux': 'libportaudio.so'}[platform.system()]