From 21e9f1138667a5bb3d0c55cbbb0a6291f6a69a4d Mon Sep 17 00:00:00 2001 From: lightclient <14004106+lightclient@users.noreply.github.com> Date: Thu, 20 Jul 2023 08:42:17 -0600 Subject: [PATCH] Remove mining namespace (#430) remove mining namespace --- src/eth/mining.yaml | 64 --------------------------------------------- 1 file changed, 64 deletions(-) delete mode 100644 src/eth/mining.yaml diff --git a/src/eth/mining.yaml b/src/eth/mining.yaml deleted file mode 100644 index 5512d84d..00000000 --- a/src/eth/mining.yaml +++ /dev/null @@ -1,64 +0,0 @@ -- name: eth_mining - summary: Returns whether the client is actively mining new blocks. - params: [] - result: - name: Mining status - schema: - title: miningStatus - type: boolean -- name: eth_hashrate - summary: Returns the number of hashes per second that the node is mining with. - params: [] - result: - name: Mining status - schema: - title: Hashrate - $ref: '#/components/schemas/uint' -- name: eth_getWork - summary: Returns the hash of the current block, the seedHash, and the boundary condition to be met (“target”). - params: [] - result: - name: Current work - schema: - type: array - items: - - title: Proof-of-work hash - $ref: '#/components/schemas/bytes32' - - title: seed hash - $ref: '#/components/schemas/bytes32' - - title: difficulty - $ref: '#/components/schemas/bytes32' -- name: eth_submitWork - summary: Used for submitting a proof-of-work solution. - params: - - name: nonce - required: true - schema: - $ref: '#/components/schemas/bytes8' - - name: hash - required: true - schema: - $ref: '#/components/schemas/bytes32' - - name: digest - required: true - schema: - $ref: '#/components/schemas/bytes32' - result: - name: Success - schema: - type: boolean -- name: eth_submitHashrate - summary: Used for submitting mining hashrate. - params: - - name: Hashrate - required: true - schema: - $ref: '#/components/schemas/bytes32' - - name: ID - required: true - schema: - $ref: '#/components/schemas/bytes32' - result: - name: Success - schema: - type: boolean