Crate mining_proxy_sv2

Source

Modules§

downstream_mining
error
upstream_mining

Structs§

Config
UpstreamMiningValues

Enums§

ChannelKind

Statics§

ROUTING_LOGIC
Panic whene we are looking one of this 2 global mutex would force the proxy to go down as every part of the program depend on them. SAFTEY note: we use global mutable memory instead of a dedicated struct that use a dedicated task to change the mutable state and communicate with the other parts of the program via messages cause it is impossible for a task to panic while is using one of the two below Mutex. So it make sense to use shared mutable memory to lower the complexity of the codebase and to have some performance gain.

Functions§

get_common_routing_logic
get_routing_logic
initialize_r_logic
initialize_upstreams