Skip to content
  • Niklas Adolfsson's avatar
    rpc server: make possible to disable/enable batch requests (#3364) · fee810a5
    Niklas Adolfsson authored
    The rationale behind this, is that it may be useful for some users
    actually disable RPC batch requests or limit them by length instead of
    the total size bytes of the batch.
    
    This PR adds two new CLI options:
    
    ```
    --rpc-disable-batch-requests - disable batch requests on the server
    --rpc-max-batch-request-len <LEN> - limit batches to LEN on the server.
    ```
    fee810a5