rgb-cln/common/test
Rusty Russell f5dc8b9d52 JSON: allow any number of decimal points when parsing 'btc' suffix.
I tried to fundchannel 0.01btc, and of course it wanted 8 decimals exactly.
If I can't get this right, it's probably a bad idea.

I still don't allow whole number of btc though, since that's probably a mistake
and you're not supposed to put that much in c-lightning yet :)

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-02-23 03:09:37 +00:00
..
Makefile common/test: add spec tests for bolt11. 2017-11-24 13:22:18 +01:00
run-amount.c JSON: allow any number of decimal points when parsing 'btc' suffix. 2019-02-23 03:09:37 +00:00
run-bolt11.c common/bolt11: use struct amount_msat 2019-02-21 03:44:44 +00:00
run-cryptomsg.c common/cryptomsg: remove unused async routines. 2018-09-28 04:14:28 +00:00
run-derive_basepoints.c Call wally_init(0) on startup to enabled assembly-optimised SHA-256 2018-11-21 01:18:24 +00:00
run-features.c Call wally_init(0) on startup to enabled assembly-optimised SHA-256 2018-11-21 01:18:24 +00:00
run-funding_tx.c bitcoin: use amount_sat/amount_msat. 2019-02-21 08:01:37 +00:00
run-ip_port_parsing.c Tor: don't do seed queries if we're supposed to always use proxy. 2018-05-10 02:28:44 +00:00
run-json.c common: json_to_msat and json_to_sat helpers. 2019-02-21 03:44:44 +00:00
run-json_escaped.c Move json and param core functionality into common, for plugins. 2018-12-10 00:00:50 +00:00
run-json_remove.c common/json: add context arg to json_parse_input. 2018-12-10 00:00:50 +00:00
run-key_derive.c lightningd/test: move some tests to common/ and channeld/ 2018-12-06 23:11:51 +01:00
run-lock.c common: Add a test for io_lock 2018-10-11 01:43:55 +00:00
run-param.c common/json_tok: add param_msat / param_sat. 2019-02-21 03:44:44 +00:00
run-sphinx.c daemons: use amount_msat/amount_sat in all internal wire transfers. 2019-02-21 08:01:37 +00:00