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
Conversation
0c291f3
to
3bcb617
Compare
3bcb617
to
2419332
Compare
2419332
to
8e96730
Compare
8c303ec
to
c31875b
Compare
… refactor/rename-uid-to-network-seed
There was a problem hiding this 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) |
There was a problem hiding this comment.
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?
There was a problem hiding this 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
@@ -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`]. |
There was a problem hiding this comment.
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?
… refactor/rename-uid-to-network-seed
Summary
TODO: