Commit Graph

6 Commits

Author SHA1 Message Date
Rusty Russell
2bee4a0fc2 currencyrate: feedback from Christian and m-schmook.
1. Use requests.packages.urllib3.util.retry for retries.
2. rename get_currencyrate parameters to match Source names.
3. Rename "currencyrate" to "currencyrates".
4. Remove unused packaging package from requirements.txt

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2021-01-14 18:35:49 +01:00
Rusty Russell
f16b78996f currencyrate: add three new sources, git credit in README.md
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2021-01-14 18:35:49 +01:00
Rusty Russell
f136e5942b currencyrate: fix default handling for 0.9.3.
We said default was '', which becomes [''].
2021-01-14 18:35:49 +01:00
Rusty Russell
eb31bfdf2e currencyconvert: raise more meaningful exception on unknown currencies.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2021-01-14 18:35:49 +01:00
Rusty Russell
02287e194d currencyrate: support multiple options for recent lightningd.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2021-01-14 18:35:49 +01:00
Rusty Russell
db5ca7f64a currencyrate: new plugin to do currency conversions.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2021-01-14 18:35:49 +01:00