From 8761ce4691d3fb593804563ab4a5fedf17a88852 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Sun, 15 Nov 2020 18:01:47 -0800 Subject: [PATCH] Document feature-set field in getVersion --- docs/src/developing/clients/jsonrpc-api.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/src/developing/clients/jsonrpc-api.md b/docs/src/developing/clients/jsonrpc-api.md index 4a6dccb0ee..1c0a973ee6 100644 --- a/docs/src/developing/clients/jsonrpc-api.md +++ b/docs/src/developing/clients/jsonrpc-api.md @@ -2553,12 +2553,15 @@ None The result field will be a JSON object with the following fields: - `solana-core`, software version of solana-core +- `feature-set`, unique identifier of the current software's feature set #### Example: Request: ```bash -curl http://localhost:8899 -X POST -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","id":1, "method":"getVersion"}' +curl http://localhost:8899 -X POST -H "Content-Type: application/json" -d ' + {"jsonrpc":"2.0","id":1, "method":"getVersion"} +' ``` Result: