Document feature-set field in getVersion

This commit is contained in:
Michael Vines 2020-11-15 18:01:47 -08:00
parent bcd303a447
commit 8761ce4691
1 changed files with 4 additions and 1 deletions

View File

@ -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: