Commit graph

2 commits

Author SHA1 Message Date
Ken Sedgwick
56f405f063 Improve the ConstructedListpeers handling diagnostics
Hopefully this pattern will prove useful in future debugging
improvements.
2024-07-16 16:01:56 -07:00
Ken Sedgwick
0bd255ce1b Convert ListpeerResult to use ConstructedListpeers
Construct a "compatibility struct" to convert `listpeerchannels`
output into legacy `listpeers` format.

Tests written using the legacy listpeers format can use the
`convert_legacy_listpeers` utility to construct a compatibility
struct.

The test_peerjudge_datagatherer malformed test needed to be malformed
differently to achieve the desired effect.
2024-06-02 16:19:56 -07:00