This is really cool, nice work! Was thinking about this today as a way to ingest but then save gossip related info into a database for easy historical records. Useful for testing, training or research across time. If you're thinking about this, playing around with diesel for a postgresql integration in rust would be useful to learn.
reply
Thanks.
I was also thinking about saving gossip but there are already people doing this and I am not sure it makes sense to duplicate the effort (https://github.com/lnresearch/topology) especially since it takes huge amounts of disk space. From this collection I was just able to download just a few days of samples but I suppose they have everything.
What would be cool to do with such data is then some ranking on nodes. Based on first NodeAnnouncement you could find out the exact age of a node. And then you could also calculate historical "uptime".
reply
Did a PoC and learned a bit of Rust on the way, happy about ideas how to extend it.
reply