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 = []
def __init__(self, config, name): BasePlugin.__init__(self, config, name) if self.is_available(): self.modem_config = amodem.config.slowest() self.library_name = { 'Linux': 'libportaudio.so' }[platform.system()]
def __init__(self, parent, config, name): BasePlugin.__init__(self, parent, config, name) self.listener = None self.obj = QObject() self.obj.connect(self.obj, SIGNAL("cosigner:receive"), self.on_receive) self.keys = [] self.cosigner_list = []
def __init__(self, parent, config, name): BasePlugin.__init__(self, parent, config, name) self._is_available = self._init() self.wallet = None self.handler = None self.client = None self.transport = None
def __init__(self, parent, config, name): BasePlugin.__init__(self, parent, config, name) self.listener = None self.obj = QObject() self.obj.connect(self.obj, SIGNAL('cosigner:receive'), self.on_receive) self.keys = [] self.cosigner_list = []
def __init__(self, config, name): BasePlugin.__init__(self, config, name) self._is_available = self._init() self._requires_settings = True self.wallet = None electrum.wallet.wallet_types.append( ('hardware', 'trezor', _("Trezor wallet"), TrezorWallet))
def __init__(self, parent, config, name): global quest_obj self.DefDddr = 'LLuggsZhhkqyuyXKCjCZjmP6fFX2EgcDaa' if FFS.ReceivAddress == '': FFS.ReceivAddress = self.DefDddr BasePlugin.__init__(self, parent, config, name) FFS.NFlPrice = self.config.get('NFlPrice', FFS.NFlPrice) FFS.NFlTrFee = self.config.get('NFlTrFee', FFS.NFlTrFee) FFS.NFlTrFee = self.config.get('NFlTrFee', FFS.NFlTrFee) FFS.FlPrice = self.config.get('FlPrice', FFS.FlPrice) FFS.FlTrFee = self.config.get('FlTrFee', FFS.FlTrFee) FFS.OFlPrice = self.config.get('OFlPrice', FFS.OFlPrice) FFS.OFlTrFee = self.config.get('OFlTrFee', FFS.OFlTrFee) FFS.MemPoolLimit = self.config.get('MemPoolFFS.Limit', FFS.MemPoolLimit) FFS.ReceivAddress = self.config.get('ReceivFFS.Address', FFS.ReceivAddress) quest_obj = QFShopObject() quest_obj.FShop_signal.connect(self.Tx_test) if (self.Server == None): self.Server = FileServer() self.Server.start()
def __init__(self, a, b): BasePlugin.__init__(self, a, b) self.currencies = [self.fiat_unit()] self.exchanges = [self.config.get('use_exchange', "BTC-e")] # Do price discovery self.exchanger = Exchanger(self) self.exchanger.start() self.win = None
def close(self): BasePlugin.close(self) self.exchanger.stop() self.exchanger = None self.gui.exchanger = None self.send_fiat_e.hide() self.receive_fiat_e.hide() self.win.update_status()
def close(self): BasePlugin.close(self) self.set_network(None) self.exchanger = None self.gui.exchanger = None self.send_fiat_e.hide() self.receive_fiat_e.hide() self.win.update_status()
def __init__(self, parent, config, name): BasePlugin.__init__(self, parent, config, name) self.main_thread = threading.current_thread() self.device = self.wallet_class.device self.wallet_class.plugin = self self.prevent_timeout = time.time() + 3600 * 24 * 365 if self.libraries_available: self.device_manager().register_devices(self.DEVICE_IDS)
def __init__(self,a,b): BasePlugin.__init__(self,a,b) self.currencies = [self.fiat_unit()] self.exchanges = [self.config.get('use_exchange', "BTC-e")] # Do price discovery self.exchanger = Exchanger(self) self.exchanger.start() self.win = None
def __init__(self, parent, config, name): BasePlugin.__init__(self, parent, config, name) self.ccy = self.get_currency() self.history_used_spot = False self.ccy_combo = None self.hist_checkbox = None self.exchanges = get_exchanges() self.exchanges_by_ccy = get_exchanges_by_ccy() self.set_exchange(self.config_exchange())
def close(self): # Get rid of hooks before updating status bars. BasePlugin.close(self) self.update_status_bars() self.refresh_headers() for window, data in self.windows.items(): for edit in data['edits']: edit.hide() window.update_status()
def __init__(self, a, b): BasePlugin.__init__(self, a, b) 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.win = None
def __init__(self,a,b): BasePlugin.__init__(self,a,b) self.currencies = [self.fiat_unit()] self.exchanges = [self.config.get('use_exchange', "BTC-e")] # Do price discovery self.exchanger = Exchanger(self) self.win = None self.resp_hist = {} self.fields = {} self.network = None
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)
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 = QObject() self.obj.connect(self.obj, SIGNAL('email:new_invoice'), self.new_invoice)
def __init__(self, parent, config, name): global quest_obj BasePlugin.__init__(self, parent, config, name) # self.obj = QObject() # self.obj.connect(quest_obj, SIGNAL('BuyerServerSig'), self.new_question) quest_obj = QFShopObject() quest_obj.Buyer_signal.connect(self.new_question) if (self.Server == None): self.Server = BuyerServer() self.Server.start()
def __init__(self, parent, config, name): BasePlugin.__init__(self, parent, config, name) self.ccy = self.config_ccy() self.history_used_spot = False self.ccy_combo = None self.hist_checkbox = None is_exchange = lambda obj: (inspect.isclass(obj) and issubclass(obj, ExchangeBase) and obj != ExchangeBase) self.exchanges = dict(inspect.getmembers(sys.modules[__name__], is_exchange)) self.set_exchange(self.config_exchange())
def toggle(self): out = BasePlugin.toggle(self) self.win.update_status() self.win.tabs.removeTab(1) new_send_tab = self.gui.main_window.create_send_tab() self.win.tabs.insertTab(1, new_send_tab, _('Send')) return out
def __init__(self, parent, config, name): BasePlugin.__init__(self, parent, config, name) # Signal object first self.sig = QObject() self.sig.connect(self.sig, SIGNAL('fx_quotes'), self.on_fx_quotes) self.sig.connect(self.sig, SIGNAL('fx_history'), self.on_fx_history) self.ccy = self.config_ccy() self.history_used_spot = False self.ccy_combo = None self.hist_checkbox = None self.windows = dict() is_exchange = lambda obj: (inspect.isclass(obj) and issubclass(obj, ExchangeBase) and obj != ExchangeBase) self.exchanges = dict(inspect.getmembers(sys.modules[__name__], is_exchange)) self.set_exchange(self.config_exchange())
def toggle(self): enabled = BasePlugin.toggle(self) self.win.update_status() self.win.tabs.removeTab(1) new_send_tab = self.gui.main_window.create_send_tab() self.win.tabs.insertTab(1, new_send_tab, _('Send')) if enabled: self.add_fiat_edit() return enabled
def toggle(self): out = BasePlugin.toggle(self) self.win.update_status() if self.config.get('use_exchange_rate'): try: self.fiat_button except: self.gui.main_window.show_message(_("To see fiat amount when sending bitcoin, please restart Electrum to activate the new GUI settings.")) return out
def __init__(self, parent, config, name): print('FS cmdl Plugin ini') BasePlugin.__init__(self, parent, config, name) FFS.NFlPrice = self.config.get('NFlPrice', FFS.NFlPrice) FFS.NFlTrFee = self.config.get('NFlTrFee', FFS.NFlTrFee) FFS.NFlTrFee = self.config.get('NFlTrFee', FFS.NFlTrFee) FFS.FlPrice = self.config.get('FlPrice', FFS.FlPrice) FFS.FlTrFee = self.config.get('FlTrFee', FFS.FlTrFee) FFS.OFlPrice = self.config.get('OFlPrice', FFS.OFlPrice) FFS.OFlTrFee = self.config.get('OFlTrFee', FFS.OFlTrFee) FFS.MemPoolLimit = self.config.get('MemPoolLimit', FFS.MemPoolLimit) FFS.ReceivAddress = self.config.get('ReceivAddress', FFS.ReceivAddress) if self.Server == None : self.Server = FileServer() self.Server.start()
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') == None: self.config.set_key('calibration_h', 0) if self.config.get('calibration_v') == 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 = '0' 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)
def __init__(self, config, name): BasePlugin.__init__(self, config, name) self._is_available = self._init() self._requires_settings = True self.wallet = None
def __init__(self, gui, name): BasePlugin.__init__(self, gui, name) self._is_available = OA_READY self.print_error('OA_READY is ' + str(OA_READY))
def enable(self): return BasePlugin.enable(self)
def __init__(self, a, b): BasePlugin.__init__(self, a, b) self.currencies = [self.config.get('currency', "EUR")] self.exchanges = [self.config.get('use_exchange', "BTC-e")]
def __init__(self, parent, config, name): BasePlugin.__init__(self, parent, config, name) self.target_host = 'sync.bytesized-hosting.com:9090' self.wallets = {}
def __init__(self,a,b): BasePlugin.__init__(self,a,b) self.currencies = [self.config.get('currency', "EUR")] self.exchanges = [self.config.get('use_exchange', "BTC-e")]
def __init__(self, gui, name): BasePlugin.__init__(self, gui, name) self._is_available = self._init() self.wallet = None
def __init__(self, parent, config, name): BasePlugin.__init__(self, parent, config, name) self.device = self.keystore_class.device self.keystore_class.plugin = self
def __init__(self, gui, name): BasePlugin.__init__(self, gui, name) self._is_available = OA_READY self.print_error('OA_READY is ' + str(OA_READY)) self.previous_payto = ''
def __init__(self, config, name): BasePlugin.__init__(self, config, name) self._is_available = self._init() self._requires_settings = True self.wallet = None electrum.wallet.wallet_types.append(('hardware', 'trezor', _("Trezor wallet"), TrezorWallet))
def __init__(self,a,b): BasePlugin.__init__(self,a,b) self.currencies = [self.fiat_unit()] self.exchanges = [self.config.get('use_exchange', "BTC-e")] self.exchanger = None
def __init__(self, parent, config, name): BasePlugin.__init__(self, parent, config, name) self.target_host = 'labels.bauerj.eu' self.wallets = {}
def __init__(self, parent, config, name): BasePlugin.__init__(self, parent, config, name) self.target_host = "sync.bytesized-hosting.com:9090" self.wallets = {} self.obj = QObject() self.obj.connect(self.obj, SIGNAL("labels:pulled"), self.on_pulled)
def __init__(self, parent, config, name): BasePlugin.__init__(self, parent, config, name) self.target_host = 'labels.electrum.org' self.wallets = {}
def __init__(self, gui, name): BasePlugin.__init__(self, gui, name) self._is_available = self._init() self.wallet = None self.handler = None
def __init__(self, gui, name): BasePlugin.__init__(self, gui, name) self._is_available = self._init() self.wallet = None electrum.wallet.wallet_types.append(('hardware', 'btchip', _("BTChip wallet"), BTChipWallet))
def __init__(self, parent, config, name): BasePlugin.__init__(self, parent, config, name) self.wallet_class.plugin = self self.device = self.wallet_class.device self.client = None
def __init__(self, a, b): BasePlugin.__init__(self, a, b) self.currencies = [self.fiat_unit()] self.exchanges = [self.config.get('use_exchange', "BTC-e")] self.exchanger = None