Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

feat(providers): add mining related apis #2008

Merged
merged 3 commits into from
Jan 4, 2023

Conversation

Rjected
Copy link
Contributor

@Rjected Rjected commented Jan 4, 2023

Motivation

In reth, we will be using a clique geth instance to produce blocks, which we will then peer with and test IBD / sync. To get geth to produce blocks after importing a clique signing key, we need to enable the miner.

Solution

Add support for the following APIs:

  • eth_mining
  • miner_start
  • miner_stop

The miner namespace is also enabled in Geth.

PR Checklist

  • Added Tests
  • Added Documentation
  • Updated the changelog
  • Breaking changes

@gakonst gakonst merged commit 5f24765 into gakonst:master Jan 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants