painless-security / trust-router

Moonshot Trust Router
0 stars 0 forks source link

Add show rp_clients command (pull request 9) #57

Closed jennifer-richards closed 6 years ago

jennifer-richards commented 6 years ago

This is pull request 9 of 10. See note on #49.

This pull request adds the JSON encoders and other code needed to process show rp_clients requests.

Part of this is JSON encoders for the TR_FILTER and its substructs. This is reused to add filters in the response to the show peers command as well.