SomberNight
bf067f7558
HardwareClientBase: provide default implementation for label
...
and add warning about placeholders
6 years ago
SomberNight
db1ff4915f
hww: show model name in device enum lists (e.g. "Trezor T")
6 years ago
SomberNight
e1996bde01
hww: select_device: only update label/dev_id after pairing succeeds
6 years ago
SomberNight
4ef313a1ac
hww: smarter auto-selection of which device to pair with
...
scenario1:
- 2of2 multisig wallet with trezor1 and trezor2 keystores
- only trezor2 connected
- previously we would pair first keystore with connected device and then display error.
now we will pair the device with the correct keystore on the first try
scenario2:
- standard wallet with trezor1 keystore
- trezor2 connected (different device)
- previously we would pair trezor2 with the keystore and then display error.
now we will prompt the user to select which device to pair with (out of one)
related: #5789
6 years ago
SomberNight
9d0bb295e6
hww: distinguish devices based on "soft device id" (not just labels)
...
fixes #5759
6 years ago
SomberNight
7dabbdd082
tests_lnpeer: trivial fix
6 years ago
SomberNight
1ea89af012
crypto.pw_decode: fix one case of raising incorrect exception
6 years ago
SomberNight
789b78cab5
crypto: trivial clean-up of pw_encode/pw_decode functions
6 years ago
ghost43
b31efdc3e7
Merge pull request #6076 from JeremyRand/initial-download-exception
...
Use specific Exception when chain isn't synced
6 years ago
ThomasV
6307e13549
do not print the entire payment log again, this is redundant
6 years ago
JeremyRand
40389a21b6
Use specific Exception when chain isn't synced
...
Makes it easier for calling code to know what error happened.
6 years ago
SomberNight
caefea19dd
trezor pin dialog: only show PIN "strength" when creating/changing
...
fixes #4832
6 years ago
SomberNight
5259fcb6fd
qt PasswordLineEdit: try to clear password from memory
...
If an attacker has access to the process' memory, it's probably already game over,
still we can make their life a bit harder.
I really tried but failed to encapsulate this logic inside PasswordLineEdit.
The destroyed signal arrives too late.
deleteLater is not called.
__del__ gets called too late.
6 years ago
SomberNight
c798e5d9a1
qt: introduce PasswordLineEdit(QLineEdit)
6 years ago
SomberNight
f11bf1dd4a
rerun freeze_packages
6 years ago
ghost43
4d980cd4bd
Merge pull request #6064 from matejcik/trezor-0.12-passphrase
...
trezor: bump lib version, implement new passphrase-on-device UI
6 years ago
SomberNight
fb5382f75f
follow-up prev (typo)
6 years ago
ThomasV
d2a58a2ec3
lnpeer: do not assume our privkey is the same as lnworker's privkey.
6 years ago
ThomasV
55d0a9587e
move maybe_save_short_chan_id to lnchannel
6 years ago
ThomasV
4512f9d6d8
Merge pull request #6070 from spesmilo/channel_save_seed2
...
Save channel seed in localconfig
6 years ago
ThomasV
f3995350e8
localconfig: rename seed to channel_seed
6 years ago
SomberNight
08bc8617ad
change derivation of ln channel keys: use hardened paths
6 years ago
ThomasV
0ea21c59d2
Save channel seed in localconfig
6 years ago
SomberNight
1dc3100ba3
android build: use "cryptography" instead of "pycryptodomex" fork
...
Electrum needs either "cryptography" or "pycrytodomex" (since #6014 ).
Previously we have been using a custom fork (of ours) of pycryptodomex,
now let's just use upstream "cryptography".
6 years ago
SomberNight
f777c9ee13
android build: update buildozer/p4a/NDK
...
- updated p4a pulls in newer openssl (old one is no longer available from openssl.org)
- old NDK no longer available (new one is what updated p4a recommends)
6 years ago
SomberNight
f412420892
include lnwire csv files in binaries (follow-up #6050 )
6 years ago
SomberNight
f13f46c555
qt wizard: make "GoBack" unroll the call stack to avoid stack overflow
...
fixes #6069
6 years ago
ThomasV
aa32e31a3d
follow-up previous commit
6 years ago
ThomasV
06dfe1699c
LNWatcher: Distinguish between blockchain-triggered channel state
...
transitions, and actions taken as a result.
- state transitions are performed in lnchannel.update_onchain_state()
- peer actions are in LNWorker.on_channel_update()
6 years ago
ThomasV
9ca445bd5d
save_short_chan_id: remove unneeded ćalls to lnwatcher
6 years ago
ThomasV
c8f602c9d7
pw_decode, pw_encode: separate bytes functions
6 years ago
ThomasV
764c18b3c8
follow-up prev commit
6 years ago
ThomasV
5067166e1e
move should_channel_be_closed_due_to_expiring_htlcs into Channel class
6 years ago
SomberNight
1cdff09ead
follow-up 371f55a0f9
6 years ago
ghost43
158854f94e
Merge pull request #6050 from SomberNight/202003_lnmsg_rewrite
...
lnmsg rewrite, implement TLV, invoice features, varonion, payment secret
6 years ago
SomberNight
eecdd056b3
lnmsg: small speed-up: read first, check length after
...
this saves around ~13% wall clock time in ChannelDB.load_data
6 years ago
SomberNight
71635216df
ln feature bits: validate transitive feature deps everywhere
6 years ago
SomberNight
94e3c078f8
lnaddr: small clean-up
6 years ago
SomberNight
1be0a710c3
ln: implement option payment_secret
6 years ago
SomberNight
d424487814
lnpeer: better error handling when processing onion packets
6 years ago
SomberNight
30bf32b34b
use option varonion: actually use TLV payloads, and signal support
6 years ago
SomberNight
4b78bf94d4
lnaddr: add feature bit support to invoices
...
see https://github.com/lightningnetwork/lightning-rfc/pull/656
6 years ago
SomberNight
a66437f399
lnonion: implement basis of varonion support
6 years ago
SomberNight
6ba08cc8d4
ln feature bits: flatten namespaces, and impl feature deps and ctxs
...
This implements:
- flat feature bits https://github.com/lightningnetwork/lightning-rfc/pull/666
- feature bit dependencies https://github.com/lightningnetwork/lightning-rfc/pull/719
6 years ago
SomberNight
c69937395e
lnmsg: add more tests (for encode_msg, decode_msg)
6 years ago
SomberNight
71a4302ec0
lnpeer: send and handle "networks" param in "init" msg
6 years ago
SomberNight
85d7a13360
lnmsg: implement tests from BOLT-01
6 years ago
SomberNight
f353e6d55c
lnmsg: encode/decode TLVs as part of messages
6 years ago
SomberNight
542e33fd86
lnmsg: handle "..." as field count
6 years ago
SomberNight
6949752263
lnmsg: initial TLV implementation
6 years ago