Skip to content

Commit 64b61a7

Browse files
aldousalvarezpetermetz
authored andcommitted
fix(security): close DDoS vulnerability in eth tx consistenty strategy
Fixes #2001 Signed-off-by: aldousalvarez <[email protected]>
1 parent f328dd8 commit 64b61a7

File tree

2 files changed

+2
-0
lines changed
  • packages
    • cactus-plugin-ledger-connector-besu/src/main/json
    • cactus-plugin-ledger-connector-xdai/src/main/json

2 files changed

+2
-0
lines changed

packages/cactus-plugin-ledger-connector-besu/src/main/json/openapi.json

+1
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,7 @@
369369
"blockConfirmations": {
370370
"type": "integer",
371371
"minimum": 0,
372+
"maximum": 20000,
372373
"description": "The number of blocks to wait to be confirmed in addition to the block containing the transaction in question. Note that if the receipt type is set to only wait for node transaction pool ACK and this parameter is set to anything, but zero then the API will not accept the request due to conflicting parameters."
373374
}
374375
}

packages/cactus-plugin-ledger-connector-xdai/src/main/json/openapi.json

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
"blockConfirmations": {
3535
"type": "integer",
3636
"minimum": 0,
37+
"maximum": 20000,
3738
"description": "The number of blocks to wait to be confirmed in addition to the block containing the transaction in question. Note that if the receipt type is set to only wait for node transaction pool ACK and this parameter is set to anything, but zero then the API will not accept the request due to conflicting parameters."
3839
},
3940
"pollIntervalMs" : {

0 commit comments

Comments
 (0)