AddressSet & Route #2637
mrinalwadhwa
started this conversation in
General & Learning
Replies: 1 comment 5 replies
-
AdressSet is a set, e.g. worker can be registered using set of addresses and will be responding to messages received to any of them. Route is consequent list of Addresses |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm reading the ockam_core crate today and I'm curious to understand the thoughts behind AddressSet & Route being two separate types, since they have very similar shape. @spacekookie @thomcc
https://github.com/ockam-network/ockam/blob/dbe2ad601fd6dbea9afb6cc85b4ae68793acadef/implementations/rust/ockam/ockam_core/src/routing/address.rs#L12-L14
https://github.com/ockam-network/ockam/blob/ee0b384ddd3548ae53675e30c5b91bea17ed7753/implementations/rust/ockam/ockam_core/src/routing/route.rs#L8-L12
Beta Was this translation helpful? Give feedback.
All reactions