Essentially I am looking for some method, e.g. using Python, that I can get results equivalent to the print_pl
command that is run inside the daemon.
I.e. I don't want to have to run the daemon to see the contents of p2pstate.bin
in human readable form.
Any ideas on how to read the data in the file? I am not sure the formatting of this binary file to decode.
The reason is, I am interested in reading/parsing many different p2pstate.bin files in an automated way. Specifically I want the IP address and last_seen fields from the file.