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)
5 years ago
EagleTM
01f582cc14
Remove electrumx.ml because of phishing ( #5596 )
5 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.
5 years ago
ThomasV
2583decc64
Merge pull request #5593 from wakiyamap/patch-1
Fix travis error
5 years ago
Jin Eguchi
523de5782b
Fix travis error
5 years ago
SomberNight
2ee881f40a
qt channels list: fields should not be editable
5 years ago
SomberNight
db8e6cabb4
bip70 payreq: catch TimeoutError to avoid hanging "please wait" dialog
related #5337
5 years ago
ThomasV
3076eb75ea
make parsing lightning qr codes more robust
5 years ago
ThomasV
31a18f83f1
(trivial) fix variable name
5 years ago
ThomasV
7866caf2a7
minor fix: ensure request amount is not None
5 years ago
ThomasV
cf02e32f20
Merge pull request #5537 from xaya/test-verify-header
Unit tests for Blockchain.verify_header
5 years ago
ThomasV
58177c5bf3
Travis: run regtests in separate job
5 years ago
ThomasV
fcfbc937bc
buildozer: use log_level=1
5 years ago
ThomasV
d766ded8d4
Merge pull request #5584 from JeremyRand/lnaddr-bech32
lnaddr: Pull in Bech32 and Base58 prefixes from constants
5 years ago
JeremyRand
8be94a9919
lnaddr: Pull in Bech32 and Base58 prefixes from constants
Fixes https://github.com/spesmilo/electrum/issues/5581
5 years ago
ThomasV
2b52ee26e6
store qt-console-history in wallet file ( fix #5563 )
5 years ago
ThomasV
95383a5820
Merge pull request #5582 from JeremyRand/test-lnchannel-outputs
Use NamedTuple notation for TxOutput in test_lnchannel
5 years ago
ThomasV
2944ae1b2f
Merge pull request #5583 from JeremyRand/test-lnrouter-rev-genesis-bytes
test_lnrouter: Pull in chain_hash from constants
5 years ago
JeremyRand
032810dace
test_lnrouter: Pull in chain_hash from constants
5 years ago
JeremyRand
334d3f2818
Use NamedTuple notation for TxOutput in test_lnchannel
This makes the code more resilient in case additional members are added
to TxOutput later.
5 years ago
ThomasV
ab5a02ba50
kivy: remove hidden state in RefLabel, use it for seed and private keys
5 years ago
ThomasV
e9c32bad19
kivy: remove context menus, cleanup unused files
5 years ago
ThomasV
587f8aa487
Kivy GUI improvements:
- create unique instances of channels_dialog and addresses_dialog
- display and refresh balances in channels_dialog
- improve formatting of tx history
- repurpose left button in receive_tab
5 years ago
ThomasV
8010123c08
Display and refresh the status of incoming payment requests:
- All requests have an expiration date
- Paid requests are automatically removed from the list
- Unpaid, unconfirmed and expired requests are displayed
- Fix a bug in get_payment_status, conf was off by one
5 years ago
ThomasV
336cf81a6d
kivy: add expiration button to receive screen
5 years ago
ThomasV
27a9d02b8c
kivy: update receive screen after adding request
5 years ago
ThomasV
65cf0ebce8
lnpeer, minor fixes:
- pass orphaned_ids to lnworker.add_new_ids
- fix enumeration of get_unacked_local_updates()
5 years ago
ThomasV
dd22cb6dff
kivy: minor fixes
5 years ago
ThomasV
246cda2928
fix Flake8 tests
5 years ago
ThomasV
a3bff7476c
run freeze_packages
5 years ago
ThomasV
9cfeadea70
Turn daemon subcommands into RPCs
5 years ago
ThomasV
4397767a5e
minor fix
5 years ago
ThomasV
2e1829bc24
remove jsonrpclib dependency
5 years ago
ThomasV
54257cbcca
Rewrite JsonRPC requests using asyncio.
- commands are async
- the asyncio loop is started and stopped from the main script
- the daemon's main loop runs in the main thread
- use jsonrpcserver and jsonrpcclient instead of jsonrpclib
5 years ago
SomberNight
fa5302bcfb
(trivial) fix type annotation
5 years ago
SomberNight
bce74717a6
lnpeer: in onion errors, handle channel updates both with and w/o type
5 years ago
SomberNight
beeb81e179
lnpeer: use correct failure codes in _maybe_forward_htlc
5 years ago
SomberNight
e54f0fbafa
do not raise BaseException
5 years ago
SomberNight
d955285808
lnrouter/channeldb: small import clean-up
5 years ago
SomberNight
47ee02569a
lnpeer: send own outgoing channel updates to remote peer
5 years ago
SomberNight
f0588846d5
channeldb: also store "message_flags" field for channel updates
this is a breaking change for the db format.
As in comment in diff,
"It would make more sense to store the raw gossip messages in the db."
5 years ago
SomberNight
d229bb4e4d
lnpeer: restore "temp save orphan channel updates" functionality
needed to handle race where remote might send chan_upd too soon
(before we save the short channel id for the channel after it reaches funding locked)
5 years ago
SomberNight
ba431495db
lnworker: fix silent TypeError in _calc_routing_hints_for_invoice
5 years ago
SomberNight
02681c6664
tests: some regtest tests need to mine more blocks to expire CLTVs
as lnutil.MIN_FINAL_CLTV_EXPIRY_FOR_INVOICE was recently bumped
5 years ago
SomberNight
a9295e495c
tests: regtest.sh now uses consistent indentation
5 years ago
SomberNight
6b1810f8dc
commands.py: fix type of "timeout" arg
was str by default
5 years ago
SomberNight
159fe04daf
lnpeer: on_channel_open should not fail on server error
5 years ago
ThomasV
e5286f7598
minor fix: always initialize Commands.lnworker
5 years ago
ThomasV
5e0427392f
Daemon: Replace get_server with request.
This function performs a single RPC, and may raise a DaemonNotRunning exception.
5 years ago
ThomasV
28b1569f28
(trivial) fix getbalance
5 years ago