bitcoin-dev-project / warnet

Monitor and analyze the emergent behaviors of Bitcoin networks
https://warnet.dev
MIT License
59 stars 27 forks source link

add: addrman-observer support #338

Open 0xB10C opened 1 month ago

0xB10C commented 1 month ago

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 commented 1 month ago

I just saw https://github.com/bitcoin-dev-project/warnet/pull/325, which changes the way the fork-observer config is written. Should this be used here too?

0xB10C commented 1 month ago

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.