Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sc-14482: Create NamespaceContact #996

Merged
merged 3 commits into from
Apr 12, 2023
Merged

sc-14482: Create NamespaceContact #996

merged 3 commits into from
Apr 12, 2023

Conversation

DanielSollis
Copy link
Contributor

Scope of changes

Adds Contacts to wire.Namespaces (as noted in the shortcut story, code sections where it is unclear if updates are needed are marked with the comment: "// ???")

Type of change

  • bug fix
  • new feature
  • documentation
  • other (describe)

Acceptance criteria

Describe how reviewers can test this change to be sure that it works correctly. Add a checklist if possible

Author checklist

  • I have manually tested the change and/or added automation in the form of unit tests or integration tests
  • I have updated the dependencies list
  • I have recompiled and included new protocol buffers to reflect changes I made
  • I have added new test fixtures as needed to support added tests
  • Check this box if a reviewer can merge this pull request after approval (leave it unchecked if you want to do it yourself)
  • I have moved the associated Shortcut story to "Ready for Review"

Reviewer(s) checklist

  • Any new user-facing content that has been added for this PR has been QA'ed to ensure correct grammar, spelling, and understandability.

@DanielSollis DanielSollis changed the title initial work sc-14482: Create NamespaceContact Apr 11, 2023
Copy link
Collaborator

@pdeziel pdeziel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@@ -830,6 +830,7 @@ func gossipMigrate(c *cli.Context) (err error) {
// Utility Functions
//===========================================================================

// ???
var namespaces = [5]string{
wire.NamespaceVASPs,
wire.NamespaceCerts,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can add the new namespace here.

@@ -3,6 +3,7 @@ package trtl
import "github.com/trisacrypto/directory/pkg/utils/wire"

// TODO: need functionality to actually extract namespaces from db
// ???
const (
NamespacePeers = wire.NamespaceReplicas
NamespaceIndex = wire.NamespaceIndices
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can add it here.

@DanielSollis DanielSollis merged commit 4b2596c into main Apr 12, 2023
@DanielSollis DanielSollis deleted the sc-14482 branch April 12, 2023 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants