Verified Commit 2815f704 authored by sribst's avatar sribst

Shell:#74 DELETE bigger max bound to test

parent 4c7522d8
......@@ -27,7 +27,7 @@
module Bounded_encoding = struct
open Data_encoding
let block_header_max_size = ref (Some (8 * 1024 * 1024))
let block_header_max_size = ref (Some (4096 * 1024 * 1024))
(* FIXME: arbitrary *)
......@@ -54,13 +54,15 @@ module Bounded_encoding = struct
let block_locator = delayed (fun () -> !block_locator_cache)
(* FIXME: all constants below are arbitrary high bounds until we
have the mechanism to update them properly *)
let operation_max_size = ref (Some (128 * 1024)) (* FIXME: arbitrary *)
(* FIXME: all constants below are arbitrary high bounds until we have the
mechanism to update them properly *)
let operation_max_size = ref (Some (4096 * 1024)) (* FIXME: arbitrary *)
let operation_list_max_size = ref (Some (1024 * 1024)) (* FIXME: arbitrary *)
let operation_list_max_size = ref (Some (4048 * 1024)) (* FIXME: arbitrary *)
let operation_list_max_length = ref None (* FIXME: arbitrary *)
let operation_list_max_length = ref (Some (4048 * 1024))
(* FIXME: arbitrary *)
let operation_max_pass = ref (Some 8) (* FIXME: arbitrary *)
......@@ -128,7 +130,9 @@ module Bounded_encoding = struct
let operation_hash_list = delayed (fun () -> !operation_hash_list_cache)
let protocol_max_size = ref (Some (2 * 1024 * 1024)) (* FIXME: arbitrary *)
let protocol_max_size = ref (Some (4096 * 1024 * 1024))
(* FIXME: arbitrary *)
let protocol_cache =
ref (Protocol.bounded_encoding ?max_size:!protocol_max_size ())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment