Alpha: use distinct quota for anonymous_operation
This commit is contained in:
parent
040ac648eb
commit
a41d553162
@ -18,9 +18,10 @@ let max_block_length =
|
||||
Alpha_context.Block_header.max_header_length
|
||||
|
||||
let validation_passes =
|
||||
Updater.[ { max_size = 32 * 1024 ; max_op = None } ; (* 32kB FIXME *)
|
||||
{ max_size = 32 * 1024 ; max_op = None } ; (* 32kB FIXME *)
|
||||
{ max_size = 1024 * 1024 ; max_op = None } ] (* 1MB *)
|
||||
Updater.[ { max_size = 32 * 1024 ; max_op = Some 32 } ; (* 32kB FIXME *)
|
||||
{ max_size = 32 * 1024 ; max_op = None } ; (* 32kB FIXME *)
|
||||
{ max_size = 32 * 1024 ; max_op = Some 32 } ; (* 32kB FIXME *)
|
||||
{ max_size = 1024 * 1024 ; max_op = None } ] (* 1MB *)
|
||||
|
||||
let rpc_services = Services_registration.get_rpc_services ()
|
||||
|
||||
|
@ -433,10 +433,10 @@ let parse (op: Operation.t) =
|
||||
|
||||
let acceptable_passes op =
|
||||
match op.contents with
|
||||
| Anonymous_operations _
|
||||
| Sourced_operations (Consensus_operation _) -> [0]
|
||||
| Sourced_operations (Amendment_operation _ | Dictator_operation _) -> [1]
|
||||
| Sourced_operations (Manager_operations _) -> [2]
|
||||
| Anonymous_operations _ -> [2]
|
||||
| Sourced_operations (Manager_operations _) -> [3]
|
||||
|
||||
type error += Invalid_signature (* `Permanent *)
|
||||
type error += Missing_signature (* `Permanent *)
|
||||
|
Loading…
Reference in New Issue
Block a user