Integration_test_lib.Gossip_statemodule By_direction : sig ... endmodule type Set = sig ... endtype t = {node_id : string; |
blocks : Event_type.Gossip.Block.r Set.t By_direction.t; |
transactions : Event_type.Gossip.Transactions.r Set.t By_direction.t; |
snark_work : Event_type.Gossip.Snark_work.r Set.t By_direction.t; |
}val to_yojson : t -> Yojson.Safe.tval _ : t -> Yojson.Safe.tval snark_work : t -> Event_type.Gossip.Snark_work.r Set.t By_direction.tval transactions : t -> Event_type.Gossip.Transactions.r Set.t By_direction.tval blocks : t -> Event_type.Gossip.Block.r Set.t By_direction.tval node_id : t -> stringmodule Fields : sig ... endval create : string -> tval add :
t ->
'a Event_type.Gossip.With_direction.t Event_type.t ->
('a0 * Event_type.Gossip.Direction.t) ->
unitval stats :
'a Event_type.Gossip.With_direction.t Event_type.t ->
t list ->
exclusion_list:string list ->
[> `Seen_by_all of int ] * [> `Seen_by_some of int ]val consistency_ratio :
'a Event_type.Gossip.With_direction.t Event_type.t ->
t list ->
exclusion_list:string list ->
float