core-lightning/wallet
Christian Decker ebb1b19c65 plugin: Fix the custommsg hook not to include the internal prefix
We were always prefixing the `message` field with the internal type
prefix 0x0407, followed by the length prefix. Neither is needed since
the type being constant is of no interest to the plugin and the length
being implicit due to the JSON-encoding.

Reported-by: Ilya Evdokimov
Changelog-Fixed: plugin: The `custommsg` hook no longer includes the internal type prefix and length prefix in its `payload`
Changelog-Deprecated: plugin: The `message` field on the `custommsg` hook is deprecated in favor of the `payload` field, which skips the internal prefix.
2021-03-02 14:41:16 +10:30
..
test plugin: Fix the custommsg hook not to include the internal prefix 2021-03-02 14:41:16 +10:30
.gitignore wallet: Create and manage a sqlite3 database for the wallet 2017-06-06 09:16:10 +09:30
db_common.h allow building without sqlite3 2020-08-30 12:44:56 +02:00
db_postgres_sqlgen.c plugin: Fix the custommsg hook not to include the internal prefix 2021-03-02 14:41:16 +10:30
db_postgres.c Makefile: make check-includes check all the non-generated files. 2020-10-22 12:14:34 +10:30
db_sqlite3_sqlgen.c plugin: Fix the custommsg hook not to include the internal prefix 2021-03-02 14:41:16 +10:30
db_sqlite3.c Makefile: make check-includes check all the non-generated files. 2020-10-22 12:14:34 +10:30
db.c db: Set the failonion on channel_htlcs if is is not set 2021-02-25 11:06:22 +10:30
db.h db: add helper for db_col_psbt 2020-10-20 12:50:31 +10:30
invoices.c invoice: handle bolt12 strings if EXPERIMENTAL_FEATURES. 2020-12-15 12:05:02 +01:00
invoices.h invoice: add an optional local_offer_id. 2020-12-15 12:05:02 +01:00
Makefile Makefile: fix bashism in NO_PYTHON 2020-10-26 21:28:36 -05:00
reservation.c reservations: add weight of fee-output to weight calculation 2021-02-04 13:25:34 -06:00
statements_gettextgen.po plugin: Fix the custommsg hook not to include the internal prefix 2021-03-02 14:41:16 +10:30
txfilter.c common: tal_dup_talarr() helper. 2020-02-27 14:16:16 +10:30
txfilter.h pubkey: rename PUBKEY_DER_LEN to PUBKEY_CMPR_LEN. 2019-04-09 12:37:16 -07:00
wallet.c offers: make 'used' flag more useful. 2021-02-25 14:44:03 +10:30
wallet.h offers: make 'used' flag more useful. 2021-02-25 14:44:03 +10:30
walletrpc.c Added spent option to listfunds 2020-12-22 13:00:02 +01:00
walletrpc.h common: pull up param_psbt 2020-10-20 12:50:31 +10:30