Commit Graph

166 Commits

Author SHA1 Message Date
Christian Decker
c3c207967f Update pillow to a secure version 2020-04-04 19:20:03 +02:00
Christian Decker
02d41edd10 Update twisted to a secure version 2020-04-04 19:20:03 +02:00
darosior
714c28c369 sauron: cleanups: better errors, no assert, no useless json.loads 2020-04-03 16:29:07 +02:00
darosior
970a965430 sauron: use esplora to get raw blocks 2020-04-03 16:29:07 +02:00
darosior
cdebe828ae sauron: add a basic README 2020-03-30 21:54:34 +02:00
darosior
3ae9b3259c Add Sauron to the README 2020-03-30 21:54:34 +02:00
darosior
8066e5f803 sauron: adapt feerate gathering to the new API. 2020-03-30 21:54:34 +02:00
darosior
e6cf4e13bd sauron: change gettxout to getutxout 2020-03-16 12:34:32 +01:00
darosior
d104baa672 Initial version of an esplora backend plugin 2020-03-16 12:34:32 +01:00
dependabot[bot]
e56c07eac1 build(deps): bump psutil from 5.6.2 to 5.6.6 in /autoreload
Bumps [psutil](https://github.com/giampaolo/psutil) from 5.6.2 to 5.6.6.
- [Release notes](https://github.com/giampaolo/psutil/releases)
- [Changelog](https://github.com/giampaolo/psutil/blob/master/HISTORY.rst)
- [Commits](https://github.com/giampaolo/psutil/compare/release-5.6.2...release-5.6.6)

Signed-off-by: dependabot[bot] <support@github.com>
2020-03-16 11:14:47 +01:00
darosior
ba5500ddd8 donations: bump flask-wtf requirement 2020-02-14 10:23:25 +01:00
Christian Decker
3290e4e456 noise: Add a Payment class for keysend payments
Suggested-by: Richard Bondi <@rsbondi>
2020-02-04 12:32:07 +01:00
Christian Decker
41aeed024d noise: Don't assume that we have the required fields 2020-02-04 12:32:07 +01:00
Christian Decker
f80cc060b9 noise: Do not expect TlvPayloads without checking
Suggested-by: @darosior
2020-02-04 12:32:07 +01:00
Christian Decker
3a39b61ab7 noise: Remove overeager limitation for varints 2020-02-04 12:32:07 +01:00
Christian Decker
c3e316d79e noise: Sort TlvPayload fields before serializing
This is part of the spec
2020-02-04 12:32:07 +01:00
Christian Decker
11a946f152 noise: Add timestamp to payload 2020-02-04 12:32:07 +01:00
Christian Decker
f58d0292a5 noise: Don't depend on unstable pyln-proto features 2020-02-04 12:32:07 +01:00
Christian Decker
d2ca541728 noise: Added keysend functionality to attach a payment to a message 2020-02-04 12:32:07 +01:00
Christian Decker
528aa8410b noise: Implement signature verification of chat messages
Since we don't pass the public key we just rely on the pubkey recovery and the
`checkmessage` interface to tell us whether it is a publicly known `node_id`
or not.
2020-02-04 12:32:07 +01:00
Christian Decker
3d3c7f75ba noise: Allow malformed onion if it's the last hop
This was counted as a failure before, but it actually means we delivered
successfully.
2020-02-04 12:32:07 +01:00
Christian Decker
374fdadcbe noise: Use the onion classes and fix the length prefix issue 2020-02-04 12:32:07 +01:00
Christian Decker
ac49e8bd07 noise: Initial version of the noise chat plugin
Based on the WhatSat idea by @joostjager, this plugin implements a simple chat
protocol based on top of `createonion` and `sendonion`.
2020-02-04 12:32:07 +01:00
Christian Decker
1c1b8fe431 coverage: Switch to codecov.io 2020-01-25 20:52:25 +01:00
Christian Decker
7b0525a5bc travis: Add missing mrkd dependency 2020-01-25 18:02:11 +01:00
Christian Decker
1feadc8850 coverage: Add coveralls.io badge 2020-01-25 17:48:29 +01:00
Christian Decker
52082bebfe travis: Update psycopg2-binary dependency 2020-01-25 17:48:29 +01:00
Christian Decker
63bdfad07f travis: Added log folding so we don't have to scroll as much 2020-01-25 17:48:29 +01:00
Christian Decker
6754c28ca8 travis: Added coverage for plugins and coveralls integration 2020-01-25 17:48:29 +01:00
Kristaps Kaupe
44ca145524 Add link to plugin collection emulating some of the LND (lncli) commands on c-lightning 2020-01-25 13:51:33 +01:00
Christian Decker
ea8e24eb56 fixup! jitrebalance: First version of the JITrebalance plugin 2020-01-07 21:21:11 +01:00
Christian Decker
504d15bfbf jitrebalance: Refactor code and implement retry logic 2020-01-07 21:21:11 +01:00
Christian Decker
9ef45ae83c jitrebalance: Skip tests if not developer, gossip is too slow 2020-01-07 21:21:11 +01:00
Christian Decker
7479c342c4 jitrebalance: Make the plugin TLV compatible 2020-01-07 21:21:11 +01:00
Christian Decker
c453e8982f jitrebalance: First version of the JITrebalance plugin
A simple implementation of a jit-rebalance plugin based in the idea of
@renepickhardt. Upon receiving an HTLC that we are supposed to forward check
whether the channel has sufficient capacity to forward. If that's not the case
we need to rebalance. For this we compute a circular route through some other
nodes, returning funds on the edge we are supposed to use when
forwarding. This means we rebalance the channel just enough to make forwarding
possible.

This only implements the simple version, without FOAF advertisements of free
rebalancings, but it already works rather nicely.

Suggested-by: Rene Pickhardt <@renepickhardt>
Signed-off-by: Christian Decker <@cdecker>
2020-01-07 21:21:11 +01:00
Christian Decker
c6e3b9f011 pytest: Rename start tests to reflect the plugin under test 2019-12-27 17:17:58 +01:00
darosior
ba85a5796a README: Add csvexportpays to the table
And fix indentation in test sample
2019-12-27 17:17:58 +01:00
darosior
e574a717b1 Add pyln-client requirement to all plugins 2019-12-27 17:17:58 +01:00
darosior
e426f6738e Update to pyln-client
This updates all plugins *which already have requirements.txt* to
pyln-client from pylightning.
2019-12-27 17:17:58 +01:00
darosior
21e37c74d6 Update lightning-qt (second take) 2019-12-24 22:21:04 +01:00
darosior
a005cbbafe lightning-qt: update to master 2019-12-24 15:51:37 +01:00
darosior
20b29f6b59 cl-zmq: add requirements 2019-12-19 14:36:20 +01:00
darosior
d36402d085 cl-zmq: add basic tests 2019-12-19 14:36:20 +01:00
darosior
f3673ab0a9 sendinvoiceless: add basic tests 2019-12-19 14:36:20 +01:00
darosior
9a9f95c6d1 rebalance: add basic tests 2019-12-19 14:36:20 +01:00
darosior
fc8ab0cd99 prometheus: basic tests 2019-12-19 14:36:20 +01:00
darosior
8f0b1a443c probe.py: add basic tests 2019-12-19 14:36:20 +01:00
darosior
a8ffaa7524 persistent-channels: add basic tests 2019-12-19 14:36:20 +01:00
darosior
351c6cec2a monitor: add basic starting test 2019-12-19 14:36:20 +01:00
darosior
0185dbd9fd helpme.py: basic starting tests 2019-12-19 14:36:20 +01:00