Lighthouse's default branch is stable, its Docker image is one binary, and its consensus tests are parameterised by fork name
Ethereum consensus client in Rust
At a glance
- What is it?
- sigp/lighthouse is Sigma Prime's Apache-2.0 Ethereum consensus client written in Rust, at v8.2.3 with a v8.3.0 release candidate and the last push on 2026-10-02. The build files carry the useful detail: six selectable database backends, a hard fork list that drives the test matrix through a make variable, cross-compilation targets including RISC-V, and a container that ships a single binary.
- Who is it for?
- Lighthouse is a serious reference implementation of a consensus client, and the parts that make it usable as a reference are the same parts that make it risky to run casually: two permanent branches, a large workspace of small crates, and a test matrix keyed to named hard forks. If you want to read it, start from the stable branch and treat the unstable one as the source of truth for current work.
- Can I use it commercially?
- Yes. Apache-2.0 is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
- Is it still maintained?
- Yes. The repository received new commits within the last day.
- What is it written in?
- Mainly Rust, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 23, 2026, and from our analysis. They are not legal advice.
Star history
- sigp/lighthouse3,499 ★ · +24
| Repository | 2026-09-24 | 2026-11-23 |
|---|---|---|
| sigp/lighthouse | 3.5k | 3.5k |
24 Stars in the last 60 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
The default branch is stable, so an unqualified clone gives you a release
Lighthouse keeps two permanent branches, and the README explains both.
`stable` always points to the latest stable release, and the file calls it ideal for most users. `unstable` is used for development, contains the latest pull requests, and is where developers should base their work.
What makes this arrangement worth reading twice is that `stable` is the default branch of the repository. A clone with no arguments gives you the tip of the last release rather than the tip of development.
That is the opposite of the usual convention, where the default branch is the moving one and releases are cut from it. It is a good fit for a client where operators should not be pulling unreleased consensus code, and it means the default clone is a release snapshot rather than a work tree.
For a contributor it changes the first command: base your branch on `unstable`, not on what you get by default. For a reader it changes what you are looking at: the default branch already contains whatever fixes the last release shipped, and nothing after it.
The container is a builder stage and one binary on Ubuntu 24.04
There are three Dockerfiles in the repository root, one of them explicitly for cross-compilation and one named for reproducibility. The plain one is short enough to read in full.
The builder starts from a pinned Rust image, 1.88.0 on the Bookworm Debian base, and installs cmake and the Clang development headers, which the BLS and other cryptographic crates need to build. Two build arguments are threaded through the environment, the feature list and the cargo profile, and a third argument switches the cargo git fetch to the command line client.
The build step uses BuildKit cache mounts for both the cargo registry and the target directory, then runs make. Caching the registry separately from the compiled output is what makes a rebuild of an unchanged dependency graph cheap.
The runtime stage is Ubuntu 24.04 with two packages installed under a no-install-recommends flag, the OpenSSL development files and the certificate authorities, and then a single copy: the lighthouse binary from the builder into /usr/local/bin.
So the container is one executable plus a TLS stack and a trust store. Everything else that was needed to build it stays in the discarded builder stage, which is the right shape for a client that has to be reproducible.
Six database backends sit behind cargo feature flags
The cross-compilation feature list in the Makefile is the most information-dense line in the build configuration, and it splits cleanly into two groups:
`gnosis,slasher-lmdb,slasher-mdbx,slasher-redb,beacon-node-leveldb,beacon-node-redb`
Three engines for the slasher and two for the beacon node store. The slasher keeps historical attestations for slashing detection and is the component that wants an embedded database with transactional guarantees; the beacon node store keeps the chain state and the block store.
So the project supports three database engines in one component and two in the other, selectable at compile time, with no runtime configuration switching between them. That is a defensible choice for a system where the database layer sits under consensus-critical state and you would rather not discover a driver problem at run time.
It also means the dependency graph you compile is not the same for every build. The list is overridable through the environment, so a build for one platform or one deployment can drop a backend, and the CI feature list is a separate variable from the cross one.
The workspace itself is split the same way. The Cargo manifest lists around sixty members, most of them leaf utilities under common/ and consensus/, plus a beacon node divided into more than a dozen crates covering the chain, the processor, the execution layer, the store, the network and the HTTP surfaces.
Consensus tests are parameterised by a hard fork list in a make variable
Fork names in this project are not documentation; they are test parameters.
The Makefile defines a list of recent hard forks as `fulu gloas`, and a second list of forks before the most recent one, which is just `fulu`. That second list is annotated as being for tests that do not support Gloas yet, which tells you Gloas is the newest fork the code knows about.
A third variable, for network tests, prepends `phase0` to the full list, with a comment explaining why: to cover genesis syncing, described as blocks without blobs or columns. So the same test target runs against a different set of forks depending on whether it is a state transition test or a network test.
Several test suites are named as variables, including the specification test suite, the state transition vectors and an execution engine integration suite. Alongside them sit two feature variables, one for the specification tests and one for the test run in general, and a profile variable that defaults to release.
The practical consequence is that you select the fork coverage of a test run from the environment rather than from a command line argument, and that supporting a new fork is a change to a make variable as well as to the code.
Cross-compilation targets include RISC-V
Three target triples are named in the Makefile, with a build path variable for each.
`x86_64-unknown-linux-gnu` and `aarch64-unknown-linux-gnu` are the two you would expect for a Linux client. The third is `riscv64gc-unknown-linux-gnu`.
The gc suffix is the RISC-V profile name, so this is not a generic RISC-V target but the general-purpose profile with the compressed and small-float extensions enabled. That is the profile a server or a workstation class machine would use.
The cross-compilation route itself is declared in a separate Cross.toml file and there is a dedicated Dockerfile for it, which is the pattern used by the cross tool to run the compiler in a container rather than requiring a local toolchain for each target.
For a consensus client, building for three architectures matters more than it would for an application. Node operators run single-board computers and ARM servers, and a client that only builds for two architectures is not runnable on half the hardware its users have.
The features list applied to a cross build is overridable, and CI overrides the profile separately from local builds, which is how you get a release-architecture build for testing without shipping debug artefacts.
The documentation badge says the book is unstable
The badge row at the top of the README has four entries and one of them is worth reading closely.
There is a chat badge pointing at Discord, and a book status badge. The book status badge reads as user documentation, unstable, informational, and it links to the Lighthouse Book.
So the project labels its own documentation unstable in the header, while the branches section describes the stable branch as the one most users should take. Those two statements sit about twenty lines apart and point in opposite directions.
The README's response to that is to route everything to the book: documentation for users and developers is there, contribution instructions are a section of the book, and the README itself carries no configuration, no command and no operational detail.
The blog is the third channel, described as carrying periodic progress updates, roadmap insights and interesting findings.
There is a fourth channel too, and it is a mailing list for release, network status and other important notifications, reachable through a short link, plus a PGP key published on Keybase with its fingerprint listed for encrypting sensitive messages.
That last detail is the one to note if you are evaluating how a project handles coordination during an incident: the sensitive channel is documented with a key and a fingerprint.
Two Ethereum addresses and one of them is a protocol constant
Two hexadecimal addresses appear in this README and they are not interchangeable.
The first is in its own section, which states that the Lighthouse team acknowledges a specific address as the canonical staking deposit contract address. That is a protocol constant: the address validators send funds to, and getting it wrong is unrecoverable.
The second is in the donations section, an address with an ENS-style name beside it, for contributing to the project.
They are formatted differently and the difference is informative. The donation address is written with mixed case, which is the EIP-55 checksum encoding. The deposit contract address is written in mixed case in the prose and in all lowercase in the link target pointing at a block explorer, and those two renderings do not match each other character for character.
Since the underlying value is the same twenty bytes either way, this is a display inconsistency rather than a different contract. But in a file where a reader might copy an address, it is the kind of inconsistency worth pausing over.
The acknowledgement itself is also unusual phrasing. A project does not usually state which contract address it recognises as canonical unless the question has come up, which suggests the section documents a resolved ambiguity rather than announcing a product.
Release codenames are wordplay, and two tags landed hours apart
The three most recent releases are named, and the naming convention is worth a look.
v8.2.2 is Mr. Meeseeks. v8.2.3 is Kirkland Meeseeks. v8.3.0-rc.0 is Warp Rick.
All three are variations on characters whose defining trait is a sudden departure: the professor who vanishes at the end of the Futurama episode he is named for, and the captain who is a hologram and does not survive his ship. The patch release is the joke told twice, since 8.2.2 and 8.2.3 share a name with a distinguishing first name.
That is a small thing, and it is the kind of detail that makes a changelog memorable. It also means the release notes carry a codename rather than a bare version, which is worth knowing if you script anything against the tag list.
The timing is the other fact. v8.2.3 was tagged on 2026-10-01 at 02:15 and v8.3.0-rc.0 at 04:47 the same day, two and a half hours apart, so a patch and the next minor's release candidate shipped together. The last push to the default branch is dated 2026-10-02, the day after both.
The funding note in the README is more prosaic: the project names its funders, which are Sigma Prime, the Ethereum Foundation, Consensys, the Decentralization Foundation and private individuals.
Editorial conclusion
Lighthouse is a serious reference implementation of a consensus client, and the parts that make it usable as a reference are the same parts that make it risky to run casually: two permanent branches, a large workspace of small crates, and a test matrix keyed to named hard forks. If you want to read it, start from the stable branch and treat the unstable one as the source of truth for current work. If you want to run it, read the book rather than the README, because the README says nothing about configuration and its own badge says the book is unstable.
Frequently asked questions
What is the Lighthouse Ethereum client?
An open-source Ethereum consensus client written in Rust, licensed under Apache 2.0 and maintained by Sigma Prime. It is described as ready for use on Ethereum consensus mainnet, fuzzed continuously, and subject to several external security reviews.
Which Lighthouse branch should I use?
The stable branch, which always points to the latest stable release and is described as ideal for most users. The unstable branch is for development and holds the latest pull requests, and contributors should base their work on it. The stable branch is the repository default.
How do I install the Lighthouse client?
The Makefile installs the binary with `cargo install --path lighthouse --force --locked`, passing a feature list and a cargo profile. A Dockerfile is also provided, which builds on a pinned Rust image and copies the single lighthouse binary onto an Ubuntu 24.04 base.
Which databases can Lighthouse store its data in?
The slasher supports three engines selected by cargo feature, LMDB, MDBX and redb, while the beacon node store supports two, leveldb and redb. The list is set through the cross-compilation features variable and can be overridden from the environment.
How does Lighthouse test across hard forks?
Through make variables. One lists the recent forks as fulu and gloas, one lists the forks before the newest for tests that do not support it, and the network test list prepends phase0 to cover genesis syncing. Test suites are named as variables and their feature lists are set from the environment.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/sigp-lighthouse)Star history chart for your README
[](https://hysenlabs.com/projects/sigp-lighthouse)Was this useful?