File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -42,4 +42,4 @@ pub const SIGNER_EPOCH_RECORDING_OFFSET: i64 = 1;
42
42
/// this is the same as the one in openapi.yml file.
43
43
/// If you want to update this version to reflect changes in the protocol,
44
44
/// please also update the entry in the openapi.yml
45
- pub const MITHRIL_API_VERSION : & str = "0.0.1 " ;
45
+ pub const MITHRIL_API_VERSION : & str = "0.1.0 " ;
Original file line number Diff line number Diff line change 4
4
# `mithril-aggregator/src/http_server/mod.rs` file. If you plan to update it
5
5
# here to reflect changes in the API, please also update the constant in the
6
6
# Rust file.
7
- version : 0.0.1
7
+ version : 0.1.0
8
8
title : Mithril Aggregator Server
9
9
description : |
10
10
The REST API provided by a Mithril Aggregator Node in a Mithril network.
28
28
summary : Get current epoch settings
29
29
description : |
30
30
Returns the information related to the current epoch:
31
- * protocol parameters for current epoch (to setup cryptography, allowing signers to register)
31
+ * protocol parameters for current epoch
32
+ * protocol parameters for next epoch (to setup cryptography, allowing signers to register)
32
33
responses :
33
34
" 200 " :
34
35
description : epoch settings found
@@ -238,17 +239,21 @@ components:
238
239
required :
239
240
- epoch
240
241
- protocol
242
+ - next_protocol
241
243
properties :
242
244
epoch :
243
245
description : Cardano chain epoch number
244
246
type : integer
245
247
format : int64
246
248
protocol :
247
249
$ref : " #/components/schemas/ProtocolParameters"
250
+ next_protocol :
251
+ $ref : " #/components/schemas/ProtocolParameters"
248
252
example :
249
253
{
250
254
" epoch " : 329,
251
- " protocol " : { "k": 857, "m": 6172, "phi_f": 0.2 }
255
+ " protocol " : { "k": 857, "m": 6172, "phi_f": 0.2 },
256
+ " next_protocol " : { "k": 2422, "m": 20973, "phi_f": 0.2 }
252
257
}
253
258
ProtocolParameters :
254
259
description : Protocol cryptographic parameters
You can’t perform that action at this time.
0 commit comments