From 87767b181d643e27f0b66e0ca04c5939775a69f3 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/apps/jsonrpc-api.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/src/apps/jsonrpc-api.md b/docs/src/apps/jsonrpc-api.md index d261c44193..a53056eadf 100644 --- a/docs/src/apps/jsonrpc-api.md +++ b/docs/src/apps/jsonrpc-api.md @@ -2553,11 +2553,14 @@ 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: ```bash -curl -X POST -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","id":1, "method":"getVersion"}' http://localhost:8899 +curl http://localhost:8899 -X POST -H "Content-Type: application/json" -d ' + {"jsonrpc":"2.0","id":1, "method":"getVersion"} +' ``` Result: