Skip to content

Commit

Permalink
Enlarge space calculation to handle block #367853 with 12239 txs.
Browse files Browse the repository at this point in the history
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
  • Loading branch information
rustyrussell committed Dec 31, 2015
1 parent 341bd5d commit ad7b1bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions space.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
#include <ccan/tal/tal.h>
#include <assert.h>

/* Simple bump allocator: 2MB should be enough for 1MB blocks */
/* Simple bump allocator: 3MB should be enough for 1MB blocks */
struct space {
char buf[2 * 1024 * 1024];
char buf[3 * 1024 * 1024];
size_t off;
};

Expand Down

0 comments on commit ad7b1bf

Please sign in to comment.