Commit 3fa93bb3 authored by Cédric Moreau's avatar Cédric Moreau

HTTP API: keychain/parameters should return the currency name

parent d9d6570c
......@@ -75,6 +75,7 @@ function KeychainBinding (wotServer) {
this.parameters = function (req, res) {
res.send(200, JSON.stringify({
"currency": conf.currency,
"sigDelay": conf.sigDelay,
"sigValidity": conf.sigValidity,
"sigQty": conf.sigQty,
......
......@@ -60,7 +60,6 @@ Data is made accessible through an HTTP API mainly inspired from [OpenUDC_exchan
| | `-- [NUMBER]
| `-- current
|-- network/
| |-- parameters
| |-- pubkey
| |-- peering
| | |-- forward
......@@ -344,6 +343,7 @@ GET the keychain parameters used by this node.
The synchronization parameters.
```json
{
"currency": "beta_brousouf",
"sigDelay": 157680000,
"sigValidity": 31536000,
"sigQty": 5,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment