Skip to content
Snippets Groups Projects
Commit d5aec5cd authored by David Stainton's avatar David Stainton
Browse files

ud: add docstring to StartChannelNameService

parent e56dd13e
No related branches found
No related tags found
6 merge requests!510Release,!419rewrote the health tracker to both consider if there are waiting rounds and...,!371[Channel RSAtoPrivate] Implement Reverse Asymmetric in Client/Broadcast,!354Channels impl,!340Project/channels,!338Xx 4055/channel identity tracking
...@@ -303,6 +303,10 @@ func (c *clientIDTracker) requestChannelLease() (int64, []byte, error) { ...@@ -303,6 +303,10 @@ func (c *clientIDTracker) requestChannelLease() (int64, []byte, error) {
return resp.Lease, resp.UDLeaseEd25519Signature, err return resp.Lease, resp.UDLeaseEd25519Signature, err
} }
// StartChannelNameService creates a new clientIDTracker
// and returns a reference to it's type as the NameService interface.
// However it's scheduler thread isn't started until it's Start
// method is called.
func (m *Manager) StartChannelNameService() NameService { func (m *Manager) StartChannelNameService() NameService {
udPubKeyBytes := m.user.GetCmix().GetInstance().GetPartialNdf().Get().UDB.DhPubKey udPubKeyBytes := m.user.GetCmix().GetInstance().GetPartialNdf().Get().UDB.DhPubKey
var service NameService var service NameService
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment