core-lightning/tests/plugins
Rusty Russell 36a2491a89 json: fix up msat amounts in non-_msat fields.
We had json_add_amount_msat_only(), which was designed to be used to
print out msat fields, if we had sats.

However, we misused it, so split it into the three different cases:
1. json_add_amount_sat_msat: We are using it correctly, with a field called
   xxx_msat.
2. json_add_amount_sats_deprecated: We were using it wrong, so deprecate
   the old field and create a new one which does end in _msat.
3. json_add_sats: we were using it to hand sats as a JSON parameter to an
   interface, where "XXXsat".

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-Deprecated: Plugins: `rbf_channel` and `openchannel2` hooks `their_funding` (use `their_funding_msat`)
Changelog-Deprecated: Plugins: `openchannel2` hook `dust_limit_satoshis` (use `dust_limit_msat`)
Changelog-Deprecated: Plugins: `openchannel` hook `funding_satoshis` (use `funding_msat`)
Changelog-Deprecated: Plugins: `openchannel` hook `dust_limit_satoshis` (use `dust_limit_msat`)
Changelog-Deprecated: Plugins: `openchannel` hook `channel_reserve_satoshis` (use `channel_reserve_msat`)
Changelog-Deprecated: Plugins: `channel_opened` notification `amount` (use `funding_msat`)
Changelog-Deprecated: JSON-RPC: `listtransactions` `msat` (use `amount_msat`)
Changelog-Deprecated: Plugins: `htlc_accepted` `forward_amount` (use `forward_msat`)
2022-06-21 06:52:35 +09:30
..
bitcoin
asynctest.py
badopeningd.sh
balance_snaps.py
broken.py
coin_movements.py
countdown.py
currencyUSDAUD5000.py
custom_notifications.py
custommsg_a.py
custommsg_b.py
dbdummy.py
dblog.py
dep_a.py
dep_b.py
dep_c.py
dep_d.py
dep_e.py
endlesswaitblockheight.py
fail_by_itself.py
fail_htlcs.py
fail_htlcs_invalid.py
feature-test.py
forward_payment_status.py
hold_htlcs.py
hold_invoice.py
hook-chain-even.py
hook-chain-odd.py
hook-crash.py
htlc_accepted-crash.py
htlc_accepted-failcode.py
htlc_accepted-failonion.py
Makefile
millisatoshis.py
misc_notifications.py json: fix up msat amounts in non-_msat fields. 2022-06-21 06:52:35 +09:30
notify.py
notify2.py
onionmessage-reply.py
openchannel_hook_accept.py
openchannel_hook_accepter.py json: fix up msat amounts in non-_msat fields. 2022-06-21 06:52:35 +09:30
openchannel_hook_reject.py
options.py
peer_connected_logger_a.py
peer_connected_logger_b.py
pretend_badlog.py
print_htlc_onion.py
reject.py
reject_odd_funding_amounts.py json: fix up msat amounts in non-_msat fields. 2022-06-21 06:52:35 +09:30
reject_some_invoices.py
replace_payload.py
rpc_command_1.py
rpc_command_2.py
selfdisable.py
sendpay_notifications.py
shortcircuit.py
show_feature_set.py
slow_init.py
slow_start.py
sphinx-receiver.py
static.py
suicidal_plugin.py
test_libplugin.c
test_selfdisable_after_getmanifest.c
utf8.py
watchtower.py