Mavryk_base.MempoolMavryk Shell Module - Mempool, a.k.a. the operations safe to be broadcast.
type t = {known_valid : Mavryk_crypto.Hashed.Operation_hash.Set.t;Set of valid operations on top of the current head.
*)pending : Mavryk_crypto.Hashed.Operation_hash.Set.t;Set of known not-invalid operation.
*)}type mempool = tval encoding : mempool Data_encoding.tval bounded_encoding : ?max_operations:int -> unit -> mempool Data_encoding.tval empty : mempoolEmpty mempool.
val is_empty : mempool -> boolis_empty mempool returns true if and only if mempool is empty.
val cons_valid : Mavryk_crypto.Hashed.Operation_hash.t -> mempool -> mempoolcons_valid oph t prepends oph to the known_valid field of t.
val remove : Mavryk_crypto.Hashed.Operation_hash.t -> mempool -> mempoolRemove an operation from all the fields of a mempool.