Skip to content

Conversation

@m4sterbunny
Copy link
Contributor

Description

Implements no-brainers and adds comments where need to discuss per #1875

Issue(s) fixed

Fixes #1875

Preview

Signed-off-by: m4sterbunny <harrie.bickle-ext@consensys.net>
Signed-off-by: m4sterbunny <harrie.bickle-ext@consensys.net>
@m4sterbunny m4sterbunny requested a review from a team as a code owner November 28, 2025 13:33
@vercel
Copy link

vercel bot commented Nov 28, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
besu-docs Ready Ready Preview Comment Nov 28, 2025 1:33pm

Copy link
Contributor

@macfarla macfarla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added some comments.

Returns the client coinbase address. The coinbase address is the account to pay mining rewards to.
To set a coinbase address, start Besu with the `--miner-coinbase` option set to a valid Ethereum account address. You can get the Ethereum account address from a client such as MetaMask or Etherscan. For example:
:::note
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

eth_coinbase RPC has also been removed so can we delete this whole section

:::
Mining required a recipient address which was set using the, now deprecated, `--miner-coinbase`. This is now non-configurable and systems which still maintain `miner_start` auto assign this address.
:::
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would be inclined to remove miner_start and miner_stop RPCs as well since they are likely to be removed from the codebase shortly

To start a single node for testing with metrics enabled, run the following command:

<!-- can I remove the --miner-enabled --miner-coinbase flags -->

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes please

## Non-configurable defaults

- `miner-enabled` defaults to `true`.
- `miner-coinbase` defaults to the local node.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI Clique mining (block production) is also deprecated, which means you'll be able to sync existing clique networks but not be a validator or start new Clique networks.

I don't think you need to add these lines about the non-configurable defaults but if you want to include it, I'd use words rather than the CLI option names since they have actually been removed.

Clique uses the local node's address for the coinbase, and mining is enabled by default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove PoW CLI options

3 participants