mirror of
https://github.com/monero-project/monero-docs.git
synced 2024-12-22 19:49:22 +00:00
daemon-rpc: get_version missing params
This commit is contained in:
parent
300135bda0
commit
0fba393c33
1 changed files with 13 additions and 0 deletions
|
@ -1407,6 +1407,10 @@ Inputs: _None_ .
|
||||||
|
|
||||||
Outputs:
|
Outputs:
|
||||||
|
|
||||||
|
- _current_height_ - unsigned int; blockheight.
|
||||||
|
- _hard_forks_ - array of unsigned int.
|
||||||
|
- _height_ - unsigned int;
|
||||||
|
- _hf_version_ - unsigned int; hard fork version.
|
||||||
- _release_ - boolean; States if the daemon software version corresponds to an official tagged release (`true`), or not (`false`)
|
- _release_ - boolean; States if the daemon software version corresponds to an official tagged release (`true`), or not (`false`)
|
||||||
- _status_ - string; General RPC error code. "OK" means everything looks good.
|
- _status_ - string; General RPC error code. "OK" means everything looks good.
|
||||||
- _untrusted_ - boolean; States if the result is obtained using the bootstrap mode, and is therefore not trusted (`true`), or when the daemon is fully synced and thus handles the RPC locally (`false`)
|
- _untrusted_ - boolean; States if the result is obtained using the bootstrap mode, and is therefore not trusted (`true`), or when the daemon is fully synced and thus handles the RPC locally (`false`)
|
||||||
|
@ -1421,11 +1425,20 @@ $ curl http://127.0.0.1:18081/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"g
|
||||||
"id": "0",
|
"id": "0",
|
||||||
"jsonrpc": "2.0",
|
"jsonrpc": "2.0",
|
||||||
"result": {
|
"result": {
|
||||||
|
"current_height": 3019446,
|
||||||
|
"hard_forks": [{
|
||||||
|
"height": 1,
|
||||||
|
"hf_version": 1
|
||||||
|
} ... {
|
||||||
|
"height": 2689608,
|
||||||
|
"hf_version": 16
|
||||||
|
}],
|
||||||
"release": true,
|
"release": true,
|
||||||
"status": "OK",
|
"status": "OK",
|
||||||
"untrusted": false,
|
"untrusted": false,
|
||||||
"version": 196613
|
"version": 196613
|
||||||
}
|
}
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue