예제 #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 = []
     self.cosigner_list = []
예제 #2
0
파일: qt.py 프로젝트: sibcool/electrum-pcn
 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, ElectrumWindow]]
     self.cosigner_list = []  # type: List[Tuple[ElectrumWindow, str, bytes, str]]
예제 #3
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 = []
     self.cosigner_list = []
예제 #4
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()]
예제 #5
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()]
예제 #6
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()
예제 #7
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]
예제 #8
0
    def __init__(self, parent, config, name):
        BasePlugin.__init__(self, parent, config, name)
        self.base_dir = config.electrum_path()+'/revealer/'

        if self.config.get('calibration_h') is None:
            self.config.set_key('calibration_h', 0)
        if self.config.get('calibration_v') is None:
            self.config.set_key('calibration_v', 0)

        self.calibration_h = self.config.get('calibration_h')
        self.calibration_v = self.config.get('calibration_v')

        self.version = '1'
        self.size = (159, 97)
        self.f_size = QSize(1014*2, 642*2)
        self.abstand_h = 21
        self.abstand_v = 34
        self.calibration_noise = int('10' * 128)
        self.rawnoise = False
        make_dir(self.base_dir)
예제 #9
0
 def __init__(self, parent, config, name):
     BasePlugin.__init__(self, parent, config, name)
     self.target_host = 'labels.electrum.org'
     self.wallets = {}
예제 #10
0
 def __init__(self, parent, config, name):
     BasePlugin.__init__(self, parent, config, name)
     self.device = self.keystore_class.device
     self.keystore_class.plugin = self
예제 #11
0
 def __init__(self, parent, config, name):
     BasePlugin.__init__(self, parent, config, name)
예제 #12
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
예제 #13
0
 def __init__(self, parent, config, name):
     BasePlugin.__init__(self, parent, config, name)
예제 #14
0
 def __init__(self, parent, config, name):
     BasePlugin.__init__(self, parent, config, name)
     self.device = self.keystore_class.device
     self.keystore_class.plugin = self