lightning/tests
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
..
data hsmd/db: backfill pubkey information so that psbts signing works 2020-07-29 13:13:46 +02:00
fuzz check-includes: allow redundant "config.h" 2021-02-04 12:02:36 +10:30
plugins plugin: Fix the custommsg hook not to include the internal prefix 2021-03-02 14:41:16 +10:30
vectors pytest: Add tests for the sphinx onion generation and processing 2020-03-12 10:25:01 +10:30
benchmark.py py-tests: rename 'announce' to 'wait_for_announce' 2018-12-08 15:15:55 -08:00
conftest.py pytest: silence pytest warnings about unregistered 'slow_test' marker 2020-11-10 16:17:04 -06:00
db.py pytest: Have the DB provider search for the postgres binary 2019-09-22 02:03:43 +00:00
fixtures.py pytest: Really only check DB statements if the env-var is "1" 2021-01-04 11:25:50 +01:00
test_closing.py pytest: Stabilize test_onchain_feechange 2021-02-11 09:48:55 +01:00
test_connection.py pytest: test fee estimates which start working after channel establishment. 2021-03-02 13:34:55 +10:30
test_db.py pytest: Rename all fund_channel to fundchannel 2020-09-25 21:04:56 +02:00
test_gossip.py lightningd: addgossip API to inject gossip messages. 2021-02-02 13:44:01 +01:00
test_invoices.py invoice: add ctlv option. 2021-01-08 10:45:56 +01:00
test_misc.py plugin: Fix the custommsg hook not to include the internal prefix 2021-03-02 14:41:16 +10:30
test_onion.py pytest: Actually make sure that the direcory exists 2020-03-24 09:52:33 +10:30
test_pay.py offers: handle re-fetching the same invoice twice. 2021-02-25 14:44:03 +10:30
test_plugin.py plugin: log self-disable at debug level, other manifest fails at unusual. 2021-03-01 12:16:42 +01:00
test_wallet.py fund/utxopsbt: flag 'excess_as_change' to add a change output for excess 2021-02-04 13:25:34 -06:00
utils.py lightningd: control onion messages by experimental-onion-messages option. 2021-01-13 14:45:36 +01:00