You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're not using actor paths in the code base, instead we pass around actor references. Btw I'm not sure if that's really a best practice, given that in theory we should let them crash which would invalidate their reference.
Instead, we're using the Register which keeps a map of channeld/shortChannelId/nodeId -> ActorRef.
I believe we could instead optimistically use actor paths, and catch unhandled messages in order to send back the appropriate error to the sender. See https://stackoverflow.com/a/23911129.
Might be simpler? Needs prototyping...
The text was updated successfully, but these errors were encountered:
We're not using actor paths in the code base, instead we pass around actor references. Btw I'm not sure if that's really a best practice, given that in theory we should let them crash which would invalidate their reference.
Instead, we're using the
Register
which keeps a map ofchanneld
/shortChannelId
/nodeId
->ActorRef
.I believe we could instead optimistically use actor paths, and catch unhandled messages in order to send back the appropriate error to the sender. See https://stackoverflow.com/a/23911129.
Might be simpler? Needs prototyping...
The text was updated successfully, but these errors were encountered: