ThomasV
deb97567fb
Qt: fix request menu
5 years ago
ThomasV
0d1ffe5642
fix submodule
5 years ago
ThomasV
747ab7a0a2
Integrate http_server (previously in electrum-merchant)
Use submodule to fetch HTML and CSS files
6 years ago
ThomasV
bd57880799
do not raise exception when add_own_channel adds channel update from the cache
6 years ago
ThomasV
e286ed1c13
add_own_channel does not need to be async
6 years ago
SomberNight
9372eacc29
hw wallets: show DeviceUnpairableError nicely in qt gui
need to subclass UserFacingException for main_window.on_error
6 years ago
SomberNight
bb2c3475cc
qt main_window: fix receive_at, rm dead code
6 years ago
SomberNight
8cd8c6612d
hw wallets: fix "show address" functionality in qt receive tab
6 years ago
SomberNight
ff94240139
qt receive tab: fix on-chain pay.requests without amount
6 years ago
SomberNight
c3504cec94
follow-up a4b24df4bb
6 years ago
SomberNight
073a09f926
wallet/keystore: small inheritance clean-up
6 years ago
ThomasV
a4b24df4bb
fix json error in listrequests
6 years ago
ThomasV
2801539087
fix create_menu error #5609
6 years ago
SomberNight
ab76a1fe5b
wallet.add_hw_info: also store "is_change" in output_info
as it seems every consumer wants to know this and has its own hacks to
figure it out
6 years ago
SomberNight
ac329797e0
wallet.add_hw_info: minor clean-up
6 years ago
ThomasV
7f870f5e09
replace daemon 'start' subdommand with -d
6 years ago
SomberNight
74366f5cce
android build: persist gradle datadir
avoids re-downloading hundreds of MB of data on every run
6 years ago
ThomasV
a50f935aec
Restructure invoices and requests (WIP)
- Terminology: use 'invoices' for outgoing payments, 'requests' for incoming payments
- At the GUI level, try to handle invoices in a generic way.
- Display ongoing payments in send tab.
6 years ago
MrNaif2018
1dab0aa719
Fix for onchain_history summary building
6 years ago
SomberNight
8404e07061
only build one android apk on Travis
follow-up 0333632eb0
6 years ago
SomberNight
0534f937ab
local jsonrpc: log exceptions daemon-side
6 years ago
SomberNight
eb5033dfc6
commands: add feerate param to payto/paytomany
6 years ago
SomberNight
54d468f457
android apk: build two apks. ARMv7 and ARMv8
6 years ago
SomberNight
75afd06ca3
android build: don't download Apache ANT on every build
6 years ago
SomberNight
98c8c2127c
android build: update kivy, p4a, buildozer
- also merge https://github.com/kivy/buildozer/pull/957 as prereq for
building multiple apks (one per arch)
- and custom buildozer commit to put target arch into apk name
6 years ago
ThomasV
b99a71d1b3
kivy: call register_callback only from main_window. Display CTN in channel details.
6 years ago
ThomasV
e79253b5e0
Syntax change: Require --offline to run commands without a daemon.
That makes the syntax less ambiguous. It also makes it possible to
implement a CLI that does not import all the electrum modules.
6 years ago
ThomasV
c67fb88e58
remove redundant 'stop' in regtest setUp (should run a bit faster)
6 years ago
SomberNight
956bd3baaf
lnpeer: make per-peer TaskGroup a field (as for interfaces), and use it
lnpeer (and interface) response-handling-code should not run in the
network main_taskgroup as the remote could force an exception
to be raised and that would kill the whole network instead of just the peer
6 years ago
SomberNight
9e57a59615
network: handle main_taskgroup dying better. passthrough CancelledError
Previously if a task running in the main_taskgroup raised,
main_taskgroup might have never finished as fx.run (another task running
in main_taskgroup) could not be cancelled (it was swallowing the CancelledError).
Need to be careful with catching all Exceptions or BaseExceptions,
as that might result in a coroutine not being cancellable.
Note that from python 3.8 onwards, CancelledError will inherit from BaseException
instead of Exception, so catching all Exceptions is somewhat less horrible
but this will only really matter if we raise the min py version to 3.8...
Really, all "except BaseException" lines are suspect and at least should be
considered for replacement with "except Exception".
-----
regarding fx.run not being cancellable before, and relevant lines, see:
6197cfbb3b/electrum/network.py (L1171)
0decdffce2/aiorpcx/curio.py (L242)
0decdffce2/aiorpcx/curio.py (L199)
0decdffce2/aiorpcx/curio.py (L208)
0decdffce2/aiorpcx/curio.py (L218)
0decdffce2/aiorpcx/curio.py (L221)
6197cfbb3b/electrum/daemon.py (L194)
6197cfbb3b/electrum/daemon.py (L203)
6197cfbb3b/electrum/exchange_rate.py (L507)
6197cfbb3b/electrum/exchange_rate.py (L79)
6 years ago
ThomasV
6197cfbb3b
Revert "Remove early return in create_sweeptxs_for_our_ctx."
This reverts commit d0cfb3ae12
.
6 years ago
ThomasV
3e8080b669
test_breach_with_spent_htlc: do not overwrite default_wallet, load toxic_wallet instead
6 years ago
ThomasV
10e186c1d3
revert ed086934e5
(this does not work well with travis)
6 years ago
ThomasV
6f333bd86d
make regtests more robust
6 years ago
ThomasV
5ec1db4d51
Ignore exceptions raised in lnworker.on_network_update.
Exception raised there may cancel the network's main taskgroup.
6 years ago
ThomasV
d0cfb3ae12
Remove early return in create_sweeptxs_for_our_ctx.
- This was added because we did not store the complete htlc history.
- It makes the result dependent on the current channel state
- That creates a race condition in sweep_info, because the result is cached.
- As a result, test_breach_with_spent_htlc was randomly failing.
6 years ago
SomberNight
5f817770af
android build: make sure to use correct pycryptodomex
note: buildozer casts all actual paths to lowercase but not the list of excluded paths...
see 182d13f102/buildozer/__init__.py (L775)
6 years ago
EagleTM
01f582cc14
Remove electrumx.ml because of phishing ( #5596 )
6 years ago
SomberNight
f403735191
lnpeer: reestablish_channel - don't replay unacked msgs they alrdy have
e.g. Alice sends upd1, upd2, upd3, commitment_signed, upd4, upd5.
Bob receives all of these; and sends a revoke_and_ack but there is
a disconnect before Alice receives the revoke_and_ack.
During reestablish, if Bob claims to have received the commitment_signed,
Alice must not replay the msgs before that; but she should replay upd4 and upd5.
6 years ago
Jin Eguchi
523de5782b
Fix travis error
6 years ago
SomberNight
2ee881f40a
qt channels list: fields should not be editable
6 years ago
SomberNight
db8e6cabb4
bip70 payreq: catch TimeoutError to avoid hanging "please wait" dialog
related #5337
6 years ago
ThomasV
3076eb75ea
make parsing lightning qr codes more robust
6 years ago
ThomasV
31a18f83f1
(trivial) fix variable name
6 years ago
ThomasV
7866caf2a7
minor fix: ensure request amount is not None
6 years ago
ThomasV
58177c5bf3
Travis: run regtests in separate job
6 years ago
ThomasV
fcfbc937bc
buildozer: use log_level=1
6 years ago
JeremyRand
8be94a9919
lnaddr: Pull in Bech32 and Base58 prefixes from constants
Fixes https://github.com/spesmilo/electrum/issues/5581
6 years ago
ThomasV
2b52ee26e6
store qt-console-history in wallet file ( fix #5563 )
6 years ago
JeremyRand
032810dace
test_lnrouter: Pull in chain_hash from constants
6 years ago