Skip to content

Add mine_block RPC endpoint #1420

@zone117x

Description

@zone117x

Add an authenticated/development/localhost RPC endpoint to force a block mine. See evm_mine eth RPC for inspiration.

Development and testing environments needs more control of blockchain progression -- examples:

  • A public regtest explorer with a faucet, contract deploy, and contract call playground endpoints; I want this environment to perform regular mining at something like 0.5-10 minute intervals, but have submitted transactions trigger an immediate mine.
  • An integration testing environment that needs fine-grained control over tx minting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Status: 🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions