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

refactor(uid): rename uid to network_seed #1493

Merged
merged 7 commits into from Jul 21, 2022

Conversation

jost-s
Copy link
Contributor

@jost-s jost-s commented Jul 19, 2022

Summary

TODO:

  • CHANGELOG(s) updated with appropriate info
  • Just before pressing the merge button, ensure new entries to CHANGELOG(s) are still under the UNRELEASED heading

@jost-s jost-s force-pushed the refactor/rename-uid-to-network-seed branch from 0c291f3 to 3bcb617 Compare July 19, 2022 19:40
@jost-s jost-s force-pushed the refactor/rename-uid-to-network-seed branch from 3bcb617 to 2419332 Compare July 19, 2022 19:54
@jost-s jost-s force-pushed the refactor/rename-uid-to-network-seed branch from 2419332 to 8e96730 Compare July 19, 2022 20:22
@jost-s jost-s requested a review from maackle July 19, 2022 22:15
@jost-s jost-s force-pushed the refactor/rename-uid-to-network-seed branch from 8c303ec to c31875b Compare July 20, 2022 19:51
@jost-s jost-s marked this pull request as ready for review July 20, 2022 19:52
Copy link
Member

@maackle maackle 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!

/// The DNA hash in turn determines the network peers and the DHT, meaning
/// that only peers with the same DNA hash of a shared DNA participate in the
/// same network and co-create the DHT. To create a separate DHT for the DNA,
/// a unique network seed can be specified.
// TODO: consider Vec<u8> instead (https://github.com/holochain/holochain/pull/86#discussion_r412689085)
Copy link
Member

Choose a reason for hiding this comment

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

Anyone think we can take this TODO out now?

Copy link
Contributor

@Connoropolous Connoropolous left a comment

Choose a reason for hiding this comment

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

I wouldn't block this with request changes, but I have a suggestion for changelog items

crates/hc_bundle/CHANGELOG.md Outdated Show resolved Hide resolved
@@ -14,8 +14,8 @@ pub type IntegrityZomes = Vec<(ZomeName, zome::IntegrityZomeDef)>;
/// Ordered list of coordinator zomes in this DNA.
pub type CoordinatorZomes = Vec<(ZomeName, zome::CoordinatorZomeDef)>;

/// Placeholder for a real UID type
pub type Uid = String;
/// Placeholder for a real network seed type. See [`DnaDef`].
Copy link
Contributor

Choose a reason for hiding this comment

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

out of curiousity, can anyone say what a "real network seed" is or would be?

@jost-s jost-s enabled auto-merge (squash) July 21, 2022 15:30
@jost-s jost-s merged commit 29f7cf5 into develop Jul 21, 2022
@jost-s jost-s deleted the refactor/rename-uid-to-network-seed branch July 21, 2022 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants