Home
last modified time | relevance | path

Searched refs:onchain_amount (Results 1 – 5 of 5) sorted by relevance

/dports/finance/electrum/Electrum-4.1.5/electrum/gui/qt/
H A Dswap_dialog.py222 onchain_amount = self.recv_amount_e.get_amount()
223 if lightning_amount is None or onchain_amount is None:
232 onchain_amount = self.send_amount_e.get_amount()
233 if lightning_amount is None or onchain_amount is None:
238 self.window.protect(self.do_normal_swap, (lightning_amount, onchain_amount))
247 onchain_amount = self.send_amount_e.get_amount()
248 self._update_tx(onchain_amount)
250 def _update_tx(self, onchain_amount): argument
254 if onchain_amount is None:
276 def do_normal_swap(self, lightning_amount, onchain_amount, password): argument
[all …]
/dports/finance/electrum/Electrum-4.1.5/electrum/gui/kivy/uix/dialogs/
H A Dlightning_channels.py727 def update_tx(self, onchain_amount: Union[int, str]):
729 if onchain_amount is None:
820 def do_normal_swap(self, lightning_amount, onchain_amount, password): argument
823 if lightning_amount is None or onchain_amount is None:
828 expected_onchain_amount_sat=onchain_amount,
834 def do_reverse_swap(self, lightning_amount, onchain_amount, password): argument
835 if lightning_amount is None or onchain_amount is None:
850 onchain_amount = self.receive_amount
853 self.do_reverse_swap, (lightning_amount, onchain_amount))
856 onchain_amount = self.send_amount
[all …]
/dports/finance/electrum/Electrum-4.1.5/electrum/
H A Dsubmarine_swaps.py85 onchain_amount = attr.ib(type=int) # in sats variable in SwapData
177 if swap.is_reverse and txin.value_sats() < swap.onchain_amount:
278 onchain_amount = data["expectedAmount"]
296 if onchain_amount > expected_onchain_amount_sat:
303 funding_output = PartialTxOutput.from_address_and_value(lockup_address, onchain_amount)
320 onchain_amount = expected_onchain_amount_sat,
374 onchain_amount = data["onchainAmount"]
390 if onchain_amount < expected_onchain_amount_sat:
419 onchain_amount = onchain_amount,
H A Dcommands.py1168 …async def normal_swap(self, onchain_amount, lightning_amount, password=None, wallet: Abstract_Wall… argument
1176 onchain_amount_sat = satoshis(onchain_amount)
1179 elif onchain_amount == 'dryrun':
1186 onchain_amount_sat = satoshis(onchain_amount)
1199 async def reverse_swap(self, lightning_amount, onchain_amount, wallet: Abstract_Wallet = None): argument
1203 if onchain_amount == 'dryrun':
1210 onchain_amount_sat = satoshis(onchain_amount)
1216 onchain_amount_sat = satoshis(onchain_amount) + claim_fee
H A Dlnworker.py837 …em['group_label'] = 'Forward swap' + ' ' + self.config.format_amount_and_units(swap.onchain_amount)