farcaster-node icon indicating copy to clipboard operation
farcaster-node copied to clipboard

Make all cli messages serializable

Open TheCharlatan opened this issue 3 years ago • 4 comments

Output from the peers, ls and info commands are yaml serializable. Optimally, the progress messages should be too to make it easy for external applications to consume messages.

TheCharlatan avatar Dec 02 '21 17:12 TheCharlatan

Uhm, the way progress currently works it is not possible, but what kind of yaml output would you expect? In other words what would be the structure?

h4sh3d avatar Dec 02 '21 19:12 h4sh3d

There's no point working on this now, it's going to take too much time. We will have to refactor the progress workflow, there's no really good reason why this shouldn't work. Lets get your proposal in and then we can think about how it can be yaml'ified.

TheCharlatan avatar Dec 02 '21 20:12 TheCharlatan

The needs-funding messages can be made serializable once the amount serialization is available in monero-rs.

TheCharlatan avatar Apr 30 '22 22:04 TheCharlatan

Only funding info remains. Funding info can be tackled once a new monero-rs version is released and bumped here with the new serde serialization on the amount type.

TheCharlatan avatar Jun 16 '22 13:06 TheCharlatan