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

add: addrman-observer support #338

Merged

Conversation

0xB10C
Copy link
Contributor

@0xB10C 0xB10C commented Apr 11, 2024

Adds an addrman-observer service and tests. While the addrman-observer front-end is still WIP, it should be usable for warnet.

On the frontend, you should be able to add ?url=<tank_id> to load the addrman of that tank. The same thing should also work with the fetch from URL and tank names.

@0xB10C
Copy link
Contributor Author

0xB10C commented Apr 11, 2024

I just saw #325, which changes the way the fork-observer config is written. Should this be used here too?

@0xB10C 0xB10C force-pushed the 2024-04-add-addrman-observer branch from 52801fc to 46b3d86 Compare April 11, 2024 14:10
@0xB10C
Copy link
Contributor Author

0xB10C commented Apr 11, 2024

Using http://localhost:23005/?url=0 with test/data/services.graphml works, but the addrman is empty as there is only a single node in that graph.

if "grafana" in self.services:
self.write_grafna_config()
self.write_grafana_config()
Copy link
Contributor

Choose a reason for hiding this comment

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

thank you! ;-)

@pinheadmz
Copy link
Contributor

Had to zoom waaaaay in but there they are!

Screenshot 2024-06-04 at 2 43 17 PM

@pinheadmz
Copy link
Contributor

Ok this is great thanks

@pinheadmz pinheadmz merged commit 0e16f9e into bitcoin-dev-project:main Jun 4, 2024
13 checks passed
@willcl-ark
Copy link
Contributor

🥳

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.

3 participants