Rusty Russell
d8c06dccac
global: expose all fmt_X functions for direct use, make uniform.
...
We have various functions to convert to a string, rename them all so we can
count on fmt_X being the formatter for struct X, and make them all return
`char *`.
Sometimes they existed but were private, sometimes they had a
different name. Most take a pointer, but simple types pass by copy:
short_channel_id, amount_msat and amount_sat.
The following public functions changed:
1. psbt_to_b64 -> fmt_wally_psbt.
2. pubkey_to_hexstr -> fmt_pubkey.
3. short_channel_id_to_str -> fmt_short_channel_id (scid by copy now!)
4. fmt_signature -> fmt_secp256k1_ecdsa_signature
5. fmt_amount_sat/fmt_amount_msat pass copy not pointer, return non-const char *.
6. node_id_to_hexstr -> fmt_node_id
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au >
2024-03-20 13:51:48 +10:30
..
2024-03-20 13:51:48 +10:30
2023-11-01 14:11:28 +10:30
2023-10-27 11:19:56 +10:30
2024-03-18 12:24:49 +10:30
2023-10-24 15:07:08 +10:30
2024-03-18 12:24:49 +10:30
2023-10-24 15:07:08 +10:30
2024-03-20 13:51:48 +10:30
2024-01-31 14:47:33 +10:30
2024-03-20 13:51:48 +10:30
2024-01-31 14:47:33 +10:30
2023-11-02 19:32:05 +10:30
2024-01-31 14:47:33 +10:30
2024-01-31 14:47:33 +10:30
2024-01-31 14:47:33 +10:30
2024-01-31 14:47:33 +10:30
2024-03-18 12:24:49 +10:30
2023-08-02 07:09:28 +09:30
2023-12-05 20:30:09 -06:00
2024-01-26 10:30:22 +10:30
2024-02-13 17:50:00 +01:00
2023-10-23 15:48:50 +10:30
2023-10-26 12:59:55 +10:30
2024-03-20 13:51:48 +10:30
2023-10-02 11:41:19 +10:30
2024-01-26 10:30:22 +10:30
2023-04-10 07:31:12 +09:30
2024-03-20 13:51:48 +10:30
2024-01-26 10:30:22 +10:30
2024-02-04 09:24:44 +10:30
2024-01-31 14:47:33 +10:30
2024-01-31 14:47:33 +10:30
2024-01-31 14:47:33 +10:30
2024-02-27 14:04:44 +01:00
2023-08-08 14:31:47 +09:30
2023-07-28 10:18:32 +09:30
2023-10-28 15:48:26 +10:30
2024-01-26 10:30:22 +10:30
2023-10-28 15:48:26 +10:30
2024-03-19 14:58:59 +10:30
2024-01-26 10:30:22 +10:30
2024-03-20 11:18:36 +10:30
2024-02-16 15:02:38 +01:00
2023-07-19 19:13:57 +09:30
2023-07-19 19:13:57 +09:30
2024-03-20 13:51:48 +10:30
2023-07-19 19:13:57 +09:30
2024-03-20 13:51:48 +10:30
2023-10-26 12:59:55 +10:30
2024-01-26 10:30:22 +10:30
2024-01-26 10:30:22 +10:30
2023-10-28 15:48:26 +10:30
2023-11-01 14:11:28 +10:30
2023-10-26 12:59:55 +10:30
2023-10-23 15:48:50 +10:30
2023-10-23 15:48:50 +10:30
2024-03-18 12:24:49 +10:30
2023-01-13 10:42:42 +10:30
2024-03-20 11:18:36 +10:30
2023-10-26 12:59:55 +10:30
2024-03-20 13:51:48 +10:30
2023-10-28 15:48:26 +10:30
2024-02-16 22:17:46 +01:00
2024-01-29 13:40:34 +10:30
2024-01-31 14:47:33 +10:30
2023-10-28 15:48:26 +10:30
2023-10-26 12:59:55 +10:30
2023-10-26 12:59:55 +10:30
2023-10-25 10:53:48 +02:00
2024-03-20 11:18:36 +10:30
2024-01-26 10:30:22 +10:30
2023-12-14 09:16:56 +10:30
2024-03-20 13:51:48 +10:30
2023-09-12 15:19:02 +09:30
2023-10-26 12:59:55 +10:30
2024-03-20 11:18:36 +10:30
2023-10-23 15:48:50 +10:30
2023-10-28 15:48:26 +10:30
2023-10-28 15:48:26 +10:30
2023-10-26 19:11:17 +10:30
2023-10-02 11:41:19 +10:30