Mavryk_shell_services.Preapply_result
type 'error t = {
applied : (Mavryk_base.TzPervasives.Operation_hash.t * Mavryk_base.Operation.t)
list;
Applied operations
*)refused : (Mavryk_base.Operation.t * 'error list)
Mavryk_base.TzPervasives.Operation_hash.Map.t;
Refused operations, for example because of an invalid signature
*)outdated : (Mavryk_base.Operation.t * 'error list)
Mavryk_base.TzPervasives.Operation_hash.Map.t;
Outdated operations, for example a late endorsement
*)branch_refused : (Mavryk_base.Operation.t * 'error list)
Mavryk_base.TzPervasives.Operation_hash.Map.t;
Branch refused operations, for example because of insufficient balance
*)branch_delayed : (Mavryk_base.Operation.t * 'error list)
Mavryk_base.TzPervasives.Operation_hash.Map.t;
Branch delayed operations, for example because of a timestamp in the future
*)}
A container for classified operations
val encoding :
'error list Mavryk_base.TzPervasives.Data_encoding.t ->
'error t Mavryk_base.TzPervasives.Data_encoding.t
encoding err_enc t
, where err_enc
is the encoding for errors, * returns an encoding for t