Danno Ferrin 0810b73ee3 Refactor BlockHashOperation block height check into Operation (#8091)
* Refactor BlockHashOperation block height check into Operation

Refactor the 4 different places block height is checked across Besu into
the BlockHashOperation. Add support to make the lookback range
configurable in the BlockHashLookup interface, but default it to 256.

Signed-off-by: Danno Ferrin <danno@numisight.com>

* spotless

Signed-off-by: Danno Ferrin <danno@numisight.com>

* javadoc

Signed-off-by: Danno Ferrin <danno@numisight.com>

* Update Unit Tests to use the operation.

Signed-off-by: Danno Ferrin <danno@numisight.com>

* Update Unit Tests to use the operation.

Signed-off-by: Danno Ferrin <danno@numisight.com>

---------

Signed-off-by: Danno Ferrin <danno@numisight.com>
2025-01-13 15:51:11 +00:00
2025-01-07 16:25:02 +10:00
2024-10-15 12:47:41 +10:00
2024-10-21 09:49:06 +00:00
2024-10-15 12:47:41 +10:00
2024-10-15 12:47:41 +10:00
2022-04-08 13:16:42 +10:00
2021-02-01 16:00:16 -07:00
2024-10-31 02:54:11 +00:00
2023-10-13 15:08:04 +10:00
2024-06-05 10:21:02 +10:00
2024-10-31 08:09:22 +00:00
2024-10-31 08:09:22 +00:00

Besu Ethereum Client

CircleCI Documentation CII Best Practices License Discord Twitter Follow

Download

Besu is an Apache 2.0 licensed, MainNet compatible, Ethereum client written in Java.

Issues

Besu issues are tracked in the github issues tab. See our guidelines for more details on searching and creating issues.

If you have any questions, queries or comments, Besu channel on Discord is the place to find us.

Besu Users

To install the Besu binary, follow these instructions.

Besu Developers

Development

Instructions for how to get started with developing on the Besu codebase. Please also read the wiki for more details on how to submit a pull request (PR).

Release Notes

Release Notes

Special thanks

YourKit for providing us with a free profiler open source license.

YourKit supports open source projects with innovative and intelligent tools for monitoring and profiling Java and .NET applications. YourKit is the creator of YourKit Java Profiler, YourKit .NET Profiler, and YourKit YouMonitor.

YourKit Logo

Description
No description provided
Readme Apache-2.0 96 MiB
Languages
Java 99.7%
Shell 0.2%