Home
last modified time | relevance | path

Searched refs:format_amount_and_units (Results 1 – 22 of 22) sorted by relevance

/dports/finance/electrum/Electrum-4.1.5/electrum/gui/kivy/uix/dialogs/
H A Dconfirm_tx_dialog.py156 self.ids.fee_label.text = self.app.format_amount_and_units(fee)
159 self.ids.amount_label.text = self.app.format_amount_and_units(amount)
163 self.extra_fee = self.app.format_amount_and_units(x_fee_amount)
H A Dlightning_channels.py423 self.capacity = self.app.format_amount_and_units(chan.get_capacity())
468 self.capacity = self.app.format_amount_and_units(chan.get_capacity())
477 self.can_send = self.app.format_amount_and_units(chan.available_to_spend(LOCAL) // 1000)
478 self.can_receive = self.app.format_amount_and_units(chan.available_to_spend(REMOTE) // 1000)
634 item.capacity = self.app.format_amount_and_units(chan.get_capacity())
664 self.can_send = self.app.format_amount_and_units(lnworker.num_sats_can_send())
665 self.can_receive = self.app.format_amount_and_units(lnworker.num_sats_can_receive())
677 self.fmt_amt = self.app.format_amount_and_units
H A Daddresses.py215 self.balance = self.app.format_amount_and_units(balance)
247 ci['amount'] = self.app.format_amount_and_units(balance)
H A Dbump_fee_dialog.py97 self.ids.old_fee.value = self.app.format_amount_and_units(self.init_fee)
H A Dlightning_tx_dialog.py116 format_amount = self.app.format_amount_and_units
H A Ddscancel_dialog.py79 self.ids.old_fee.value = self.app.format_amount_and_units(self.init_fee)
H A Drequest_dialog.py100 self.amount_str = self.app.format_amount_and_units(self.amount_sat)
H A Dinvoice_dialog.py101 self.amount_str = self.app.format_amount_and_units(self.amount_sat)
H A D__init__.py212 value = self.app.format_amount_and_units(o.value)
H A Dlightning_open_channel.py152 …self.amount = self.app.format_amount_and_units(self.lnaddr.amount * COIN + fee * 2) # FIXME magic…
H A Dtx_dialog.py139 format_amount = self.app.format_amount_and_units
/dports/finance/electrum/Electrum-4.1.5/electrum/gui/kivy/uix/ui_screens/
H A Dstatus.kv40 …value: app.format_amount_and_units(root.confirmed + root.unconfirmed + root.unmatured + root.light…
43 … value: app.format_amount_and_units(root.confirmed + root.unconfirmed + root.unmatured)
48 value: app.format_amount_and_units(root.lightning)
/dports/finance/electrum/Electrum-4.1.5/electrum/gui/qt/
H A Dconfirm_tx_dialog.py221 amount_str = self.main_window.format_amount_and_units(amount)
226 amount_str = self.main_window.format_amount_and_units(amount)
243 self.fee_label.setText(self.main_window.format_amount_and_units(fee))
249 self.extra_fee_value.setText(self.main_window.format_amount_and_units(x_fee_amount))
H A Dchannel_details.py141 self.format_msat = lambda msat: window.format_amount_and_units(msat / 1000)
176 self.capacity = self.window.format_amount_and_units(chan.get_capacity())
192 …self.dust_limit = SelectableLabel(self.window.format_amount_and_units(chan.config[REMOTE].dust_lim…
194 self.remote_reserve = self.window.format_amount_and_units(chan.config[REMOTE].reserve_sat)
H A Dlightning_tx_dialog.py67 amount_str = self.parent.format_amount_and_units(self.amount, timestamp=self.timestamp)
71 fee_str = self.parent.format_amount_and_units(fee, timestamp=self.timestamp)
H A Dmain_window.py851 .format(len(txns), self.format_amount_and_units(total_amount)))
857 … self.notify(_("New transaction: {}").format(self.format_amount_and_units(tx_wallet_delta.delta)))
887 def format_amount_and_units(self, amount_sat, *, timestamp: int = None) -> str: member in ElectrumWindow
891 text = self.config.format_amount_and_units(amount_sat)
892 fiat = self.fx.format_amount_and_units(amount_sat, timestamp=timestamp) if self.fx else None
901 return self.fx.format_amount_and_units(amount_sat) if self.fx else ''
974 text = _("Balance") + ": %s "%(self.format_amount_and_units(c))
981 text += u' \U000026a1 %s'%(self.format_amount_and_units(l).strip())
1470 mining_fee_str = self.format_amount_and_units(mining_fee)
1473 twofactor_fee_str = self.format_amount_and_units(x_fee_amount)
[all …]
H A Dutxo_list.py90 amount_str = self.parent.format_amount_and_units(amount)
/dports/finance/electrum/Electrum-4.1.5/electrum/gui/kivy/uix/
H A Dscreens.py182 self.amount = self.app.format_amount_and_units(amount) if amount else ''
196 …self.amount = self.app.format_amount_and_units(lnaddr.amount * bitcoin.COIN) if lnaddr.amount else…
246 'amount': self.app.format_amount_and_units(item.get_amount_sat() or 0),
262 self.amount = self.app.format_amount_and_units(amount) if amount else ''
415 self.amount = self.app.format_amount_and_units(amount) if amount else ''
482 ci['amount'] = self.app.format_amount_and_units(amount) if amount else ''
/dports/finance/electrum/Electrum-4.1.5/electrum/
H A Dsimple_config.py670 def format_amount_and_units(self, amount): member in SimpleConfig
H A Dexchange_rate.py624 def format_amount_and_units(self, btc_balance, *, timestamp: int = None) -> str: member in FxThread
H A Dlnworker.py834 …item['group_label'] = 'Reverse swap' + ' ' + self.config.format_amount_and_units(swap.lightning_am…
837 …item['group_label'] = 'Forward swap' + ' ' + self.config.format_amount_and_units(swap.onchain_amou…
/dports/finance/electrum/Electrum-4.1.5/electrum/gui/kivy/
H A Dmain_window.py969 def format_amount_and_units(self, x) -> str: member in ElectrumWindow