Commit Graph

3 Commits

Author SHA1 Message Date
Christian Decker
4a5f7a0cce probe: Allow the caller to specify the amount to probe
We used to only probe for a 10sat amount, which allows us to test
basic reachability, but it doesn't say much about whether we can
actually pay for something reasonable, so this fixes that.

This may require the following SQL statement to be applied to the
database if you are upgrading from a prior version:

```sql
ALTER TABLE probes ADD amount INTEGER;
```

This is not required if you start with a new database.
2021-03-25 14:47:17 +01:00
Christian Decker
c6e3b9f011 pytest: Rename start tests to reflect the plugin under test 2019-12-27 17:17:58 +01:00
darosior
8f0b1a443c probe.py: add basic tests 2019-12-19 14:36:20 +01:00