Crate mining_proxy_sv2

source ·

Modules§

Structs§

Enums§

Statics§

  • 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§