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

Accessing node handle config from WakuNodeHandle #80

Open
pete-eiger opened this issue Oct 4, 2023 · 0 comments
Open

Accessing node handle config from WakuNodeHandle #80

pete-eiger opened this issue Oct 4, 2023 · 0 comments

Comments

@pete-eiger
Copy link
Contributor

pete-eiger commented Oct 4, 2023

Hello friends, for Graphcast SDK we would like to be able to access (read) the local Waku node configurations (a WakuNodeConfig struct) directly from a WakuNodeHandle instance.

For instance, here's how we would instantiate a handle:

let node_handle = waku_new(Some(node_config)).unwrap().start().unwrap();

Later on, we would like to be able to call node_handle.filter or node_handle.config.filter or any other relevant field.

Bonus: if you could add the Display trait to WakuNodeHandle that would help a lot with debugging

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

No branches or pull requests

1 participant