rgb-cln/tests
Rusty Russell 9a575a98a0 gossipd: simplify large reply code.
We used to create the entire reply, the if it was too big, split in
half and retry.

Now that the main network is larger, this always happens with a full
request, which is inefficient.

Instead, produce a reply assuming no compression, then compress as a
bonus.  This is simpler and more efficient, at cost of sending more
packets.

I also renamed an internal dev var to make it clearer.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2020-11-09 17:37:10 -06:00
..
data hsmd/db: backfill pubkey information so that psbts signing works 2020-07-29 13:13:46 +02:00
fuzz fuzz: add a runner Python script for fuzz targets 2020-10-21 19:34:39 +02:00
plugins pytest: test that we maintain load order unless hook deps require a change. 2020-11-09 15:22:33 -06:00
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: Pass result to fixtures and keep directories of failed tests 2018-08-07 00:54:19 +00:00
db.py pytest: Have the DB provider search for the postgres binary 2019-09-22 02:03:43 +00:00
fixtures.py pytest: Verification mode of expanded stmts for the db_write hook 2020-10-10 11:34:43 +10:30
test_closing.py close: add notification for slow closes. 2020-10-23 13:53:16 +10:30
test_connection.py openingd/: Fail `fundchannel_start` if we already are, or will become, the fundee. 2020-11-07 17:18:49 +00:00
test_db.py pytest: Rename all fund_channel to fundchannel 2020-09-25 21:04:56 +02:00
test_gossip.py gossipd: simplify large reply code. 2020-11-09 17:37:10 -06:00
test_invoices.py tests,fundchannel: return the result from the fundchannel rpc call 2020-10-16 13:51:57 +10:30
test_misc.py tx,bugfix: correct signature length estimate 2020-10-21 11:24: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 lightningd: note whether payment secret is used or not. 2020-10-28 12:03:14 +01:00
test_plugin.py pytest: make test_hook_dep tests more stable. 2020-11-09 15:22:33 -06:00
test_wallet.py tx,bugfix: correct signature length estimate 2020-10-21 11:24:16 +10:30
utils.py pytest: allow variable-order coin_moves, and give more information on failure. 2020-09-08 10:14:42 +09:30