Segregate the error that occurs while attempting to build a Circuit through tor_circmgr::CircuitBuilder
Currently, we have erpc-scanner
module within the application that handles the attempt of creating a two hop circuit, through the CircuitBuilder
. We consider ANY error produced while trying to create a Circuit through this CircuitBuilder
as a possible partition of the those two relay involved in the two hop circuit.
So, sometimes in the future we might need to segregate these errors at tor_circmgr::Error produced by CircuitBuilder
, and filter out which error's actually mean that the two relay's just CANT COMMUNICATE, kind of segregating from errors similar to failed to build the first hop, which i believe doesn't matter because we're only interested in if those two relays can communicate or not i.e can the first relay extend the circuit to second relay?