SomberNight
21e637f543
network: validate server peers sent by main server
Data returned by the main server for request "server.peers.subscribe"
is of course untrusted input. Previously if it contained e.g. invalid port numbers
or IP addresses, it could kill the whole network taskgroup.
(this might have only affected master and not released versions,
which would only raise exceptions once the client actually tried to connect to an invalid host/port)
5 years ago
SomberNight
6d1acc929a
kivy: fix "choose from peers" in network server-select popup
follow-up 9e57ae630b
fixes #6161
5 years ago
SomberNight
41aa50a3f3
coldcard: log exception traceback in create_client
related: https://github.com/Coldcard/ckcc-protocol/pull/9
5 years ago
ThomasV
a3332dc72a
show watchtower db size in GUI
5 years ago
ThomasV
594f13b6f7
appimage: update libudev-dev in Dockerfile
5 years ago
ThomasV
d3fb68575d
daemon.py: Add authentication to Watchtower.
Define abstract class AuthenticatedServer
5 years ago
ThomasV
2fed218452
follow-up prev commit (fix regtest)
5 years ago
ThomasV
8fb79196ba
add_lightning_request command: return request object
5 years ago
SomberNight
c034219c5a
ln invoices: more relaxed filtering of chans to include route hints for
e.g. just because remote peer is temporarily offline, we might still want it
included in the invoice
5 years ago
ThomasV
1788e5c1c0
lnworker: catch exceptions raised in decode_msg
5 years ago
ThomasV
6aeab66463
fix #6157
5 years ago
ThomasV
e2c2c89988
follow-up prev
5 years ago
ThomasV
0070e5036c
follow-up previous commit
5 years ago
ThomasV
13317c2f51
fix callback name: request_status
5 years ago
ThomasV
87facaa781
payserver: do not allow create_invoice by default
5 years ago
ThomasV
11aaa0b66f
Simplify services (watchtower, payserver):
- Do not expose services settings in GUI
- Use a single netaddress configuration variable.
5 years ago
ThomasV
526c75ad53
lnrouter: blacklist channels for a limited time (see #6124 )
5 years ago
ThomasV
ac67f7ae30
discard channel updates too far in the future, or too close apart (see #6124 )
5 years ago
ThomasV
1322fa6a08
Merge pull request #6152 from JeremyRand/rpc-error-exit-code
RPC client: exit code 1 if RPC server returned error
5 years ago
JeremyRand
b72f8a8c9a
RPC client: exit code 1 if RPC server returned error
5 years ago
ThomasV
b891d3dc85
new command: get_ssl_domain
5 years ago
relativistic electron
fbc539e2cc
One can now click the back button in the show_xpub_and_add_cosigners wizard step
5 years ago
ThomasV
984da7515a
fix #6125 : detect self-payments
5 years ago
SomberNight
250c99d5b2
travis: use other "coveralls" package
see: https://github.com/z4r/python-coveralls/issues/74
5 years ago
SomberNight
619f8555f5
follow-up prev: trivial rename
Just realised that the "diamond" graph is actually defined in Graph Theory
but it has an extra edge. What we have here is apparently called a "square" graph.
Not that it matters much but might as well name it as such then...
5 years ago
SomberNight
cc4029c335
test_lnpeer: add some multi-hop payment unit tests
5 years ago
SomberNight
7153e753d1
lnworker._pay: allow specifying path as argument
not exposed to CLI/etc yet but will be used in tests soon
5 years ago
SomberNight
63b18dc30f
lnrouter: add PathEdge/LNPaymentPath for (node_id, scid)
5 years ago
SomberNight
04d018cd0f
test_lnpeer: some clean-up, make it easier to add "num_node>2" tests
5 years ago
SomberNight
7951f2ed3b
lnworker.pay: small clean-up
5 years ago
SomberNight
7d3eb5d4db
(trivial) follow-up c1b1638615
5 years ago
SomberNight
62be1cc367
small clean-up re "extract preimage from on-chain htlc_tx"
related: #6122
5 years ago
ThomasV
5c05c06bf0
follow-up prev commit: fix test_lnpeer
5 years ago
ThomasV
7b44e27087
lnpay: return payment log, increase timeout
5 years ago
ThomasV
d7b853f271
follow-up 8ba7e68064
5 years ago
ThomasV
887b643706
follow-up prev commit...
5 years ago
ThomasV
a8c14e65ad
follow-up prev commit
5 years ago
ThomasV
1529b07aa4
follow-up prev commit
5 years ago
ThomasV
c1b1638615
fix htlc forwarding:
- persist fail_htlc error messages
- do not rely on payment_hash in htlc_switch
5 years ago
ThomasV
7cbb102c81
add test with fail_malformed_htlc to forwarding regtest
5 years ago
ThomasV
ab188ff375
add config variable to test update_fail_malformed_htlc
5 years ago
ThomasV
8ba7e68064
fix #6122 : extract preimage from on-chain htlc_tx
5 years ago
ThomasV
f8019d9b6c
Merge pull request #6139 from JeremyRand/crypto-backend-typo
Fix "backed" typo in crypto.py
5 years ago
JeremyRand
62ca53cdf4
Fix "backed" typo in crypto.py
5 years ago
SomberNight
484e317bfa
android build: update p4a and buildozer
should fix travis issues
5 years ago
ThomasV
abe1bece2c
remove UnknownPaymentHash (exception used as value)
5 years ago
ThomasV
a5a5048d53
lnpay: save invoice
5 years ago
ThomasV
085b6ca2ab
jsonrpc: pass timeout to aiohttp session
5 years ago
ThomasV
123b8c1792
(minor) rename chan.sweep_htlc
5 years ago
ThomasV
f53a10084d
create_sweeptxs_for_our_ctx: fix static_remotekey
5 years ago