Skip to content

Commit 2f3c64b

Browse files
committed
Define cardano_transactions_signing_config of AggregatorFeaturesMessage in openapi
1 parent 8c3a9b0 commit 2f3c64b

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

openapi.yaml

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -663,6 +663,25 @@ components:
663663
description: Maximum number of hashes allowed for a single request
664664
type: integer
665665
format: int64
666+
cardano_transactions_signing_config:
667+
description: |
668+
Cardano transactions signing configuration
669+
670+
Mandatory if `signed_entity_types` contains `CardanoTransactions`.
671+
type: object
672+
additionalProperties: false
673+
required:
674+
- security_parameter
675+
- step
676+
properties:
677+
security_parameter:
678+
description: Number of blocks to discard from the tip of the chain when importing Cardano transactions
679+
type: integer
680+
format: int64
681+
step:
682+
description: Number of blocks between signature of Cardano transactions
683+
type: integer
684+
format: int64
666685
example:
667686
{
668687
"open_api_version": "0.1.17",
@@ -676,7 +695,12 @@ components:
676695
"CardanoTransactions"
677696
],
678697
"cardano_transactions_prover":
679-
{ "max_hashes_allowed_by_request": 100 }
698+
{ "max_hashes_allowed_by_request": 100 },
699+
"cardano_transactions_signing_config":
700+
{
701+
"security_parameter": 100,
702+
"step": 10
703+
}
680704
}
681705
}
682706

0 commit comments

Comments
 (0)