mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 21:35:11 +01:00
gossipd: temporarily allow giant messages
We push a huge msg for listchannels with the million-channels project. We need to fix that, but this works around it so we can benchmark. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
f8f6533dba
commit
6f59d4deb5
@ -6,7 +6,8 @@
|
||||
#include <ccan/short_types/short_types.h>
|
||||
|
||||
/* We don't allow > 64M msgs: enough for 483 64k failure msgs. */
|
||||
#define WIRE_LEN_LIMIT (1 << 26)
|
||||
/* FIXME: Too big, but allows the million-channels project at 327077670 bytes */
|
||||
#define WIRE_LEN_LIMIT (1 << 29)
|
||||
|
||||
typedef be32 wire_len_t;
|
||||
#define wirelen_to_cpu be32_to_cpu
|
||||
|
Loading…
Reference in New Issue
Block a user