Module roles_logic_sv2::selectors
source · Expand description
Selectors are used from the routing logic in order to chose to which remote or set of remotes a message should be ralyied, or to which remote or set of remotes a message should be sent.
Structs§
- Upstream selector is used to chose between a set of known mining upstream nodes which one/ones can accept messages from a specific mining downstream node
- A DownstreamMiningSelector that do nothing. Useful when ParseDownstreamCommonMessages or ParseUpstreamCommonMessages must be implemented in very simple application (eg for test puorposes)
- A DownstreamMiningSelector useful for routing messages in a mining proxy
Traits§
- Implemented by a selector used by an upstream mining node or and upstream mining node abstraction in order to find the right downstream to which a message should be sent or relayied