Skip to content

circ: Add a HANDLE() to circuit_t

Overall better to start using handles instead of map lookup by GID which only works for origin circuit.

A HANDLE in the circuit_t object would allow us for instance to put in the circuit reference into a pubsub message instead of its raw pointer that could be freed during a mainloop event preceding the pubsub callback(s).

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information