Gossip_net.Libp2pmodule Connection_with_state : sig ... endmodule Config : sig ... endmodule type S = sig ... endval download_seed_peer_list :
Uri.t ->
Mina_net2.Multiaddr.t list Async_kernel__Deferred.ttype publish_functions = {publish_v0 : Gossip_net__Message.Master.T.msg -> unit Async.Deferred.t; |
publish_v1_block : Mina_block.t -> unit Async.Deferred.t; |
publish_v1_tx : Network_pool.Transaction_pool.Resource_pool.Diff.t ->
unit Async.Deferred.t; |
publish_v1_snark_work : Network_pool.Snark_pool.Resource_pool.Diff.t ->
unit Async.Deferred.t; |
}val empty_publish_functions : publish_functionsval validate_gossip_base :
fn:
( ('a Network_peer.Envelope.Incoming.t * Mina_net2.Validation_callback.t) ->
unit Async.Deferred.t ) ->
Network_peer.Peer.Id.t ->
'a Network_peer.Envelope.Incoming.t ->
Mina_net2.Validation_callback.t ->
unit Async.Deferred.tval on_gossip_decode_failure :
Config.t ->
'a Network_peer.Envelope.Incoming.t ->
Core.Error.t ->
unit