Add consensus and data integrity failsafe policy

User should be able to define number of in-consensus nodes for a particular method/request, for example:

projects:
  - id: main
    networks:
      - architecture: evm
        evm:
          chainId: 1
        failsafe:
          # ...
          consensus:
            # Total number of nodes that must be tried to fetch the data.
            # for example eth_getBlockByNumber to be fetch from 3 nodes.
            maxCount: 3
            # Minimum required nodes to consider the response accurate.
            # For example at least 2 nodes must return same block info.
            # For methods like eth_blockNumber it can mean at least 2 responses are needed and then pick the highest value.
            minCount: 2

Please authenticate to join the conversation.

Upvoters
Status

Completed

Board

πŸ’‘ eRPC

Date

Over 1 year ago

Author

Aram Alipoor

Subscribe to post

Get notified by email when there are changes.