Mempool: unbox Request message and clarify pp message
This commit is contained in:
parent
34e8a1ce1e
commit
e7a967376c
@ -155,7 +155,7 @@ module Make(Static: STATIC)(Proto: Registered_protocol.T)
|
|||||||
|
|
||||||
module Request = struct
|
module Request = struct
|
||||||
|
|
||||||
type 'a t = Validate : operation -> result t
|
type 'a t = Validate : operation -> result t [@@ocaml.unboxed]
|
||||||
|
|
||||||
type view = View : _ t -> view
|
type view = View : _ t -> view
|
||||||
|
|
||||||
@ -169,7 +169,7 @@ module Make(Static: STATIC)(Proto: Registered_protocol.T)
|
|||||||
operation_encoding
|
operation_encoding
|
||||||
|
|
||||||
let pp ppf (View (Validate { hash })) =
|
let pp ppf (View (Validate { hash })) =
|
||||||
Format.fprintf ppf "New parsed operation hash %a" Operation_hash.pp hash
|
Format.fprintf ppf "Validating new operation %a" Operation_hash.pp hash
|
||||||
end
|
end
|
||||||
|
|
||||||
module Event = struct
|
module Event = struct
|
||||||
|
Loading…
x
Reference in New Issue
Block a user