Skip to content

Disable miner loop completly? #1904

@ngotchac

Description

@ngotchac

It seems that even without --miner, bor is still trying to create new blocks with incoming transactions, and it takes roughly ~10% of our CPU.

Why can't we completely disable this? I understand it's needed for pending queries, however:

  1. One might not need/want to support pending queries (it's our case)
  2. We could create pending blocks in the fly for such requests, which is what geth is doing

This is linked to #1436

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions