Skip to main content

Module upstream

Module upstream 

Source
Expand description

Actors to communicate with the upstream node.

Maintains a regular connection to an upstream node over websocker or in_process::Actor as an in-process actor working off of channels.

Modulesยง

actor ๐Ÿ”’
in_process
An upstream provider to be used in e2e tests The [jsonrpsee] stack used by the standard websocket based provider requires a tokio runtime, which the tests runtime does not provide.
ingress ๐Ÿ”’

Structsยง

Config ๐Ÿ”’
Mailbox
Mailbox to the Upstream actor to issue requests to.

Traitsยง

UpstreamActor
An actor that can be started with reporters that receive consensus RPC events.

Functionsยง

init ๐Ÿ”’