-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Developing and Conventions Building from Source
- Java 25 (required to build Besu)
- This was introduced in besu-eth/besu#10539.
- Git
- For macOS: macOS High Sierra 10.13 or later
- For Windows: Besu is currently supported only on 64-bit versions of Windows, and requires a 64-bit version of JDK/JRE.
git clone --recursive https://github.com/besu-eth/besu.git
cd besuIf you plan to submit PRs, fork besu-eth/besu in GitHub and set your remotes:
git remote -v
git remote rename origin upstream
git remote add origin https://github.com/<your-github-user>/besu.gitAfter this, upstream points to the main Besu repo and origin points to your fork.
./gradlew tasksBuild the distribution binaries:
./gradlew installDistShow help:
cd build/install/besu
./bin/besu --helpRun Besu with default options:
cd build/install/besu
./bin/besuRun Besu with custom options:
cd build/install/besu
./bin/besu --discovery-enabled=false --data-path=/tmp/besutmpTo run gradlew on Windows, set JAVA_HOME to your Java 25 installation directory. Example:
JAVA_HOME=C:\Program Files\Java\jdk-25
If you use WSL and run Besu with DNS discovery, see:
Use the common Gradle targets:
./gradlew build
./gradlew integrationTest
./gradlew acceptanceTest
./gradlew ethereum:referenceTests:referenceTestsFor more test guidance, see Developing and Conventions - Testing.
besu-eth/wiki and edits made here are overwritten on the next publish. To change a page, open a pull request against the source repo instead. See Home for how.
Contributing
Development & Testing
Developing & Conventions
Project Process
Governance
Incident Reports
- 2024-01-06 Mainnet Halting Event
- 2022-11-11 Fork on Sepolia
- 2022-05-30 Phishing PRs
- 2021-08-04 Value Transfer Public Transactions Rejected
- 2021-04-23 ATs Failures
Performance & Stability
- Improvements Since the Merge
- Memory Usage Investigations (23.7.3-RC)
- Reduce Memory Usage
- Testing Taskforce Brainstorming
- Q4 2022 Stability and Improvements
- Permissioned Chain Testing
Design Documents
- Design Documents
- Modular Besu
- Refactor EVM into a Standalone Library
- Bonsai Tries Design Overview
- Bonsai Archive Feature
- Bonsai Archive State Proofs
- Switchable Consensus Parameters
- SECP256R1 Support
- RPC Endpoint Service
- Feature Proposal Template
- Feature Flags
- CI/CD Tooling and Process
Programs & Mentorship