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

Review types in config #376

Open
yanganto opened this issue Jun 9, 2023 · 0 comments
Open

Review types in config #376

yanganto opened this issue Jun 9, 2023 · 0 comments

Comments

@yanganto
Copy link
Collaborator

yanganto commented Jun 9, 2023

Take node_alias for example in #368, a good config should be

pub struct Host {
   node_aliase: [u8; 32],
}
pub struct HostConfig {
   node_aliase_string: Option<String>,
   node_aliase_hex_str: Option<String>,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants