oxen-core
oxen-core copied to clipboard
service nodes should use lokinet rpc to expose storage server port
as a service node we already have or should have a omq rpc connection to lokinet made by lokinet, we should send rpc commands to lokinet to tell it about storage server ports so it can expose them via plainquic and additionally in the near future put srv records into our lokinet RC.
this requires knowing which connection to send the command to, we can tell it was a lokinet because the connection sent a lokinet ping via it. we should keep track of which admin rpc connections go to what so we can have core query them and push events.
related lokinet issue: https://github.com/oxen-io/loki-network/issues/1586