SomberNight
5c9bd2d2b4
ln channel open: save funding tx as local tx into wallet
5 years ago
SomberNight
30dcab0877
wallet: allow saving partial txns as local (but require txid)
5 years ago
SomberNight
369d972aed
qt: handle exceptions when pressing "Max" button
fixes #5783
5 years ago
SomberNight
d2a8028cde
qt receive tab: show plain bitcoin address
5 years ago
SomberNight
20bbe85bce
receive requests: encode lightning invoices as uppercase -> smaller QRs
By encoding bolt11 invoices as uppercase text in QR codes,
we can use the alphanumeric mode, which results in non-negligibly smaller QR codes.
5 years ago
SomberNight
8e89c0c971
wallet: some clean-up re get_address_history vs db.get_addr_history
note: tests needed changing due to behavioural change in wallet.get_receiving_address()
Previously wallet.get_receiving_address used wallet.db.get_addr_history,
now it (indirectly) uses wallet.get_address_history, which now also considers local txns.
5 years ago
SomberNight
d81110014e
qt requests/invoices: use TreeView.sortByColumn instead of model.sort
sort the view, not the model
This way, qt will display the icon indicating the sort order on the relevant column header.
5 years ago
SomberNight
9f9b0954e2
appimage: update package in dockerfile
Ubuntu no longer serves old version
5 years ago
SomberNight
f24dea0277
add SECURITY.md
5 years ago
SomberNight
e0eb3c18eb
qt ConfirmTxDialog: don't catch BaseException for make_tx
not sure what it is supposed to catch...
The examples I could come up with would all be actual bugs;
in which case we should let the exception propagate out to the crash reporter.
5 years ago
ThomasV
a6aa97c3e3
Merge pull request #5820 from SomberNight/201912_ecdsa_sig_r_grinding
ECDSA signatures: grind low R to match with Bitcoin Core (take 2)
5 years ago
ThomasV
2e4cfd0744
fix race in NetworkJobOnDefaultServer constructors
5 years ago
SomberNight
61aebd0f2d
(fix) qt coin selection: signatures for coins would persist in memory
Scenario: select some UTXOs in the 'Coins' tab. Create a tx and sign it.
Close the tx dialog without broadcasting/etc (cancel tx).
Signatures would remain for selected UTXOs.
Create new tx -> invalid sigs.
5 years ago
SomberNight
5b88b8667e
also grind ecdsa low R when using libsecp256k1, and fix tests
note: low R grinding would not have to be duplicated if we trusted the caller
to have done it already (as is the case with the classes in ecc.py), and if
we propagated the choice of "random_k" as part of the nonce_function passed
to libsecp256k1 (which is not currently done)
5 years ago
junderw
d16fd2783c
Add signature Low R grinding to match with Bitcoin Core
Ref: https://github.com/bitcoin/bitcoin/pull/13666
Depends on python-ecdsa pull request to allow for extra_entropy
Ref: https://github.com/warner/python-ecdsa/pull/92
7 years ago
SomberNight
428b63822b
trezor: rm obsolete gui text
5 years ago
SomberNight
69720946c1
appimage: update package in dockerfile
Ubuntu no longer serves old version
5 years ago
Janus Troelsen
3ac8f461a9
Tests: Remove on_channels_updated ( #5819 )
5 years ago
SomberNight
00a7df13bf
rerun freeze_packages
5 years ago
ThomasV
065e98ad35
on_open_channel: rm call to non-existing method on_channels_updated
5 years ago
SomberNight
d3fd87ebd0
hardware wallets: wizard no longer requests xpub at path "m"
This was done to calculate the bip32 root fingerprint but it broke
the digitalbitbox. The keystore already had a different way to get
the root fingerprint for existing wallets, specifically handling this
case; the code in base_wizard used when creating new wallets was
duplicating that code originally and was then forgotten to be updated.
Now these codepaths are unified.
closes #5816
5 years ago
SomberNight
68dad21fb4
network: make best_effort_reliable smarter and a bit more lenient
related: #5815
5 years ago
ThomasV
dfdc1e1d25
require ecdsa version >= 0.13.3
5 years ago
ThomasV
6659f5c2c0
Merge pull request #5740 from spesmilo/dependabot/pip/contrib/deterministic-build/ecdsa-0.13.3
build(deps): bump ecdsa from 0.13.2 to 0.13.3 in /contrib/deterministic-build
5 years ago
ThomasV
7a080352f8
Merge pull request #5809 from SomberNight/201911_invoice_paid_detection
wallet: better (outgoing) invoice "paid" detection
5 years ago
SomberNight
8dbbc21aff
wallet: better (outgoing) invoice "paid" detection
- no more passing around "invoice" in GUIs, invoice "paid" detection is now handled by wallet logic
- a tx can now pay for multiple invoices
- an invoice can now be paid by multiple txs (through partial payments)
- new data structure in storage: prevouts_by_scripthash
- type: scripthash -> set of (outpoint, value)
- also, storage upgrade to build this for existing wallets
5 years ago
SomberNight
cfbd83c432
wallet: minor clean-up
5 years ago
SomberNight
c0b5ebcc5d
tests: fix testcase test_restoring_wallet_with_manual_delete
5 years ago
SomberNight
adaa016e78
LNPeerAddr: fix equality tests and hence lnworker._last_tried_peer
follow-up 13d6997355
5 years ago
roth
2ce8dd460b
Color-Code Addresses in Kivy UI ( #5774 )
* Added static coloring of the TX output dialog.
Coloring was suggested in #5750
5 years ago
SomberNight
4007720b34
qt history list: rm and fix magic number
5 years ago
ThomasV
f7fb14a538
Merge pull request #5806 from RCasatta/remove_greenaddress
Remove GreenAddress instant plugin
5 years ago
Riccardo Casatta
8c30ae78be
remove GreenAddress instant plugin
GreenAddress instant feature has been removed from the service, thus
there is no reason anymore to keep the plugin
5 years ago
SomberNight
a13344938f
interface: fix connecting to raw IPv6 (as hostname) on Windows
Changed cert pinning filename as on Windows paths cannot contain a colon ':'.
5 years ago
SomberNight
cee2083134
qt history list: fix UnboundLocalError when searching
closes #5801
5 years ago
SomberNight
d430ec4bfc
interface.deserialize_server: better ipv6 handling
5 years ago
SomberNight
13d6997355
LNPeerAddr: validate arguments
no longer subclassing NamedTuple (as it is difficult to do validation then...)
5 years ago
SomberNight
edba59ef54
LNPeerAddr: nicer str formatting for IPv6 hosts
5 years ago
SomberNight
ddeb176b3d
kivy: fix open_channel (API was changed)
5 years ago
SomberNight
557987d4eb
add/fix some open_channel related type hints
5 years ago
ThomasV
038036f350
minor follow-up prev commit
5 years ago
ThomasV
fd8236538a
Open lightning channels with partially signed tx.
Fixes #5379 .
5 years ago
ThomasV
9c9ceb702a
fix #5729
5 years ago
ThomasV
b9e5edd704
fix #5728
5 years ago
ThomasV
06589df812
simplify add_transaction
5 years ago
ThomasV
fc85dcead6
follow-up previous commit
5 years ago
ThomasV
6c62fb03ac
fix #5733
5 years ago
SomberNight
88307357ec
add some type hints
mostly related to hw wallets
5 years ago
SomberNight
770ae6d878
fix tests
5 years ago
SomberNight
bda9a407d9
trivial: don't print frequent-case log line in lnpeer.mark_open
5 years ago