Commit graph

8 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
Ken Sedgwick
2c7ce2f5b9 remove references to the "private" field of listpeers channel info
Fixes issue ([#193])

Changelog-Fixed: Removed references to deprecated "private" field of channel info returned from API.
2024-04-16 16:37:27 -07:00
Ken Sedgwick
60c07a7d66 Handle JSON-RPC msat amounts in either the old or new conventions 2023-08-18 20:29:21 -07:00
ZmnSCPxj jxPCSnmZ
3c0cd53e1d Boss/Mod/NodeBalanceSwapper.cpp: Fix case where we should still swap even at high fees due to having almost no incoming capacity. 2021-11-17 12:43:27 +08:00
ZmnSCPxj jxPCSnmZ
508a9d2354 Boss/Mod/NodeBalanceSwapper.cpp: Change the calculation of sendable and receivable. 2020-11-17 17:00:44 +08:00
ZmnSCPxj jxPCSnmZ
b78b753c45 Boss/Mod/NodeBalanceSwapper.cpp: Change status key name. 2020-10-01 17:25:01 +08:00
ZmnSCPxj jxPCSnmZ
123b78110a Boss/Mod/NodeBalanceSwapper.cpp: Module to get incoming capacity. 2020-09-30 09:56:58 +08:00