sig
module Blockinfo :
sig
type key = int64
type t = Pfs_rpcapi_aux.blockinfo
val merge : t -> t -> t option
val split : key -> t -> t * t
end
module BlockRM :
sig
type point = int64
type key = point * point
type value = Pfs_rpcapi_aux.blockinfo
type t
val empty : t
val add : key -> value -> t -> t
val remove : key -> t -> t
val sub : key -> t -> t
val iter : (key -> value -> unit) -> t -> unit
val fold : (key -> value -> 'a -> 'a) -> t -> 'a -> 'a
val find : point -> t -> key * value
end
type blocklist = Nn_blocklist.BlockRM.t Plasma_util.StrMap.t
val to_blocklist : Pfs_rpcapi_aux.blockinfo list -> Nn_blocklist.blocklist
val to_blockinfo_list :
Nn_blocklist.blocklist -> Pfs_rpcapi_aux.blockinfo list
val to_string : Nn_blocklist.blocklist -> string
val empty_ticket : Pfs_rpcapi_aux.ticket
val empty : Nn_blocklist.blocklist
val sub : int64 * int64 -> Nn_blocklist.blocklist -> Nn_blocklist.blocklist
val remove :
int64 * int64 -> Nn_blocklist.blocklist -> Nn_blocklist.blocklist
val merge :
Nn_blocklist.blocklist ->
Nn_blocklist.blocklist -> Nn_blocklist.blocklist
val iter :
(string -> int64 * int64 -> Pfs_rpcapi_aux.blockinfo -> unit) ->
Nn_blocklist.blocklist -> unit
val fold :
(string -> int64 * int64 -> Pfs_rpcapi_aux.blockinfo -> 'a -> 'a) ->
Nn_blocklist.blocklist -> 'a -> 'a
val map :
(Pfs_rpcapi_aux.blockinfo -> Pfs_rpcapi_aux.blockinfo) ->
Nn_blocklist.blocklist -> Nn_blocklist.blocklist
val domain : Nn_blocklist.blocklist -> (int64 * int64) list
val cardinal : Nn_blocklist.blocklist -> int64
end