SomberNight
9ad2c9138d
tests: rm SequentialTestCase to further simplify inheritance
3 years ago
SomberNight
c5bdd5007c
tests: rework testnet
...
Inheritance was overkill here, and now we can use inheritance for new functionality X
without having to create classes for all combinations of {X, is_testnet}.
3 years ago
SomberNight
72e1be6f5e
swaps: rm support for p2wsh-p2sh lockup scripts
...
- unused
- the client was already refusing to fund such lockup addresses (if the server asked)
- no existing unit tests for it, and as the choice is up to the server, it is hard to create tests
- no clear reason to want to use p2sh-nested scripts here, aside from curiosity
3 years ago
SomberNight
8a4c06b692
swaps: small refactor and add unit tests for claim tx
3 years ago
SomberNight
373db76ac9
util: kill bh2u
...
no longer useful, and the name is so confusing...
3 years ago
SomberNight
1ce37c8bb1
transaction: rm hardcoded sighash magic numbers
3 years ago
SomberNight
1c53035b93
ecc.py: add/fix some type hints
3 years ago
SomberNight
845f4aee4d
transaction.py: move Tx.serialize_input -> TxInput.serialize_to_network
3 years ago
Sander van Grieken
15d73daf8d
qml: fix lifecycle issues with swap helper.
...
previously tied to Channels view, now dynamically created and parented to app
3 years ago
Sander van Grieken
fa45e1b7ba
qml: fix name clash QML vs registered QObjects NewWalletWizard and ServerConnectWizard
3 years ago
Sander van Grieken
46ed94eb3a
qml: don't present bolt11 invoice when invoice amount > num_sats_can_receive
3 years ago
Sander van Grieken
ebb3f90e29
qml: refresh transaction list when wallet_updated+is_up_to_date and history is dirty
3 years ago
Sander van Grieken
d3d66e7248
qml: RbF: do not decrease payment when payment is a swap
...
ref f617887509
3 years ago
SomberNight
6a6391c6a3
bitcoin.py: (trivial) rm redundant "net=" defaults
3 years ago
Sander van Grieken
3aa10b483f
qml: add status update timer for invoice listmodel
3 years ago
Sander van Grieken
421bd93047
qml: fix a few leftovers
3 years ago
SomberNight
2378f92a6a
tests: add more "sweep" tests for different script types
3 years ago
SomberNight
2d6e34c8c2
ecc: make ECPubkey.__lt__ relation strongly-connected/total
...
Previously we had:
```
>>> import electrum
>>> from electrum.ecc import POINT_AT_INFINITY
>>> G = electrum.ecc.GENERATOR
>>> G <= (-1 * G)
False
>>> (-1 * G) <= G
False
```
3 years ago
SomberNight
df2bd61de6
bip32: change hardened char "'"->"h" when encoding derivation paths
...
We accept either when decoding - this only changes what we use when encoding.
Single quotes are annoying to use in a shell, as they often need to be escaped.
3 years ago
Sander van Grieken
2b0e624876
qml: styling CloseChannelDialog, InvoiceDialog
3 years ago
Sander van Grieken
995754e523
qml: add expiry timers to update status string in InvoiceDialog and ReceiveDialog
3 years ago
ThomasV
292ce35945
receive tab: copy to clipboard when tab is changed
3 years ago
ThomasV
1da65451c0
Qt: schedule tooltip in do_copy
3 years ago
SomberNight
faea1e6e1a
lnchannel: add more debug logging for ctx/htlc sigs
...
related: https://github.com/spesmilo/electrum/issues/8191
3 years ago
ThomasV
4a91213044
minor fix
3 years ago
ThomasV
d766f2fd9e
Qt: make copy menus more consistent
3 years ago
ThomasV
df842af0b6
UTXO tab: add menus to fully spend utxo:
...
- send to address
- in new channel
- in submarine swap
This is easier than coin control, because it does not involve
switching tabs. Coin control is activated during the operation,
so that users learn how it works.
3 years ago
ThomasV
5e88b0da88
swaps: cache pairs to file
3 years ago
ThomasV
215629235d
submarine_swaps: fix bugs and create method for max_amount_forward_swap
3 years ago
Sander van Grieken
095b6dab0f
qml: fix display of negative millisat amounts in qefx.py for historic amounts too
3 years ago
Sander van Grieken
b5f0be2d8d
qml: use FormattedAmount for fee in LightningPaymentDetails
3 years ago
Sander van Grieken
56cdc4a92b
qml: fix display of negative millisat amounts in FormattedAmount, qefx.py
3 years ago
Sander van Grieken
8a8703d5ea
qml: styling
3 years ago
ThomasV
d7f48c8805
Qt history tab: create submenu for edit actions
3 years ago
ThomasV
f617887509
RBF dialog: do not decrease payment for swap funding transactions.
3 years ago
Sander van Grieken
e9ad9986d7
qml: qedaemon doesn't need wallet path and name properties, pass them via the signal
3 years ago
Sander van Grieken
fc212b1dcc
qml: improve OpenWalletDialog, PasswordDialog and PasswordField
3 years ago
Sander van Grieken
2d5ba84e35
qml: styling InfoTextArea
3 years ago
Sander van Grieken
8ccc4801f7
qml: ConfirmTxDialog styling slider, avoid running off small screens
3 years ago
Sander van Grieken
1bfc4f1529
qml: android notification params
3 years ago
Sander van Grieken
02fd25141e
qml: ConfirmTxDialog layout fixes
3 years ago
Sander van Grieken
3cb9ded1ca
qml: fix flickable margins TxDetails and WalletDetails
3 years ago
ThomasV
965ccedc88
tx dialog clean-up: remove 'finalized' field and related code
3 years ago
ThomasV
d1eb909bee
UTXO tab: simplify freeze menus
3 years ago
ThomasV
bf16919a74
Merge pull request #8197 from spesmilo/new_tx_flow
...
Qt: new onchain tx creation flow:
3 years ago
ThomasV
a4928ea6ed
TxEditor: various tweaks
3 years ago
ThomasV
ad83eaaba1
TxEditor: rework update methods, separate _update_message from _update_send_button
3 years ago
Sander van Grieken
d1a40c47cf
qml: fix max toggle in InvoiceDialog
3 years ago
Sander van Grieken
31523449b3
qml: OTP dialog improvements
3 years ago
ThomasV
13222c479c
TxEditor: make trigger_update not private, call it on rbf combo changed.
3 years ago